Sara
|
adaa01ae4b
|
Merge branch 'template-test' into template
|
2023-11-23 20:04:09 +01:00 |
|
Sara
|
37ec5a7558
|
feat(template): removed files not directly needed for the template
|
2023-11-23 20:03:33 +01:00 |
|
Sara
|
2b7af06d00
|
feat(builds): Added post-build command to copy game/assets to target directory
|
2023-11-23 19:59:17 +01:00 |
|
Sara
|
5d512b6c7a
|
added compile_commands/ directory to gitignore
|
2023-11-23 18:36:28 +01:00 |
|
Sara
|
2f65ef014f
|
chore(formatting): added / at the end of source directory in Build-Game.lua
|
2023-11-23 18:36:15 +01:00 |
|
Sara
|
1d18873f4b
|
feat(player): reworked some of the player's animation code
|
2023-11-23 18:35:55 +01:00 |
|
Sara
|
dd0af050c9
|
chore(format): Geany did some automatic formatting
|
2023-11-23 18:35:27 +01:00 |
|
Sara
|
08a5befc82
|
chore(format): removed whitespace at the end of a struct
|
2023-11-23 18:34:58 +01:00 |
|
Sara
|
8c3bcbce85
|
fix: animation_sprite_new now returns self
|
2023-11-23 09:16:53 +01:00 |
|
Sara
|
f7607f71ab
|
fix: PlayerIdleUpdate return value is now const State* in line with DefineState requirements
|
2023-11-23 09:15:16 +01:00 |
|
Sara
|
3e0490d5bf
|
feat(animation): added AnimationSprite to manage an animated sprite
|
2023-11-22 20:58:10 +01:00 |
|
Sara
|
1ffbd74a08
|
feat(player): added PlayerIdleUpdate, which calls PlayerAnimationUpdate
|
2023-11-22 20:58:10 +01:00 |
|
Sara
|
b0a4de6037
|
chore(cleanup): simplified sprite_set_tile wrapping
|
2023-11-22 20:58:10 +01:00 |
|
Sara
|
efdd5f29db
|
chore(whitespace): removed some whitespace in state_machine_init
|
2023-11-22 16:02:16 +01:00 |
|
Sara
|
3c647ccfc2
|
fix(warnings): added _DataType argument to DefineState to improve type checking
|
2023-11-22 15:58:59 +01:00 |
|
Sara
|
2b1aa6236f
|
Changed SDL_DrawLine to SDL_DrawLineF in physics_entity_debug_draw and added input to player
|
2023-11-22 15:14:59 +01:00 |
|
Sara
|
36d378ec37
|
removed unintentionally added NEW macro
|
2023-11-22 15:14:59 +01:00 |
|
Sara
|
913bb32a39
|
removed trailing backslash from DefineState macro
|
2023-11-22 15:14:59 +01:00 |
|
Sara
|
51b889c6ef
|
added ASSERT_RETURN to playerinput constructor
|
2023-11-22 15:14:59 +01:00 |
|
Sara
|
5d8d996c91
|
Added ASSERT_RETURN to input binding constructors
|
2023-11-22 15:14:59 +01:00 |
|
Sara
|
663d6e36c2
|
fix(warning cleanup): casting earlier in spritesheet_from_texture
Decreases chance of overflow
|
2023-11-22 15:14:59 +01:00 |
|
Sara
|
686c3c7578
|
fix(warning cleanup): added explicit casts to size_t -> IVector conversion
|
2023-11-22 15:14:59 +01:00 |
|
Sara
|
109cd51d14
|
fix(warning cleanup): added f suffix to literals to ensure correct precision
|
2023-11-22 15:14:59 +01:00 |
|
Sara
|
918e73c306
|
split animation frame and facing direction
|
2023-11-22 13:57:27 +01:00 |
|
Sara
|
ad983812f6
|
changed camera FOV
|
2023-11-22 13:16:14 +01:00 |
|
Sara
|
f300c8b4a5
|
program_run now calls game_world_draw
|
2023-11-22 13:15:44 +01:00 |
|
Sara
|
cd2de223fc
|
fix(typo): game_world_draw is no longer game_word_draw
|
2023-11-22 13:15:29 +01:00 |
|
Sara
|
9e643e7cec
|
feat(testing game): Player is now spawned in play()
|
2023-11-22 13:10:42 +01:00 |
|
Sara
|
0ccdc8c5d0
|
fix(build config): debugdir for Game project is now game/ directory
|
2023-11-22 13:10:19 +01:00 |
|
Sara
|
d57bc1e4e2
|
feat(organization): moved assets directory to game
Assets should now be stored per-project (as opposed to globally)
|
2023-11-22 13:09:25 +01:00 |
|
Sara
|
7a0a60846a
|
feat(state machine): state machine now no longer has a separate next function
instead update is expected to return the next state
|
2023-11-22 13:02:21 +01:00 |
|
Sara
|
fd0183d34a
|
chore(windows port): Cleaned up some msvc warnings
Mainly relating to double -> float casts and some size_t -> long casts
|
2023-11-22 13:01:04 +01:00 |
|
Sara
|
d4d650c2c7
|
disabled VS "security warnings" for functions like fopen
|
2023-11-22 12:56:35 +01:00 |
|
Sara
|
5aae7dd1a5
|
added player.c and started testing state machine for animation
|
2023-11-22 12:56:10 +01:00 |
|
Sara
|
2032488149
|
added player
|
2023-11-22 11:46:50 +01:00 |
|
Sara
|
3ebc370ca4
|
added state machine
|
2023-11-22 11:46:46 +01:00 |
|
Sara
|
5cb53f39f2
|
reworked default drop implementation
|
2023-11-22 11:45:58 +01:00 |
|
Sara
|
9f3bfcb879
|
Merge remote-tracking branch 'origin/template' into template-test
|
2023-11-22 11:45:10 +01:00 |
|
Sara
|
76c9ecd2e9
|
added .vscode to gitignore
|
2023-11-22 11:45:06 +01:00 |
|
Scott-G-GD
|
960783ac42
|
added define for isnanf to be _isnanf on windows, because windows sucks
|
2023-11-21 11:03:45 +01:00 |
|
Sara
|
4e5ed0af94
|
added define for isnanf to be _isnanf on windows, because windows sucks
|
2023-11-21 11:03:45 +01:00 |
|
Scott-G-GD
|
8961e38113
|
removed a trailing space
|
2023-11-21 11:03:26 +01:00 |
|
Sara
|
810761aedf
|
removed a trailing space
|
2023-11-21 11:03:26 +01:00 |
|
Scott-G-GD
|
db2938353b
|
windows does not consider object initializers with a cast operator static
|
2023-11-21 11:03:09 +01:00 |
|
Sara
|
c78dbba674
|
windows does not consider object initializers with a cast operator static
|
2023-11-21 11:03:09 +01:00 |
|
Scott-G-GD
|
6e5d16e4cc
|
solution files now also in .gitignore
|
2023-11-21 11:02:30 +01:00 |
|
Sara
|
5755efb529
|
solution files now also in .gitignore
|
2023-11-21 11:02:30 +01:00 |
|
Scott-G-GD
|
f435a96052
|
reworked build config, now works on windows
|
2023-11-21 11:01:36 +01:00 |
|
Sara
|
e479ecf0ad
|
reworked build config, now works on windows
|
2023-11-21 11:01:36 +01:00 |
|
Scott-G-GD
|
6bd6b348f0
|
updated gitignore
|
2023-11-21 11:01:19 +01:00 |
|