Sara
|
8915e57f9d
|
fixed indenting style to fit new requirements
now using expanded (space) 4-wide tabs
|
2023-07-17 16:44:10 +02:00 |
Sara
|
41f84bb52c
|
reversed direction of aabb-aabb collision solver terms
|
2023-07-16 21:32:33 +02:00 |
Sara
|
5185f5062b
|
solve_aabb_aabb now incorporates sprite position in all calculations
|
2023-07-16 21:23:59 +02:00 |
Sara
|
7950e45632
|
reordered terms in _rect_overlap
|
2023-07-16 21:14:44 +02:00 |
Sara
|
0dc35bd9d9
|
fixed typos and mismatched statements in aabb-aabb collision
|
2023-07-16 20:53:41 +02:00 |
Sara
|
33c1a5e9d2
|
changed the way objects are notified of destruction, simplified game.c preset
|
2023-07-16 00:31:13 +02:00 |
Sara
|
8a6a0e7493
|
physics.c: can_collide now checks for object_is_valid before comfirming other variables
|
2023-07-12 02:47:31 +02:00 |
Sara
|
3ed5755e52
|
physics.h no longer depends on g_objects being public, or WORLD_NUM_OBJECTS being constant
|
2023-07-12 02:07:08 +02:00 |
Sara
|
20ca626acf
|
solve_collision_slide no longer modifies rhs argument
|
2023-06-25 18:18:07 +02:00 |
Sara
|
9a732ad82f
|
simplified solve_collision_slide
|
2023-06-25 18:13:48 +02:00 |
Sara
|
812e7eab20
|
renamed move_and_slide to physics_move
|
2023-06-25 18:13:28 +02:00 |
Sara
|
7a2cb3cd5c
|
added solver field to physics_t, exposed solve_collision_slide to make it work
|
2023-06-25 18:12:38 +02:00 |
Sara
|
76bf6e81e5
|
reworked collision_t component into physics_t component
|
2023-06-25 12:41:53 +02:00 |
Sara
|
a9ba15f93b
|
improved handling of interpolate_move calls with a distance shorter than minimum delta
|
2023-06-24 22:42:38 +02:00 |
Sara
|
b8c856bf56
|
split the world module into world, physics, and object
|
2023-06-24 22:03:28 +02:00 |