Sam Hocevar
|
9819425ba0
|
math: replace RandF() with a more generic rand() template function
that lets us draw integer random values too.
|
hace 12 años |
Sam Hocevar
|
39a8c26fb5
|
base: start removing occurrences of NULL on our long journey to nullptr.
|
hace 12 años |
Sam Hocevar
|
bb28344eb7
|
build: fix compiler warnings and Linux and PS3 build issues.
|
hace 12 años |
Sam Hocevar
|
e086100292
|
base: add some minor randomness to the main Ticker.
|
hace 12 años |
Sam Hocevar
|
b221629ae0
|
base: start being more aggressive in the error reportings; most error
messages in the Ticker class are now full asserts.
|
hace 12 años |
Benjamin ‘Touky’ Huet
|
c7219ff1dd
|
New year copyright update.
|
hace 12 años |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
hace 12 años |
Sam Hocevar
|
5f137d077c
|
debug: add minor debug messages to the ticker, ensure LOL_DEBUG and
LOL_RELEASE are set by msbuild, and use the debug PSGL on the PS3.
|
hace 12 años |
Sam Hocevar
|
3829380c3c
|
core: revert unfinished commit that wasn't really interesting.
|
hace 12 años |
Sam Hocevar
|
0b7c51b992
|
ofsdiofisdoifods
|
hace 12 años |
Sam Hocevar
|
51bf8067a9
|
gpu: get rid of the glClearColor, glClearDepth and glClear calls in all
projects, we now use Video::SetClearColor, Video::SetClearDepth and
Video::Clear instead, so that the Direct3D equivalents can be called.
|
hace 12 años |
Sam Hocevar
|
400c75a69c
|
core: clamp deltatime to 15 fps to avoid erratic behaviour.
|
hace 12 años |
Sam Hocevar
|
456dbe134e
|
core: make the IO thread exit cleanly.
|
hace 12 años |
Sam Hocevar
|
b4b2019efc
|
core: the IO thread tweak needn't be PS3-specific.
|
hace 12 años |
Sam Hocevar
|
4c6b4b9e14
|
core: display names for entities that forget to call Entity::Tick*.
|
hace 12 años |
Sam Hocevar
|
9a95a8ec30
|
ps3: fix CPU and stack size performance issues on the PS3.
|
hace 12 años |
Sam Hocevar
|
23a55c53fe
|
core: workaround for systems that don't like thread exiting early.
|
hace 12 años |
Sam Hocevar
|
c035a1c2b7
|
core: fix a few build warnings and remove useless operators from the
"half" class. The build is now 3% faster.
|
hace 12 años |
Sam Hocevar
|
bfada5d920
|
core: move some of the camera view logic from the Video class to the
Scene and Camera classes.
|
hace 13 años |
Sam Hocevar
|
90bfc79b22
|
core: tick methods now use seconds, like any sane system.
|
hace 13 años |
Sam Hocevar
|
fbaf32f1b9
|
core: make timers second-based rather than millisecond-based.
|
hace 13 años |
Sam Hocevar
|
db728e48fe
|
threads: change Queue to a template so that we can manage the element type.
|
hace 13 años |
Sam Hocevar
|
2ef212be53
|
core: throw out the idea of a disk thread, let's seem what comes from it.
|
hace 13 años |
Sam Hocevar
|
b2d73f6310
|
core: prefix Entity members with m_ to avoid accidental shadowing.
|
hace 13 años |
Sam Hocevar
|
dfdbbfdfc0
|
gl: cache viewport size on all platforms, because we cannot query it from
the game thread.
|
hace 13 años |
Sam Hocevar
|
0161879a84
|
core: try to merge Ticker and Emcee. Still not very good.
|
hace 13 años |
Sam Hocevar
|
10b321b204
|
core: get rid of now useless <cstdio> includes.
|
hace 14 años |
Sam Hocevar
|
1e5624d551
|
core: create a logger class to reduce printf usage.
|
hace 14 años |
Sam Hocevar
|
8848cf53db
|
Put everything in the "lol" namespace. Better late than never.
|
hace 14 años |
Sam Hocevar
|
4df4ba3a78
|
Get rid of the SHADER_CRAP macro and use LOL_EXPERIMENTAL instead,
together with the --enable-experimental flag. Use LOL_DEBUG and
LOL_RELEASE instead of the previous values.
|
hace 14 años |
Sam Hocevar
|
2c2b38db41
|
Make font objects use the TileSet system and fix the text objects' Z offset.
Fixes tickets #19 and #24.
|
hace 14 años |
Sam Hocevar
|
1e83987676
|
Get rid of benchmarking mode, it's useless: Ticker::Setup(0) does the same.
|
hace 14 años |
Sam Hocevar
|
eec2eb7a9a
|
Add a recording mode to Ticker that ensures fixed deltatime even when
lagging behind.
|
hace 14 años |
Sam Hocevar
|
016a5ec38b
|
Add a benchmark mode to the ticker.
|
hace 14 años |
Sam Hocevar
|
c5aea027b9
|
Store the requested FPS in the Ticker class.
|
hace 14 años |
Sam Hocevar
|
0297a2b195
|
The client application no longer needs to call Video::Clea().
|
hace 14 años |
Sam Hocevar
|
66ab1860ef
|
Add more error reporting to the Tiler and the Ticker.
|
hace 14 años |
Sam Hocevar
|
cfb7d32d2e
|
More aggressive ticker panic mode.
|
hace 14 años |
Sam Hocevar
|
4db2c0c6fe
|
Reduce error verbosity when entities are stuck at exit.
|
hace 14 años |
Sam Hocevar
|
bc63934531
|
Add a safeguard mechanism that gets rid of stuck entities upon shutdown.
|
hace 14 años |
Sam Hocevar
|
4c278a0895
|
Change the way the Scene object works.
|
hace 14 años |
Sam Hocevar
|
0ed566d3cc
|
Complete Lol Engine / Deus Hax / Monsterz split.
|
hace 14 años |
Sam Hocevar
|
ad3128405a
|
Put HUD objects back on front of the scene.
|
hace 14 años |
Sam Hocevar
|
54a05e0c2c
|
Allow for different priorities in game and draw tick levels.
|
hace 14 años |
Sam Hocevar
|
d5ffa9fe4f
|
Properly implement program termination, including in the GTK program.
|
hace 14 años |
Sam Hocevar
|
c1851f2c2b
|
Store the frame number in the Ticker instead of duplicating the information
in each class that uses it.
|
hace 14 años |
Sam Hocevar
|
57a0cb5102
|
Refactor stuff.
|
hace 14 años |
Sam Hocevar
|
988f7c2885
|
Replace mouse scrolling with a joystick simulated by the e/s/d/f keys.
|
hace 14 años |
Sam Hocevar
|
50e4f67254
|
Get the timer to talk milliseconds instead of seconds.
|
hace 14 años |
Sam Hocevar
|
4d63ad6ada
|
Rename "asset" to "entity". It's way cooler.
|
hace 14 años |