Commit Graph

440 Commits

Author SHA1 Message Date
110e28119c fix dbg drag local point 2025-02-09 15:36:46 -06:00
f000bd7e65 progress & fix buddy bug 2025-02-09 15:22:43 -06:00
6fa3517d7a re-add networked debug drag 2025-02-09 11:13:36 -06:00
eee5945954 differentiate client entities 2025-02-08 17:11:04 -06:00
16e8bb0dca command line arg passthrough 2025-02-08 12:40:59 -06:00
ed66382fd6 migrate sim global state to ctx structure 2025-02-08 12:00:27 -06:00
5f75b765c3 allocate client channel lookup buckets before store 2025-02-08 10:12:05 -06:00
d9ebdc4df2 rename 'entity' -> 'sim_ent' 2025-02-08 10:07:49 -06:00
01274013e6 rename 'client' -> 'sim_client' 2025-02-08 09:52:31 -06:00
4cbc6b6d59 rename 'game' -> 'sim' 2025-02-08 09:45:32 -06:00
b9ec028bfa reduce host msg timeout to 0.1 2025-02-08 09:38:32 -06:00
ca664ac291 memory & network usage statistics 2025-02-08 09:28:38 -06:00
a78c5e1a47 networking progress 2025-02-08 07:06:56 -06:00
78ace4b38a buddy progress 2025-02-07 19:17:27 -06:00
6f7c19e053 host function profiling 2025-02-07 15:52:41 -06:00
72728e6a98 host progress 2025-02-07 15:18:36 -06:00
d13a7c70e7 host progress 2025-02-07 10:56:37 -06:00
808edf6e57 user game network communication beginning to work 2025-02-06 20:33:40 -06:00
84e64b5cce host progress 2025-02-06 16:13:28 -06:00
627f736345 host progress 2025-02-06 14:32:06 -06:00
a80eff9e39 host progress 2025-02-03 19:54:06 -06:00
062285b1b3 socket progress 2025-01-31 10:26:07 -06:00
d7f1ac06cb remove buffer struct, use string struct instead 2025-01-30 15:12:26 -06:00
a1a1430fd8 serialize game cmds 2025-01-30 13:36:44 -06:00
7d0826b57b give byte writer option to be backed by an arena 2025-01-30 11:38:35 -06:00
eea9c978c9 set aim joint correction rate dynamically based on dt 2025-01-30 11:05:38 -06:00
aaaa7deb81 rename timer frequency -> qpc per second 2025-01-30 08:50:39 -06:00
489fc8eca3 store sys timer start in qpc 2025-01-30 08:49:08 -06:00
79cc9e15e5 set tick sim time right before publishing 2025-01-29 11:39:05 -06:00
f0a25248c3 remove sys_timestamp, refactor into generalized i64 holding nanoseconds 2025-01-29 11:29:31 -06:00
a20e8eced5 store win32 timer start & frequency in terms of nanoseconds 2025-01-29 10:56:40 -06:00
4eef91dd63 convert sys_timestamp_t to struct 2025-01-29 10:22:00 -06:00
fef1d98c26 remove redundant cell iter check 2025-01-28 23:31:08 -06:00
dbd16ccd67 skip space cells at 0 2025-01-28 20:31:52 -06:00
70e2d4a935 fix some msvc warnings 2025-01-28 10:18:40 -06:00
894c2dfa26 release space client when entity releases. fix aabb test 2025-01-28 09:11:23 -06:00
dc09b65f69 use combined aabb test for bullet TOI 2025-01-27 20:00:00 -06:00
0836eec851 broad phase for colliders via aabb spatial hash 2025-01-27 19:42:17 -06:00
c200a618b0 collider_get_aabb & collider_test_aabb 2025-01-27 12:11:23 -06:00
b9bc22a019 profile locks 2025-01-26 21:29:03 -06:00
e259d5680d update tracy 2025-01-21 21:10:15 -06:00
4a01a54a59 capture profiler image before present 2025-01-21 19:53:00 -06:00
9202fed07f release vertex buffers before growing 2025-01-21 15:51:11 -06:00
d4327eb7bb don't create empty vertex / index buffers 2025-01-21 15:27:35 -06:00
d4387a873a formatting 2025-01-21 13:28:08 -06:00
75c9ff4dbd rename texture shader -> triangle shader 2025-01-21 13:23:18 -06:00
9d745e3475 set minimum window size 2025-01-21 08:32:05 -06:00
ab6761b733 formatting 2025-01-20 14:26:12 -06:00
a2f9f58143 retrieve texture size dynamically 2025-01-20 12:03:09 -06:00
cebaed5aa5 refactor renderer_handle -> renderer_texture. retrieve backbuffer as texture. 2025-01-20 11:50:18 -06:00
ceb1ac2059 remove gen from sys thread 2025-01-20 09:43:04 -06:00
c6e1450d88 rename viewport -> ui 2025-01-20 09:29:34 -06:00
3c47774e67 rename canvas -> cmd buffer 2025-01-20 09:25:32 -06:00
49ca91973a declare resource as texture pointer 2025-01-20 09:21:34 -06:00
511783243d draw ui & world to separate texture 2025-01-18 12:29:10 -06:00
acced9dfed render to texture 2025-01-17 19:29:57 -06:00
a015143f5c set topology per draw cmd 2025-01-17 14:05:01 -06:00
9549897e6b fix grid offset 2025-01-17 11:45:12 -06:00
a5111c5b51 rename rand.dat -> noise.dat 2025-01-17 10:16:50 -06:00
d78adcb9c9 copy random noise resource to memory on startup 2025-01-17 10:14:21 -06:00
e6cea55854 slight renderer refactor. grid shader. 2025-01-16 18:04:21 -06:00
bd77959675 formatting 2025-01-16 14:45:57 -06:00
6c5183fe0a merge sort typo 2025-01-16 14:33:13 -06:00
d2cfeed161 sorted layers first pass 2025-01-16 11:42:26 -06:00
c361becc73 add merge sort 2025-01-16 10:40:20 -06:00
81f4049f95 tweak player torque speed 2025-01-15 17:21:29 -06:00
ad7ca7d68c pre-generate rand.dat file for deterministic noise. calculate shake based on world time 2025-01-15 14:32:36 -06:00
4c194d3b39 camera shake 2025-01-14 17:06:25 -06:00
25592d24d3 rework collider clipping logic 2025-01-13 15:58:30 -06:00
a1b8f752c9 working on capsule collision bug 2025-01-13 11:58:32 -06:00
85234c8dac add random direction to blood test 2025-01-13 09:50:01 -06:00
ece13bc12f more transparent blood 2025-01-13 08:51:32 -06:00
5b29d4f36e bullet knockback. physics damping. 2025-01-13 08:46:11 -06:00
33ad436040 draw bullet circle in tracer 2025-01-13 07:53:06 -06:00
e961b6dceb test out adding shooter velocity to bullet 2025-01-12 18:30:06 -06:00
37f10d76dd working tracers 2025-01-12 18:23:01 -06:00
bcdd9660c2 comment 2025-01-12 16:06:24 -06:00
5026a967ff config option to disable detailed collision debug 2025-01-12 15:36:44 -06:00
a00798fc7a tracer beginnings 2025-01-12 11:54:48 -06:00
e70047f763 disable collision between bullet shooter & bullet 2025-01-12 09:40:33 -06:00
b66f130e9c respond to collisions using callbacks rather than events 2025-01-12 09:11:30 -06:00
0ef72e1b23 disable all warnings for profiling build 2025-01-11 15:49:57 -06:00
bbd11d2526 sort hit events by dt to prevent out of order bullet hit processing 2025-01-11 15:09:14 -06:00
5d6835ece3 bullet_has_hit 2025-01-11 10:22:27 -06:00
0c1d6a58de move phys arguments into phys_ctx 2025-01-10 16:05:22 -06:00
0716ebd398 separate physics logic from game.c 2025-01-10 15:44:07 -06:00
f4d8ec73e7 skip toi between non-bullets 2025-01-10 14:32:03 -06:00
1849f1143a de-duplicate collider.c gjk & epa logic 2025-01-10 11:37:27 -06:00
02290601c3 cleanup collision debug leak & merge structure with contact lookup into entity lookup 2025-01-06 17:09:39 -06:00
6268e012f6 add false position method to toi root finding 2025-01-06 16:33:14 -06:00
967a408972 fix dangling constraint entities 2025-01-06 15:05:15 -06:00
dd4b05cbd1 time of impact seemingly working 2025-01-06 12:20:06 -06:00
1e81a7ea41 create collider_closest_points function 2025-01-06 11:41:59 -06:00
2260b1bc36 fix collision issue between capsule rounded edge & corners, and with reverse-winding shapes 2025-01-03 18:42:46 -06:00
33df739cc6 create separate entities for visualizing collision debug info 2025-01-03 17:24:34 -06:00
9981b600a8 draw debug movement for kinematic objects 2025-01-03 16:04:32 -06:00
1bbe316b20 kinematic flag 2024-12-16 12:53:52 -06:00
bac3256d1e hit event testing 2024-12-16 12:23:58 -06:00
152656fbc5 create ground friction joint dynamically 2024-11-18 13:12:10 -06:00
bfa1f1e065 contact lookup, joint / contact removal 2024-10-30 18:34:45 -05:00