Martin Dørum
908e7be3b2
draw item stack entities
hace 3 años
Martin Dørum
69bd2e4adc
fix more style things
hace 3 años
Martin Dørum
447d4e8d39
libswan and core.mod now compiles
hace 3 años
Martin Dørum
de5e49e700
rewrite mod and asset loading logic
hace 3 años
Martin Dørum
0db704582d
make style consistent
hace 3 años
Martin Dørum
e20d10ee29
automatically center entity when spawning
hace 3 años
Martin Dørum
b2fd4178df
new trait system, split Body into Body and Physics
hace 4 años
Martin Dørum
93ecc0a214
allow despawning entities
hace 4 años
Martin Dørum
d25a7f8458
nicer entity ctors
hace 4 años
Martin Dørum
1fb53a1df3
event system
I know, I know, this segfaults on exit.
I need to make each mod subclass a Swan::Mod superclass
so that they can have EventListener structs which are
destroyed when the mod exits, and the mod has to exit
before the world goes away so that mods' EventListener
dtors can access their respective EventEmitters.
hace 4 años
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)
hace 4 años
Martin Dørum
491481e63a
more renaming
hace 4 años
Martin Dørum
3b2479c791
texture alpha/color mods
hace 4 años
Martin Dørum
d06bede011
rendering
hace 4 años
Martin Dørum
77a9aca716
slowly but surely approaching feature parity
hace 4 años
Martin Dørum
5d34c09ca3
at least it compiles now
hace 4 años
Martin Dørum
41acf5762e
much more reliable collisions
hace 4 años
Martin Dørum
e7437ef94c
randomness
hace 4 años
Martin Dørum
ba28d348d0
despawning, add dt to tick(), etc
hace 4 años
Martin Dørum
91d08dd9c7
PhysicsEntity
hace 4 años
Martin Dørum
95ac54ddc3
make Swan::Vector2 a struct
hace 4 años
Martin Dørum
51c031900d
make ItemStack visible
hace 4 años
Martin Dørum
92ef995116
visible entity, cmake stuff
hace 4 años
Martin Dørum
718281b35b
wow, that was many changes.
This should've been multiple commits, but hey, it's late.
hace 4 años