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