|
|
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 |
|
|
|
ecbc0c8501
|
tweak byteio & ase to avoid unaligned access
|
2024-04-01 15:10:34 -05:00 |
|
|
|
900e841228
|
rewrite json parser to be dumber
|
2024-04-01 15:09:14 -05:00 |
|
|
|
fec692b434
|
rename tls -> tls_table
|
2024-04-01 15:06:55 -05:00 |
|
|
|
7afa567ea0
|
tls.h & tls.c
|
2024-03-28 18:19:26 -05:00 |
|
|
|
2c3597646d
|
atomic ptr
|
2024-03-28 15:31:15 -05:00 |
|
|
|
04eb118e60
|
system startup receipts
|
2024-03-28 13:31:35 -05:00 |
|
|
|
508c77abfd
|
use macros for typedef'd function definitions
|
2024-03-28 11:46:43 -05:00 |
|
|
|
6122905949
|
replace tabs w/ spaces
|
2024-03-28 10:22:55 -05:00 |
|
|
|
fb43d04f8f
|
correct d3d11_debug check
|
2024-03-28 08:52:21 -05:00 |
|
|
|
81c4b10def
|
minor cleanup
|
2024-03-28 08:51:06 -05:00 |
|
|
|
cdb0d2bf58
|
minor tweaks
|
2024-03-28 08:44:27 -05:00 |
|
|
|
0a1761627b
|
camera debug drawing and less direct rel xform application
|
2024-03-20 13:36:57 -05:00 |
|
|
|
c6ca5c0c9a
|
viewport scaling by camera size
|
2024-03-19 21:17:49 -05:00 |
|
|
|
b53dfe93f8
|
fix window dimensions when coming out of fulscreen
|
2024-03-19 19:40:48 -05:00 |
|
|
|
5f0c315d3f
|
add simple borderless fullscreen
|
2024-03-18 02:44:16 -05:00 |
|
|
|
e3ffcaa2a1
|
render to aspect-ratio-locked viewport
|
2024-03-18 00:54:00 -05:00 |
|
|
|
4a68e0c6c7
|
begin aspect ratio work
|
2024-03-15 23:16:54 -05:00 |
|
|
|
ba7769fba9
|
make published tick id atomic
|
2024-03-15 23:16:39 -05:00 |
|
|
|
3b0cdfd1f4
|
more fleshed out atomics for i32, i64, u32, u64
|
2024-03-15 22:37:49 -05:00 |
|
|
|
edadca820a
|
clip cursor by crosshair dimensions
|
2024-03-15 17:47:25 -05:00 |
|
|
|
8b5b32ba76
|
add args to cursor clip set, stop rounding screen size to even number
|
2024-03-15 17:35:42 -05:00 |
|
|
|
744a6f8d65
|
use cursor position as aim direction
|
2024-03-15 16:52:40 -05:00 |
|
|
|
39f7b09036
|
ln, exp, pow, camera lerping
|
2024-03-15 01:10:24 -05:00 |
|
|
|
fa6df3152c
|
add interp enable def in config
|
2024-03-14 14:00:25 -05:00 |
|
|
|
1d2e7c0b9f
|
hash fnv from seed
|
2024-03-14 13:28:31 -05:00 |
|
|
|
fd486bb71b
|
remove 'view' type, replace with xform
|
2024-03-14 01:08:55 -05:00 |
|
|
|
808e106f78
|
draw debug lines on screen canvas
|
2024-03-13 23:17:07 -05:00 |
|
|
|
e91a66f5b3
|
xform movement & focus directions by world view basis
|
2024-03-13 23:08:18 -05:00 |
|
|
|
181f8258fe
|
keep mouse in window instead of setting cursor pos to center
|
2024-03-13 22:26:28 -05:00 |
|
|
|
bdd8db60c3
|
player focus dir relative to player. raw mouse input. crosshair.
|
2024-03-13 21:44:25 -05:00 |
|
|
|
aa8dd7a4fa
|
minor tweaks
|
2024-03-13 15:10:16 -05:00 |
|
|
|
bac001947b
|
interp tick ratio rather than time offset. set world tick timestamp at beginning of frame
|
2024-03-13 14:00:56 -05:00 |
|
|
|
8f33957bf9
|
use a blend time for interpolation
|
2024-03-13 13:15:20 -05:00 |
|
|
|
85ff4d5e2e
|
minor cleanup
|
2024-03-12 11:50:59 -05:00 |
|
|
|
536d1f602b
|
resource debug lvar
|
2024-03-11 21:47:55 -05:00 |
|
|
|
efa639c971
|
separate entity handling from world to new entity_store
|
2024-03-11 20:55:49 -05:00 |
|
|
|
495d7c97ee
|
testing
|
2024-03-11 20:11:12 -05:00 |
|
|
|
c602220707
|
draw debug motion arrows
|
2024-03-11 19:48:51 -05:00 |
|
|
|
4f52d24c94
|
rename ui_canvas -> screen_canvas
|
2024-03-11 19:43:17 -05:00 |
|
|
|
0f67701761
|
proper xform tree iteration
|
2024-03-11 19:39:26 -05:00 |
|
|
|
ff3fbecc10
|
push debug info to temp arena
|
2024-03-11 13:49:24 -05:00 |
|
|
|
452e922e23
|
rework animation logic, don't loop increasingly as time goes on
|
2024-03-11 13:21:31 -05:00 |
|
|
|
76c609f8d5
|
fix entities arena not growing
|
2024-03-11 12:16:34 -05:00 |
|
|
|
adce14bbf3
|
rework tick -> world, move related logic from game into world api
|
2024-03-08 19:56:34 -06:00 |
|
|
|
8a2c40c817
|
rename cpy -> copy
|
2024-03-08 17:41:39 -06:00 |
|
|
|
c78635f499
|
minor cleanup
|
2024-03-08 17:39:07 -06:00 |
|
|
|
8f3aaba794
|
alter DEBUG_LVAR semantics
|
2024-03-08 17:19:09 -06:00 |
|
|
|
b5433abf22
|
add nil entity macros
|
2024-03-08 17:09:55 -06:00 |
|
|
|
46495d5815
|
rework sprite_trs -> sprite_xform
|
2024-03-08 15:56:07 -06:00 |
|
|
|
ba4dafcb4d
|
convert entity rel_trs -> rel_xform
|
2024-03-08 11:50:28 -06:00 |
|
|
|
2a7146c8c9
|
xform macros
|
2024-03-07 16:17:11 -06:00 |
|
|
|
650c5cd762
|
rename xform.t -> xform.tl
|
2024-03-07 16:02:43 -06:00 |
|
|
|
77421d7c09
|
change type mtx3x3 to xform
|
2024-03-07 15:43:51 -06:00 |
|
|
|
fa5fdbe955
|
fix memory error during optimization
|
2024-03-06 20:41:14 -06:00 |
|
|
|
ed9841c1b1
|
sprite tag / animating logic touchup
|
2024-03-06 19:26:00 -06:00 |
|
|
|
6b21649c74
|
fix ase reading pixels outside of frame
|
2024-03-06 17:21:24 -06:00 |
|
|
|
a25941d364
|
merge
|
2024-03-06 13:59:34 -06:00 |
|
|
|
8b8d01e67c
|
find camera entity before iterating
|
2024-03-06 13:08:23 -06:00 |
|
|
|
c5d0f8b6ea
|
player acceleration, debug draw & camera mode
|
2024-03-06 12:53:47 -06:00 |
|
|
|
a4dc273480
|
camera entity
|
2024-03-05 22:51:10 -06:00 |
|
|
|
255626f934
|
nil entity
|
2024-03-05 18:05:14 -06:00 |
|
|
|
f260bf6579
|
fix fmod
|
2024-03-05 14:34:35 -06:00 |
|
|
|
48fef5ce2e
|
player movement
|
2024-03-05 13:21:50 -06:00 |
|
|
|
bb9b374471
|
entity trees, xform storing & lerping
|
2024-03-04 18:39:10 -06:00 |
|
|
|
e9dc6b2854
|
testing sprite scaling
|
2024-03-02 02:17:18 -06:00 |
|
|
|
fb2e026665
|
entity & sprite translation
|
2024-03-02 02:09:01 -06:00 |
|
|
|
7b2437889e
|
view zooming & panning
|
2024-02-29 19:01:51 -06:00 |
|
|
|
8284923173
|
initial commit
|
2024-02-29 16:01:51 -06:00 |
|