Martin Dørum
0db704582d
make style consistent
před 3 roky
Martin Dørum
d3ca166d2f
more lighting
před 3 roky
Martin Dørum
293b05bade
lights are floats, range 0-1
před 3 roky
Martin Dørum
86952836a5
a bit more lighting
před 3 roky
Martin Dørum
2cfa6b547f
make player emit light
před 3 roky
Martin Dørum
f040f51b04
fix PlayerEntity::get
před 3 roky
Martin Dørum
e20d10ee29
automatically center entity when spawning
před 3 roky
Martin Dørum
cc1c71717a
change InventoryTrait to new trait system
před 4 roky
Martin Dørum
b2fd4178df
new trait system, split Body into Body and Physics
před 4 roky
Martin Dørum
d25a7f8458
nicer entity ctors
před 4 roky
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.
před 4 roky
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)
před 4 roky
Martin Dørum
491481e63a
more renaming
před 4 roky
Martin Dørum
3f4040720d
minor stuff
před 4 roky
Martin Dørum
5794938993
inventory stuff mainly
před 4 roky
Martin Dørum
6347a737b3
FORCE -> MOVE_FORCE
před 4 roky
Martin Dørum
18265a30e2
number tweakings etc
před 4 roky
Martin Dørum
702ad886af
fall down with greater gravity
před 4 roky
Martin Dørum
77a9aca716
slowly but surely approaching feature parity
před 4 roky
Martin Dørum
5d34c09ca3
at least it compiles now
před 4 roky
Martin Dørum
41acf5762e
much more reliable collisions
před 4 roky
Martin Dørum
91d08dd9c7
PhysicsEntity
před 4 roky
Martin Dørum
1a5988bfd9
bounding box
před 4 roky
Martin Dørum
718281b35b
wow, that was many changes.
This should've been multiple commits, but hey, it's late.
před 4 roky
Martin Dørum
4ff0dbcc16
a bunch of SRF stuff, and use SRF for entity params
před 4 roky
Martin Dørum
c78891fe7f
Swan::Context
před 4 roky
Martin Dørum
294a3528b9
add the ability to compress chunks
před 4 roky
Martin Dørum
81d20fca74
remove break_timer_ and jmup_timer_
před 4 roky
Martin Dørum
18f421f540
bigger chunks, terminal velocity
před 4 roky
Martin Dørum
45870840db
some restructuring, and break blocks
před 4 roky
Martin Dørum
e01584038f
get tile at mouse position
před 4 roky
Martin Dørum
3e07ceb91f
better collision
před 4 roky
Martin Dørum
6a19a4cc46
a bunch of stuff ok
před 4 roky
Martin Dørum
647cded803
animation stuff, scaling, etc
před 4 roky
Martin Dørum
42bca1603a
world gen and player stuff
před 4 roky
Martin Dørum
da5d36d49e
more changes
před 4 roky
Martin Dørum
7f4dedb8f2
let's just use C++17 ok
před 4 roky
Martin Dørum
9c3a2496e4
entities
před 4 roky