Commit Graph

24 Commits

Author SHA1 Message Date
f67c2da37f
remove draw_debug since it doesn't work; add "puke" debug helper
linked lists don't have a measurable length. will use a persistent intangible for debug dumps in the future. `puke` however can be used at the CLI to dump a table. I need to write a `listpuke` variant too
2023-09-30 13:32:52 -07:00
da8a5b9589
update readme section 2023-09-30 13:06:34 -07:00
a58421bd19
once_next_frame helper
token and time inefficient for now, but might help reduce bugs later? dunno
2023-09-30 13:03:38 -07:00
e0b8386849
new events is now always valid to append to
also "vore" now resets the eaten list
2023-09-30 12:55:33 -07:00
2b02d2b94b
fix blast projectile for rearranged checks 2023-09-30 12:52:58 -07:00
c90b56b603
fix obvious bugs
not working: ship bounds, "blast" weapon
2023-09-30 02:48:18 -07:00
2e8bba2a0e
oops, tilde only means "not" in "not equals" 2023-09-30 02:18:19 -07:00
803062ef43
one-line if doesn't need end 2023-09-30 02:17:19 -07:00
b61fe936e3
lua ain't go 2023-09-30 02:16:24 -07:00
63c97d1bee
fix handling pships as an arraylist 2023-09-30 02:15:05 -07:00
814149ceec
methodize ship stuff, convert remaining add calls 2023-09-30 02:12:41 -07:00
3b8e86d0e7
drawgame via strip, remove bury_the_dead 2023-09-29 09:55:43 -07:00
1ba869b644
start replacing arrays with intrusive slists
`add` costs ten cycles. `push_back` isn't actually any better, but bury_the_dead can get pretty bad, especially for large arrays (like the bullets collections). also replacing the kill loop structure with the `strip` call removes a massive amount of code repetition that's costing me a lot of tokens. I think the final result is _probably_ actually slower because of function call overhead per iteration except when there are collisions on many frames; hopefully the headroom bought by the bucket collider is enough because I'm definitely going to need the tokens.
2023-09-29 01:10:16 -07:00
bd67006e3c
todo -- rectfill 2023-09-23 09:56:55 -07:00
81961ebd6d
label sections of The Plan 2023-09-13 00:24:48 -07:00
770420eeef
add dividers to make it more legible 2023-09-13 00:22:57 -07:00
362f1f06a6
basic roadmap 2023-09-13 00:21:53 -07:00
2f8703c487
another golf thing 2023-09-13 00:00:09 -07:00
7b0c2e0133
more golfing 2023-09-12 23:52:14 -07:00
5591068f1d
split trick on powcols, save more tokens 2023-09-12 23:44:33 -07:00
43e6160dbc
csvify some large tables
Steal the csv and usplit routines from Extreme Tetrom. Not yet using usplit.
2023-09-12 23:35:27 -07:00
44bc904ec2
the actual updated version 2023-09-12 22:49:01 -07:00
1785343de0
Starting state: my generic shmup engine from a while back 2023-09-12 22:40:48 -07:00
afcdc92e9d Initial commit 2023-09-13 05:37:53 +00:00