Martin Dørum
908e7be3b2
draw item stack entities
3 jaren geleden
Martin Dørum
69bd2e4adc
fix more style things
3 jaren geleden
Martin Dørum
447d4e8d39
libswan and core.mod now compiles
3 jaren geleden
Martin Dørum
de5e49e700
rewrite mod and asset loading logic
3 jaren geleden
Martin Dørum
0db704582d
make style consistent
3 jaren geleden
Martin Dørum
e20d10ee29
automatically center entity when spawning
3 jaren geleden
Martin Dørum
b2fd4178df
new trait system, split Body into Body and Physics
4 jaren geleden
Martin Dørum
93ecc0a214
allow despawning entities
4 jaren geleden
Martin Dørum
d25a7f8458
nicer entity ctors
4 jaren geleden
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.
4 jaren geleden
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 jaren geleden
Martin Dørum
491481e63a
more renaming
4 jaren geleden
Martin Dørum
3b2479c791
texture alpha/color mods
4 jaren geleden
Martin Dørum
d06bede011
rendering
4 jaren geleden
Martin Dørum
77a9aca716
slowly but surely approaching feature parity
4 jaren geleden
Martin Dørum
5d34c09ca3
at least it compiles now
4 jaren geleden
Martin Dørum
41acf5762e
much more reliable collisions
4 jaren geleden
Martin Dørum
e7437ef94c
randomness
4 jaren geleden
Martin Dørum
ba28d348d0
despawning, add dt to tick(), etc
4 jaren geleden
Martin Dørum
91d08dd9c7
PhysicsEntity
4 jaren geleden
Martin Dørum
95ac54ddc3
make Swan::Vector2 a struct
4 jaren geleden
Martin Dørum
51c031900d
make ItemStack visible
4 jaren geleden
Martin Dørum
92ef995116
visible entity, cmake stuff
4 jaren geleden
Martin Dørum
718281b35b
wow, that was many changes.
This should've been multiple commits, but hey, it's late.
4 jaren geleden