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