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.
12 лет назад
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 лет назад