Sam Hocevar
|
7dba2ff3a1
|
base: use ptrdiff_t for array and string sizes and some other things.
|
il y a 10 ans |
Sam Hocevar
|
fe665f85b4
|
base: strip core.h from its contents and put it in public/private headers.
|
il y a 10 ans |
Sam Hocevar
|
3862ad59dc
|
base: going on a lowercase rampage; today’s victim: Array.
|
il y a 10 ans |
Sam Hocevar
|
8d99eb3715
|
base: fix some typos that prevented disabling asserts.
|
il y a 10 ans |
Sam Hocevar
|
da6b3d5cd0
|
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
|
il y a 10 ans |
Benjamin ‘Touky’ Huet
|
b1fbc0259f
|
Added Mask & StickyTime to Draw Debug
|
il y a 11 ans |
Benlitz
|
c1da4619f7
|
input: renamed xinput keys to something more human readable (such as A or DPadLeft) and inverted mouse Y axis to match joystick axis (negatives being up)
core: calling InitGame() at the first tick of an entity. InitDraw is still uncalled yet
fixed mrpigeon and orbital accordingly
|
il y a 11 ans |
Sam Hocevar
|
f193bc2caa
|
scene: break text rendering again so that 2D games work properly...
|
il y a 11 ans |
Sam Hocevar
|
aab8ecfd3e
|
core: fix grave logic bugs in the entity ticker.
|
il y a 11 ans |
Sam Hocevar
|
a65c0b7749
|
ticker: replace linked lists wih dynamic arrays for entity groups.
|
il y a 11 ans |
Sam Hocevar
|
ad8144f0e8
|
scene: use a global g_scene object instead of Scene::GetDefault().
|
il y a 11 ans |
Sam Hocevar
|
13fb52cebe
|
gpu: move Video::Clear to Renderer::Clear.
|
il y a 11 ans |
Sam Hocevar
|
1b213612a5
|
gpu: handle depth test, alpha blending and face culling in Renderer.
|
il y a 11 ans |
Sam Hocevar
|
98f8246323
|
build: lol-build now passes flags to configure, and configure now uses
optimisation flag -Os instead of -O3.
|
il y a 11 ans |
Sam Hocevar
|
a6e65e3e0c
|
base: don’t wait for next frame on Emscripten builds.
|
il y a 12 ans |
Sam Hocevar
|
f852e8d7e1
|
build: a lot more emscripten build fixes.
|
il y a 12 ans |
Sam Hocevar
|
edffeb6d2e
|
base: refactor Ticker so that it may one day work without threads.
|
il y a 12 ans |
Sam Hocevar
|
9819425ba0
|
math: replace RandF() with a more generic rand() template function
that lets us draw integer random values too.
|
il y a 12 ans |
Sam Hocevar
|
39a8c26fb5
|
base: start removing occurrences of NULL on our long journey to nullptr.
|
il y a 12 ans |
Sam Hocevar
|
bb28344eb7
|
build: fix compiler warnings and Linux and PS3 build issues.
|
il y a 12 ans |
Sam Hocevar
|
e086100292
|
base: add some minor randomness to the main Ticker.
|
il y a 12 ans |
Sam Hocevar
|
b221629ae0
|
base: start being more aggressive in the error reportings; most error
messages in the Ticker class are now full asserts.
|
il y a 12 ans |
Benjamin ‘Touky’ Huet
|
c7219ff1dd
|
New year copyright update.
|
il y a 12 ans |
Sam Hocevar
|
d6634da83f
|
build: fix the WTFPL site URL in all code comments.
|
il y a 12 ans |
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.
|
il y a 12 ans |
Sam Hocevar
|
3829380c3c
|
core: revert unfinished commit that wasn't really interesting.
|
il y a 12 ans |
Sam Hocevar
|
0b7c51b992
|
ofsdiofisdoifods
|
il y a 12 ans |
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.
|
il y a 12 ans |
Sam Hocevar
|
400c75a69c
|
core: clamp deltatime to 15 fps to avoid erratic behaviour.
|
il y a 12 ans |
Sam Hocevar
|
456dbe134e
|
core: make the IO thread exit cleanly.
|
il y a 12 ans |
Sam Hocevar
|
b4b2019efc
|
core: the IO thread tweak needn't be PS3-specific.
|
il y a 12 ans |
Sam Hocevar
|
4c6b4b9e14
|
core: display names for entities that forget to call Entity::Tick*.
|
il y a 12 ans |
Sam Hocevar
|
9a95a8ec30
|
ps3: fix CPU and stack size performance issues on the PS3.
|
il y a 12 ans |
Sam Hocevar
|
23a55c53fe
|
core: workaround for systems that don't like thread exiting early.
|
il y a 12 ans |
Sam Hocevar
|
c035a1c2b7
|
core: fix a few build warnings and remove useless operators from the
"half" class. The build is now 3% faster.
|
il y a 12 ans |
Sam Hocevar
|
bfada5d920
|
core: move some of the camera view logic from the Video class to the
Scene and Camera classes.
|
il y a 13 ans |
Sam Hocevar
|
90bfc79b22
|
core: tick methods now use seconds, like any sane system.
|
il y a 13 ans |
Sam Hocevar
|
fbaf32f1b9
|
core: make timers second-based rather than millisecond-based.
|
il y a 13 ans |
Sam Hocevar
|
db728e48fe
|
threads: change Queue to a template so that we can manage the element type.
|
il y a 13 ans |
Sam Hocevar
|
2ef212be53
|
core: throw out the idea of a disk thread, let's seem what comes from it.
|
il y a 13 ans |
Sam Hocevar
|
b2d73f6310
|
core: prefix Entity members with m_ to avoid accidental shadowing.
|
il y a 13 ans |
Sam Hocevar
|
dfdbbfdfc0
|
gl: cache viewport size on all platforms, because we cannot query it from
the game thread.
|
il y a 13 ans |
Sam Hocevar
|
0161879a84
|
core: try to merge Ticker and Emcee. Still not very good.
|
il y a 13 ans |
Sam Hocevar
|
10b321b204
|
core: get rid of now useless <cstdio> includes.
|
il y a 14 ans |
Sam Hocevar
|
1e5624d551
|
core: create a logger class to reduce printf usage.
|
il y a 14 ans |
Sam Hocevar
|
8848cf53db
|
Put everything in the "lol" namespace. Better late than never.
|
il y a 14 ans |
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.
|
il y a 14 ans |
Sam Hocevar
|
2c2b38db41
|
Make font objects use the TileSet system and fix the text objects' Z offset.
Fixes tickets #19 and #24.
|
il y a 14 ans |
Sam Hocevar
|
1e83987676
|
Get rid of benchmarking mode, it's useless: Ticker::Setup(0) does the same.
|
il y a 14 ans |
Sam Hocevar
|
eec2eb7a9a
|
Add a recording mode to Ticker that ensures fixed deltatime even when
lagging behind.
|
il y a 14 ans |