Commit Graph

218 Commits

Author SHA1 Message Date
b629f53f16 formatting 2024-08-12 16:15:31 -05:00
e6d3506035 rename published_tick & world -> prev_tick & next_tick 2024-08-12 15:27:35 -05:00
787bb9e0d1 mark published tick entity store read only 2024-08-12 15:18:51 -05:00
192d5db2a5 arena_set_readwrite 2024-08-12 15:04:27 -05:00
d17727c133 minor cleanup 2024-08-09 23:13:24 -05:00
1125015ff7 weapon triggering testing 2024-08-09 22:57:38 -05:00
911208a926 triggering beginnings. 2024-08-09 22:27:02 -05:00
f5400b0205 equip/fire beginnings. player input cmd change. 2024-08-09 21:03:51 -05:00
094b64078b add (UNUSED) after lock assertions 2024-08-09 15:02:13 -05:00
dbeb0f0f72 only re-calculate all xforms before publishing game tick 2024-08-08 14:23:18 -05:00
a7d8e19784 use pivot dir to determine sprite transform rotation. 2024-08-08 13:38:25 -05:00
28af2c9fc9 potentially fixed entity release function 2024-08-07 16:36:33 -05:00
8afeea3b9a store user player aim as active camera focus 2024-08-07 14:40:09 -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
91f7299274 re-enable test entities at start 2024-08-06 22:16:18 -05:00
f8549618bb await sprite sheet in game thread 2024-08-06 18:11:04 -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
bda472d15e update tim test image 2024-08-05 13:10:15 -05:00
3049e02b57 working aim from hold slice correctly 2024-08-05 13:01:15 -05:00
630afc411b fix asin & acos swapped 2024-08-05 00:24:00 -05:00
c25afa72b9 implement partially broken slice based aiming 2024-08-01 14:47:37 -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
219acd3927 calculate sprite xform from world xform, and add calculation to world xform recurse step 2024-08-01 12:43:49 -05:00
5c51b555b2 fix sprite slice size off-by-one. dont calculate entity animation in user thread. debug draw slices 2024-07-31 20:01:43 -05:00
fd3ab6146b calculate sprite xform from pivot in game thread 2024-07-31 18:20:31 -05:00
1dd8a4d659 store slices & spans in array 2024-07-25 13:04:12 -05:00
6193d80983 sprite slice rays 2024-07-24 15:18:50 -05:00
a314f1b8f4 ase slice parsing first pass 2024-07-23 14:15:02 -05:00
91ea995209 cleanup double semicolons 2024-07-22 13:04:44 -05:00
5eb515ab90 rename suffix assume_locked -> ...locked 2024-06-25 19:58:48 -05:00
04db1226e2 refactor mutexes to use 'sys_lock' objects. make all mutexes rw mutexes. 2024-06-25 19:54:33 -05:00
3061d465d1 minor tweaks & fixes 2024-06-25 18:35:53 -05:00
63c309b64f replace with placeholder graphics 2024-06-25 15:17:14 -05:00
0b3e191bb2 use work system for sprite loading 2024-06-21 14:27:35 -05:00
377b83e035 cleanup 2024-06-21 12:16:22 -05:00
d571a9647d worker loop cleanup 2024-06-20 16:02:16 -05:00
5ec253b4aa profiling build fix 2024-06-14 17:52:59 -05:00
179a6c3588 unpoison when releasing arena 2024-06-12 17:00:08 -05:00
1d43fee5a1 fix cv using wrong handle 2024-05-29 17:16:43 -05:00
d6d89b9625 fix msvc pch 2024-05-27 15:40:38 -05:00
3e9ac3e99c incorporate buildit dep hist 2024-05-24 16:02:08 -05:00
2245728b59 msvc debug asan build working 2024-05-23 16:49:12 -05:00
ebc73abfb7 more buildit accommodations 2024-05-22 18:45:51 -05:00
c2bfb3a4b3 buildit accommodation 2024-05-21 13:29:21 -05:00
27d6acadc7 minor tweaks 2024-05-16 23:50:17 -05:00
9eabdcd222 msvc support in progress 2024-05-03 02:35:25 -05:00
00629aa988 merge texture & sheet into 'sprite' 2024-05-01 15:50:50 -05:00
cf3d678699 texture cache w/ eviction & reloading 2024-05-01 00:22:06 -05:00
42a2d97d3d fix sheet evictor breaking before releasing bucket lock 2024-04-30 17:29:33 -05:00
38d9bde9e6 use sheet evictor cycle and pair with reference count 2024-04-30 15:36:25 -05:00
f414cd874b sheet eviction when over memory budget 2024-04-30 14:04:18 -05:00
878c6a09a5 use a separate rw mutex for each sheet cache bucket 2024-04-29 21:38:05 -05:00
155226b60e make sheet scope and cache use same bucket count 2024-04-29 21:30:42 -05:00
9733b1369e parallel sheet eviction scanning 2024-04-29 19:50:21 -05:00
5a32c90813 sheet eviction & reload detection 2024-04-29 18:59:32 -05:00
35ded9dbac sheet loader thread 2024-04-26 14:00:31 -05:00
925ef5a482 replace semaphore usage w/ condition variable 2024-04-24 20:03:07 -05:00
e3830fccae working sheet cache prototype 2024-04-24 18:19:19 -05:00
f72c05297b wait for panic event to be ready before aborting 2024-04-15 21:08:12 -05:00
3f1d714e7b sleep thread after panicking 2024-04-15 20:59:42 -05:00
228bef5a68 more proper sys_panic 2024-04-15 19:31:22 -05:00
511364ee05 app exit / shutdown callbacks 2024-04-15 18:02:38 -05:00
d646d3434c rename ase & sheet 'tag' -> 'span'. begin sheet testing. 2024-04-15 14:25:10 -05:00
26950f13e3 remove text input test 2024-04-15 12:57:31 -05:00
62493e8e69 remove font test bits, just use 256 characters for codepoint caching 2024-04-15 12:56:47 -05:00
77fd98baaa fix read-only macro in debug mode 2024-04-12 16:10:25 -05:00
f399c093ca rename utf.h -> uni.h 2024-04-12 12:03:39 -05:00
aaad37da27 minor tweak 2024-04-11 13:12:20 -05:00
2d593fee03 rename global 'L' vars to 'G' 2024-04-11 12:50:28 -05:00
02b31ab441 rename DEBUG_LVAR -> DEBUG_ALIAS 2024-04-11 12:42:44 -05:00
9a8f86d42b more font testing 2024-04-11 12:39:29 -05:00
db9550a356 font testing 2024-04-10 17:22:50 -05:00
a17950bebe remove json test 2024-04-09 16:41:50 -05:00
d11d2d8309 rename tls -> thread_local 2024-04-07 00:10:29 -05:00
103a87281c top-level scratch arena safety check 2024-04-06 20:18:55 -05:00
773a221b44 more unified tls model. testing json parsing & unicode display. 2024-04-05 18:02:17 -05:00
2a2e857e08 only initialize tls storage when tls_get is called for first time 2024-04-04 18:47:19 -05:00
d29b0569ee define UNICODE when including windows 2024-04-04 17:57:26 -05:00
8035e3d4bd fix - use W versions of GetMessage & DispatchMessage 2024-04-04 17:10:42 -05:00
1cbdc27a4c make font rendering unicode aware 2024-04-04 14:53:00 -05:00
e4ecc217e3 process unicode input in win32 2024-04-04 14:51:32 -05:00
354c372e26 indent labels 2024-04-03 23:20:31 -05:00
bfe64f7373 add BOF json token type 2024-04-03 23:12:50 -05:00
7eb63bc80f only call CreateFileMapping if size > 0 2024-04-03 22:59:18 -05:00
100fdd264d disregard tar pax headers 2024-04-03 22:35:50 -05:00
9a8b712f98 unicode support in win32 layer 2024-04-03 19:34:52 -05:00
db16c4b067 create unicode transformation functions 2024-04-03 15:28:46 -05:00
369223eafd fix json child parsing issue 2024-04-03 15:28:04 -05:00
4978ec6633 minor cleanup 2024-04-03 02:48:43 -05:00
59239ce13f cleanup - move linker lib imports to source code 2024-04-03 02:33:29 -05:00
c3d395a44e give app its own thread 2024-04-03 01:48:32 -05:00
13d927e752 fix ase tag names pushed to wrong arena 2024-04-03 01:47:57 -05:00
f78837ca8a add debug_asan config 2024-04-03 01:47:39 -05:00
bd8f5e7f01 minor cleanup 2024-04-01 15:49:19 -05:00
9ebb75f6c3 minor cleanup & logs 2024-04-01 15:38:31 -05:00