Martin Dørum
4a8694dc27
store entities contiguously in memory
There are still some things left to do:
* Implement despawn
* Maybe shrink SlotVector if there's a lot more free slots than occupied slots
* Implement iteration over entities
4 年之前
Martin Dørum
d808b8bcfb
this is a big one
* reworked some resource loading and mod init stuff
* texetures are now configured at runtime via .toml files
* moved from SRF to messagepack
* changed folder structures
* added the fmt library (for later)
4 年之前
Martin Dørum
5794938993
inventory stuff mainly
4 年之前
Martin Dørum
3b4ce891fe
traits
4 年之前
Martin Dørum
aa3b7ffa87
add a max delta time
4 年之前
Martin Dørum
39431584f2
add missing override
4 年之前
Martin Dørum
41acf5762e
much more reliable collisions
4 年之前
Martin Dørum
362adf6171
clang-tidy
4 年之前
Martin Dørum
ba28d348d0
despawning, add dt to tick(), etc
4 年之前
Martin Dørum
597bc42abd
spawn ents in the middle of blocks
4 年之前
Martin Dørum
91d08dd9c7
PhysicsEntity
4 年之前
Martin Dørum
63f39192e9
spawn_list_
4 年之前
Martin Dørum
1a5988bfd9
bounding box
4 年之前
Martin Dørum
718281b35b
wow, that was many changes.
This should've been multiple commits, but hey, it's late.
4 年之前
Martin Dørum
4ff0dbcc16
a bunch of SRF stuff, and use SRF for entity params
4 年之前
Martin Dørum
c78891fe7f
Swan::Context
4 年之前
Martin Dørum
e01584038f
get tile at mouse position
4 年之前
Martin Dørum
6a19a4cc46
a bunch of stuff ok
4 年之前
Martin Dørum
da5d36d49e
more changes
4 年之前
Martin Dørum
531ef29c4a
styling stuff, adding some privates, etc
4 年之前
Martin Dørum
9c3a2496e4
entities
4 年之前
Martin Dørum
b2a0559818
entities, and changes to worldgen
4 年之前