Sara
|
e0a05e546e
|
feat: added physics world queries
|
2023-11-26 13:06:36 +01:00 |
|
Sara
|
92907b1b82
|
feat: added PHYSICS_LAYER_DEFAULT mask #define
|
2023-11-26 13:06:16 +01:00 |
|
Sara
|
c9b6a0da60
|
chore(debugging): removed some logging
|
2023-11-26 13:03:07 +01:00 |
|
Sara
|
9c68fca766
|
feat(physics): added owner to collider
|
2023-11-26 12:57:30 +01:00 |
|
Sara
|
240186c8de
|
feat(physics): reworked physics to use colliders, allowing for bodies with multiple colliders
|
2023-11-25 21:52:12 +01:00 |
|
Sara
|
84a940d046
|
feat(physics): added physics.h header for some physics-system-wide definitions
|
2023-11-25 21:51:33 +01:00 |
|
Sara
|
6a2a612594
|
feat(collision): Added collider type to combine a shape with a rigidbody and additional physics settings
|
2023-11-25 21:51:08 +01:00 |
|
Sara
|
966f7b9efe
|
feat(diag): added log to failed reserve on copy
|
2023-11-25 11:33:37 +01:00 |
|
Sara
|
ac8cacd2fc
|
feat(render): added render depth to behaviour entities
|
2023-11-25 11:33:11 +01:00 |
|
Sara
|
67b138741b
|
feat(physics): added physics_world_query
|
2023-11-24 23:23:27 +01:00 |
|
Sara
|
e2c4f5d4c9
|
feat(physics): static colliders and physics response
|
2023-11-24 23:19:43 +01:00 |
|
Sara
|
a70658bab6
|
feat(physics): implemented overlap queries
|
2023-11-24 21:16:07 +01:00 |
|
Sara
|
5043f1a53e
|
feat(physics): physics entity no longer requires a collision solver, removing support for custom solvers
|
2023-11-24 21:15:36 +01:00 |
|
Sara
|
90dc3e1792
|
feat(physics): rigidbodies can now be marked static
|
2023-11-24 21:15:05 +01:00 |
|
Sara
|
14877b0a28
|
feat(input): KeyBind will now longer respond to repeat keys
|
2023-11-24 21:14:33 +01:00 |
|
Sara
|
e7e952e57d
|
feat(physics): physics entity now supports overlap
|
2023-11-24 19:07:51 +01:00 |
|
Sara
|
c1a043c4a7
|
feat(animation): animation sprite loop mode implemented
|
2023-11-24 19:06:51 +01:00 |
|
Sara
|
0d28097818
|
chore(organization): state functions are now ordered to lifetime (enter < update < exit)
|
2023-11-24 16:22:16 +01:00 |
|
Sara
|
fa38d1a7ca
|
feat(sprite): sprite now has a sprite_new_empty function
|
2023-11-24 16:21:28 +01:00 |
|
Sara
|
54efa7c83e
|
feat(entities): removed spawn function from behaviour entities
|
2023-11-24 16:20:59 +01:00 |
|
Sara
|
1ee59154fc
|
feat(animation): AnimationSprite no longer owns it's target sprite and has more time functions
|
2023-11-24 16:20:17 +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
|
3e0490d5bf
|
feat(animation): added AnimationSprite to manage an animated sprite
|
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
|
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
|
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
|
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
|
4e5ed0af94
|
added define for isnanf to be _isnanf on windows, because windows sucks
|
2023-11-21 11:03:45 +01:00 |
|
Sara
|
810761aedf
|
removed a trailing space
|
2023-11-21 11:03:26 +01:00 |
|
Sara
|
c78dbba674
|
windows does not consider object initializers with a cast operator static
|
2023-11-21 11:03:09 +01:00 |
|
Sara
|
c6d4351c48
|
added stddef include to vmath
|
2023-11-20 14:10:40 +01:00 |
|
Sara
|
5ab93d62ad
|
new build system config
|
2023-11-20 12:04:55 +01:00 |
|