Andrei Alexeyev
f9c2748fae
memory/mempool: pass arena pointer to acquire() instead of storing in struct
2024-06-05 22:07:17 +02:00
Andrei Alexeyev
b81f338d2d
stageobjects: add type-based macros for acquiring from/releasing into the correct pool
2024-06-05 21:58:58 +02:00
Andrei Alexeyev
13ace0e5c0
memory/mempool: refactor to avoid storing object size and alignment in struct
...
Works similarly to DYNAMMIC_ARRAY(type)
2024-06-05 21:16:02 +02:00
Andrei Alexeyev
05168ac2d7
memory/mempool: rename from objectpool
2024-06-05 18:35:08 +02:00
Andrei Alexeyev
8b37d1cbf2
src: the great #include massacre of 2024
2024-05-17 14:11:48 +02:00
Andrei Alexeyev
be7905d6a3
src: run upkeep
2024-05-17 04:58:47 +02:00
Andrei Alexeyev
df6b97caf7
stageobjects,objectpool: simplify and reimplement on top of arenas
...
All pools now allocate from the same arena that is initialized once with
8MB of initial space and never deallocated, only reset between stages.
2023-04-07 16:08:49 +02:00
Andrei Alexeyev
8d2ee76710
replace include guards with #pragma once
2021-08-31 23:34:46 +03:00
Andrei Alexeyev
41dc16993b
Use an objpool for bosses
...
The primary reason is to avoid a use-after-free when something tries to
unbox a dead boss reference.
2021-03-22 17:40:23 +02:00
Andrei Alexeyev
5a23fb95fc
make upkeep script preserve existing copyrights
2019-08-03 20:44:22 +03:00
Andrei Alexeyev
3055901998
update my email
2019-07-03 21:00:56 +03:00
Andrei Alexeyev
488ff43f85
add optional floating scoring text
2019-04-07 01:55:13 +03:00
Andrei Alexeyev
4159ea1249
'upkeep' target for maintenance tasks; back to include guards; happy new year!
2019-01-23 22:10:43 +02:00
Andrei Alexeyev
513d613387
Consistent indentation: indent with tabs, align with spaces ( #104 )
...
I would've preferred to just go with 4-spaces for indent and no tabs,
but lao is a bit conservative about it. :^)
Still, this is a ton better than mixing different styles all over the
place, especially within the same file.
2018-01-12 20:26:07 +02:00
Andrei Alexeyev
485c9a8ed6
Happy New Year!
2018-01-04 19:14:31 +02:00
laochailan
e2b5e0a006
remove the aniplayer object pool
2017-12-30 10:44:40 +01:00
Andrei Alexeyev
2a9291f7f5
auto-add missing include (update-copyright.py)
2017-12-21 03:58:54 +01:00
Andrei Alexeyev
bae77d38e8
run update-copyright.py
2017-12-20 20:53:09 +02:00
Andrei Alexeyev
abbc62b49c
object pools
2017-12-13 21:08:23 +02:00