Martin Dørum
447d4e8d39
libswan and core.mod now compiles
pirms 3 gadiem
Martin Dørum
de5e49e700
rewrite mod and asset loading logic
pirms 3 gadiem
Martin Dørum
0db704582d
make style consistent
pirms 3 gadiem
Martin Dørum
86952836a5
a bit more lighting
pirms 3 gadiem
Martin Dørum
2cfa6b547f
make player emit light
pirms 3 gadiem
Martin Dørum
262ca389fe
a kind of lighting effect
pirms 3 gadiem
Martin Dørum
b2fd4178df
new trait system, split Body into Body and Physics
pirms 4 gadiem
Martin Dørum
d25a7f8458
nicer entity ctors
pirms 4 gadiem
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.
pirms 4 gadiem
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)
pirms 4 gadiem
Martin Dørum
491481e63a
more renaming
pirms 4 gadiem
Martin Dørum
ce70c058aa
mostly performance stuff
pirms 4 gadiem
Martin Dørum
5794938993
inventory stuff mainly
pirms 4 gadiem
Martin Dørum
6347a737b3
FORCE -> MOVE_FORCE
pirms 4 gadiem
Martin Dørum
18265a30e2
number tweakings etc
pirms 4 gadiem
Martin Dørum
702ad886af
fall down with greater gravity
pirms 4 gadiem
Martin Dørum
d06bede011
rendering
pirms 4 gadiem
Martin Dørum
aa3b7ffa87
add a max delta time
pirms 4 gadiem
Martin Dørum
77a9aca716
slowly but surely approaching feature parity
pirms 4 gadiem
Martin Dørum
c527655e79
almost ported to SDL
pirms 4 gadiem
Martin Dørum
401e069646
hey, this compiles now
pirms 4 gadiem
Martin Dørum
5d34c09ca3
at least it compiles now
pirms 4 gadiem
Martin Dørum
91d08dd9c7
PhysicsEntity
pirms 4 gadiem
Martin Dørum
95ac54ddc3
make Swan::Vector2 a struct
pirms 4 gadiem
Martin Dørum
718281b35b
wow, that was many changes.
This should've been multiple commits, but hey, it's late.
pirms 4 gadiem
Martin Dørum
4ff0dbcc16
a bunch of SRF stuff, and use SRF for entity params
pirms 4 gadiem
Martin Dørum
8b028cfdd2
new input handling stuff
pirms 4 gadiem
Martin Dørum
c78891fe7f
Swan::Context
pirms 4 gadiem
Martin Dørum
81d20fca74
remove break_timer_ and jmup_timer_
pirms 4 gadiem
Martin Dørum
45870840db
some restructuring, and break blocks
pirms 4 gadiem
Martin Dørum
e01584038f
get tile at mouse position
pirms 4 gadiem
Martin Dørum
6a19a4cc46
a bunch of stuff ok
pirms 4 gadiem
Martin Dørum
647cded803
animation stuff, scaling, etc
pirms 4 gadiem
Martin Dørum
42bca1603a
world gen and player stuff
pirms 4 gadiem
Martin Dørum
7f4dedb8f2
let's just use C++17 ok
pirms 4 gadiem
Martin Dørum
9c3a2496e4
entities
pirms 4 gadiem