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