Commit Graph

51 Commits

Author SHA1 Message Date
e6cea55854 slight renderer refactor. grid shader. 2025-01-16 18:04:21 -06:00
5b29d4f36e bullet knockback. physics damping. 2025-01-13 08:46:11 -06:00
e70047f763 disable collision between bullet shooter & bullet 2025-01-12 09:40:33 -06:00
0716ebd398 separate physics logic from game.c 2025-01-10 15:44:07 -06:00
f5e45d6ba1 game tick continuity gen. start removing static constraint lookup 2024-10-30 14:47:17 -05:00
8eadda9931 store & calculate friction 2024-10-29 18:35:35 -05:00
161e615aa7 specify control torque in turns / second 2024-10-28 15:58:00 -05:00
71e3d9f05f fix gjk causing unstable collisions between flat diagonals 2024-10-05 01:03:07 -05:00
1dde27d31b fix wild collisions at low precision 2024-10-05 00:09:50 -05:00
88334f2ab1 test midpoint contact point 2024-09-23 15:00:14 -05:00
5593db5202 replace { 0 } initializers with new ZI macro. enable 'Wmissing-field-initializers' 2024-09-19 12:15:55 -05:00
b717a38b13 contact testing 2024-09-17 12:44:54 -05:00
a946583bc8 more physics testing 2024-09-12 15:36:20 -05:00
ea56dab9bf kinda working physics 2024-09-11 16:22:04 -05:00
e3055062e6 angular velocity testing 2024-09-10 16:11:39 -05:00
a0600fc419 revert to using euler integration 2024-09-10 14:14:56 -05:00
c4dd372041 store and calculate mass from unscaled mass instead of density 2024-08-21 17:17:05 -05:00
10c9c833ba better impulse & force application 2024-08-19 19:20:55 -05:00
0ed2a403dc impulses & forces 2024-08-19 15:02:41 -05:00
83b0b3f255 start verlet integration 2024-08-18 22:44:55 -05:00
00560af92c unlink existing parent when linking 2024-08-16 15:55:16 -05:00
3f98cdb669 remove entity_unlink_children, tweak entity_link_parent 2024-08-15 16:48:25 -05:00
f48a059397 weapon attachment to parent 2024-08-15 13:59:42 -05:00
38075e5efd entity_prop_kinematic 2024-08-14 18:22:06 -05:00
45c6d94009 more bullet testing 2024-08-13 16:34:31 -05:00
bcbf9c9588 bullet testing 2024-08-13 14:30:42 -05:00
cad25d24b2 entity release prop 2024-08-13 14:04:01 -05:00
52db86b012 entity active field 2024-08-13 12:58:13 -05:00
28af2c9fc9 potentially fixed entity release function 2024-08-07 16:36:33 -05:00
0f113f640f child xform fixes 2024-08-07 14:13:06 -05:00
f5e28a04af add entitity_get/set_xform functions 2024-08-07 11:48:19 -05:00
38a2478325 fix updates not ran on new entities added from game commands 2024-08-06 17:58:52 -05:00
bac9d797b9 fix entity gen comparison 2024-08-06 16:05:29 -05:00
53ae299816 add root entity. release children with parent. 2024-08-06 15:09:57 -05:00
3776c2fab0 calculate store offset at compile time 2024-08-06 14:25:46 -05:00
c7ee34037a begin entity xform tree refactor 2024-08-06 13:44:24 -05:00
91d7812f8a rename rel_xform -> exform. world_xform -> xform_world. sprite_quad_xform -> sprite_xform_world. add rel sprite_xform field. 2024-08-01 13:10:37 -05:00
9eabdcd222 msvc support in progress 2024-05-03 02:35:25 -05:00
77fd98baaa fix read-only macro in debug mode 2024-04-12 16:10:25 -05:00
0a1761627b camera debug drawing and less direct rel xform application 2024-03-20 13:36:57 -05:00
e91a66f5b3 xform movement & focus directions by world view basis 2024-03-13 23:08:18 -05:00
bdd8db60c3 player focus dir relative to player. raw mouse input. crosshair. 2024-03-13 21:44:25 -05:00
efa639c971 separate entity handling from world to new entity_store 2024-03-11 20:55:49 -05:00
0f67701761 proper xform tree iteration 2024-03-11 19:39:26 -05:00
452e922e23 rework animation logic, don't loop increasingly as time goes on 2024-03-11 13:21:31 -05:00
adce14bbf3 rework tick -> world, move related logic from game into world api 2024-03-08 19:56:34 -06:00
c78635f499 minor cleanup 2024-03-08 17:39:07 -06:00
b5433abf22 add nil entity macros 2024-03-08 17:09:55 -06:00
ed9841c1b1 sprite tag / animating logic touchup 2024-03-06 19:26:00 -06:00
a4dc273480 camera entity 2024-03-05 22:51:10 -06:00