Sam Hocevar
1186c08ad7
entity: add a flag system.
This lets us get rid of m_autorelease and m_destroy and we’ll be able
to implement init_game/init_draw later, for stuff that must happen
on the render thread.
hace 6 años
Sam Hocevar
4ee191fbf4
engine: start working on a tickable object, cleaner than entities.
hace 6 años
Sam Hocevar
1d8083af86
engine: get rid of the Dict class (WIP).
This was not a very smart class. We replace it with a bidirectional map.
hace 7 años
Sam Hocevar
6dd7a0cb39
Another lowercase switching frenzy, because why not.
hace 7 años
Sam Hocevar
37abf6193f
RIP lol::String ⚰️ LOL
hace 8 años
Sam Hocevar
44e39867b1
Fix approximately 80 billion compilation warnings.
hace 8 años
Benjamin ‘Touky’ Huet
cfcff9acc3
MultiScene: Phase 1: g_scene removal and conversion to Scene::
hace 10 años
Sam Hocevar
1ddc2e83b8
font: make bitmap fonts use linear filtering by default.
hace 10 años
Sam Hocevar
d4e3ad4a4e
text: new features and minor refactoring.
Text objects now support character spacing (as a fraction of the character
width) and text scaling. Also, the alignment enum is now safe.
hace 10 años
Benjamin ‘Touky’ Huet
0e09074d33
Revamped Game/Draw groups to split stuff and help spreading tick
hace 10 años
Sam Hocevar
cd988786b9
build: reorganise includes so that we can use precompiled headers later.
hace 11 años
Sam Hocevar
ad9a388e80
misc: remove 100% of the "using namespace std;" madness.
hace 11 años
Sam Hocevar
fe665f85b4
base: strip core.h from its contents and put it in public/private headers.
hace 11 años
Sam Hocevar
da6b3d5cd0
scenegraph: Entity::TickDraw() now provides a reference to the current
scene so that g_scene can be deprecated later.
hace 11 años
Sam Hocevar
32143b8bb4
scene: allow to rotate sprites around the Z axis.
hace 11 años
Sam Hocevar
843cc42ed1
font: support \b (backspace) in text rendering.
hace 12 años
Jean-Yves Lamoureux
8e544d0815
font: coding style ☜(゚ヮ゚☜)
hace 12 años
Jean-Yves Lamoureux
6cce28dd93
font: add support for \n
hace 12 años
Sam Hocevar
5f3ad5cc15
math: add constant vectors vec2::zero, vec2::axis_x, etc.
hace 12 años
Sam Hocevar
ad8144f0e8
scene: use a global g_scene object instead of Scene::GetDefault().
hace 12 años
Sam Hocevar
d34d31dae0
base: some refactoring in the tileset class.
hace 12 años
Sam Hocevar
6e282a674a
base: remove some sprintf() calls in profit of string ops.
hace 13 años
Benjamin ‘Touky’ Huet
c7219ff1dd
New year copyright update.
hace 13 años
Sam Hocevar
d6634da83f
build: fix the WTFPL site URL in all code comments.
hace 13 años
Sam Hocevar
90bfc79b22
core: tick methods now use seconds, like any sane system.
hace 13 años
Sam Hocevar
f35f4284b0
core: allow each blitted tile to be stretched differently.
hace 13 años
Sam Hocevar
edfa3dfc4b
core: allow to stretch 2D sprits in both X and Y directions.
hace 13 años
Sam Hocevar
b2d73f6310
core: prefix Entity members with m_ to avoid accidental shadowing.
hace 14 años
Sam Hocevar
01ebcec3b8
core: split vector operations into linear and non-linear so that we can
reuse the linear operations in quaternions. Also mark some constructors
explicit to better spot coding errors.
hace 14 años
Sam Hocevar
2b9d64f7a8
core: more vec?i -> ?veci renames.
hace 14 años
Sam Hocevar
6bbe943492
core: rename vec2i to ivec2 etc. to better match GLSL.
hace 14 años
Sam Hocevar
dc13c1f742
tiler: ensure AddTile() and BlitTile() accept vec3i arguments.
hace 14 años
Sam Hocevar
6266c289ee
tileset: replace the Tiler ID system with real TileSet objects. The only
thing that is still broken is the Layer <--> Map interface.
hace 14 años
Sam Hocevar
1fb4205d61
tiler: Tiler::GetSize can now return a different value for different tiles.
hace 14 años
Sam Hocevar
3d4af0869a
ps3: start a minimal PS3 port using PSGL, but not CG yet.
hace 14 años
Sam Hocevar
8848cf53db
Put everything in the "lol" namespace. Better late than never.
hace 15 años
Sam Hocevar
6405ef32ea
Get rid of float3, float4, int3 etc. in favour of GLSL types.
hace 15 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 15 años
Sam Hocevar
1ae1693d52
Make Entity variable members private.
hace 15 años
Sam Hocevar
50ed9ffecc
Test entity alignment features. Also, start working on the mouse tracking.
hace 15 años
Sam Hocevar
e9e1390454
Display mashed monsterz statistics, up to 12 icons.
hace 15 años
Sam Hocevar
fa1cc51d97
Fix a texture size bug in the font initialisation.
hace 15 años
Sam Hocevar
87ed8cdf52
Print error reports before panicking when asset loads fail.
hace 15 años
Sam Hocevar
c2ddb97d63
Fix font rendering.
hace 15 años
Sam Hocevar
8458faf1fe
Convert NPOT textures in code.
hace 15 años
Sam Hocevar
f84b659c62
Slightly change the ...Data initialisation in classes.
hace 15 años
Sam Hocevar
0ed566d3cc
Complete Lol Engine / Deus Hax / Monsterz split.
hace 15 años
Sam Hocevar
54a05e0c2c
Allow for different priorities in game and draw tick levels.
hace 15 años
Sam Hocevar
9e2c239e74
Support tilesets larger than 512x512 and switch the coordinates system to
(0,0) at the bottom left.
hace 15 años
Sam Hocevar
d5ffa9fe4f
Properly implement program termination, including in the GTK program.
hace 15 años