Martin Dørum
15f83881b1
background colors
пре 3 година
Martin Dørum
46fd6289e3
fix initialization order
пре 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
f01f0e1a96
some missing style things
пре 3 година
Martin Dørum
0db704582d
make style consistent
пре 3 година
Martin Dørum
b8fcf907d5
integrate lighting with swan
пре 3 година
Martin Dørum
b2fd4178df
new trait system, split Body into Body and Physics
пре 4 година
Martin Dørum
4a8694dc27
store entities contiguously in memory
There are still some things left to do:
* Implement despawn
* Maybe shrink SlotVector if there's a lot more free slots than occupied slots
* Implement iteration over entities
пре 4 година
Martin Dørum
e9c9c862e8
mods are responsible for creating the mod object now, not just init
пре 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
24b8fdcd8d
more optimization
пре 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
056579e6be
cave background stuff
пре 4 година
Martin Dørum
3b4ce891fe
traits
пре 4 година
Martin Dørum
5d92544963
resource stuff
пре 4 година
Martin Dørum
c527655e79
almost ported to SDL
пре 4 година
Martin Dørum
e71e20c6c5
WIP, rewriting stuff to use SDL instead of SFML
пре 4 година
Martin Dørum
e7437ef94c
randomness
пре 4 година
Martin Dørum
362adf6171
clang-tidy
пре 4 година
Martin Dørum
ba28d348d0
despawning, add dt to tick(), etc
пре 4 година
Martin Dørum
c78891fe7f
Swan::Context
пре 4 година
Martin Dørum
21926981f9
items
пре 4 година
Martin Dørum
294a3528b9
add the ability to compress chunks
пре 4 година
Martin Dørum
e01584038f
get tile at mouse position
пре 4 година
Martin Dørum
11406a6680
use INVALID_* rather than null
пре 4 година
Martin Dørum
fa91b4ad83
remove TileMap
пре 4 година
Martin Dørum
6a19a4cc46
a bunch of stuff ok
пре 4 година
Martin Dørum
998289c194
better chunk thing
пре 4 година
Martin Dørum
cb83477950
more chunk gen stuff, world gen stuff, etc
пре 4 година
Martin Dørum
da5d36d49e
more changes
пре 4 година
Martin Dørum
531ef29c4a
styling stuff, adding some privates, etc
пре 4 година
Martin Dørum
9c3a2496e4
entities
пре 4 година
Martin Dørum
b2a0559818
entities, and changes to worldgen
пре 4 година
Martin Dørum
7579d04fb6
world gens and a bunch of stuff
пре 4 година
Martin Dørum
a5580d9882
ThingID -> ID
пре 4 година
Martin Dørum
09bb3eceb5
hey, drawing
пре 4 година
Martin Dørum
5bbe431f1b
almost ready to draw chunks!
пре 4 година
Martin Dørum
19293a67b2
libswan, core mod, etc
пре 4 година
Martin Dørum
ed14ce3f47
working title: Swan
пре 4 година
Martin Dørum
3517204077
chunk stuff and such
пре 4 година
Martin Dørum
42804b32e7
actual game idea and stuff
пре 4 година