Martin Dørum
15f83881b1
background colors
před 3 roky
Martin Dørum
a3bb6ea0e7
fix lighting server ordering
před 3 roky
Martin Dørum
447d4e8d39
libswan and core.mod now compiles
před 3 roky
Martin Dørum
0db704582d
make style consistent
před 3 roky
Martin Dørum
293b05bade
lights are floats, range 0-1
před 3 roky
Martin Dørum
c9ce067e11
lighting changes
před 3 roky
Martin Dørum
b8fcf907d5
integrate lighting with swan
před 3 roky
Martin Dørum
569df98e5c
LightingThread -> LightServer
před 3 roky
Martin Dørum
102be7ec37
lighting system work
před 3 roky
Martin Dørum
262ca389fe
a kind of lighting effect
před 3 roky
Martin Dørum
93ecc0a214
allow despawning entities
před 4 roky
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
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
24b8fdcd8d
more optimization
před 4 roky
Martin Dørum
08d7346d5b
optimization
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
056579e6be
cave background stuff
před 4 roky
Martin Dørum
ce70c058aa
mostly performance stuff
před 4 roky
Martin Dørum
5794938993
inventory stuff mainly
před 4 roky
Martin Dørum
ca776fc1ba
get all ents which implement a trait
před 4 roky
Martin Dørum
656f558744
getEntsInArea
před 4 roky
Martin Dørum
3b4ce891fe
traits
před 4 roky
Martin Dørum
362adf6171
clang-tidy
před 4 roky
Martin Dørum
ba28d348d0
despawning, add dt to tick(), etc
před 4 roky
Martin Dørum
63f39192e9
spawn_list_
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
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
fa91b4ad83
remove TileMap
před 4 roky
Martin Dørum
3e07ceb91f
better collision
před 4 roky
Martin Dørum
cb83477950
more chunk gen stuff, world gen stuff, etc
před 4 roky
Martin Dørum
33493a2083
ints -> TilePos and ChunkPos
před 4 roky
Martin Dørum
da5d36d49e
more changes
před 4 roky
Martin Dørum
531ef29c4a
styling stuff, adding some privates, etc
před 4 roky
Martin Dørum
9c3a2496e4
entities
před 4 roky
Martin Dørum
b2a0559818
entities, and changes to worldgen
před 4 roky
Martin Dørum
9750fb49fa
stuff
před 4 roky
Martin Dørum
065dee1126
a bunch of stuff
před 4 roky
Martin Dørum
7579d04fb6
world gens and a bunch of stuff
před 4 roky
Martin Dørum
78bd1112be
basic collision
před 4 roky
Martin Dørum
4824b8d553
naming things, and std::map of chunks
před 4 roky
Martin Dørum
a5580d9882
ThingID -> ID
před 4 roky
Martin Dørum
09bb3eceb5
hey, drawing
před 4 roky
Martin Dørum
5bbe431f1b
almost ready to draw chunks!
před 4 roky
Martin Dørum
19293a67b2
libswan, core mod, etc
před 4 roky
Martin Dørum
ed14ce3f47
working title: Swan
před 4 roky
Martin Dørum
3517204077
chunk stuff and such
před 4 roky