Martin Dørum
0db704582d
make style consistent
il y a 3 ans
Martin Dørum
b3eb668ef3
lighting fix
il y a 3 ans
Martin Dørum
025ac43e55
sunlight
il y a 3 ans
Martin Dørum
d3ca166d2f
more lighting
il y a 3 ans
Martin Dørum
293b05bade
lights are floats, range 0-1
il y a 3 ans
Martin Dørum
7bc2c743bc
some light smoothing
il y a 3 ans
Martin Dørum
86952836a5
a bit more lighting
il y a 3 ans
Martin Dørum
367880391e
include fixes
il y a 3 ans
Martin Dørum
c77bfb3262
light stuff
il y a 3 ans
Martin Dørum
8f2e3578ea
lighting
il y a 3 ans
Martin Dørum
d00aea0dca
more lighting
il y a 3 ans
Martin Dørum
2ddc6cb454
only update light for chunks which need it
il y a 3 ans
Martin Dørum
6e1b068d1c
update all chunks at once
il y a 3 ans
Martin Dørum
c9ce067e11
lighting changes
il y a 3 ans
Martin Dørum
b8fcf907d5
integrate lighting with swan
il y a 3 ans
Martin Dørum
569df98e5c
LightingThread -> LightServer
il y a 3 ans
Martin Dørum
f9aaf6e5c7
more lighting stuff
il y a 3 ans
Martin Dørum
102be7ec37
lighting system work
il y a 3 ans
Martin Dørum
262ca389fe
a kind of lighting effect
il y a 3 ans
Martin Dørum
e8315c9332
light map
il y a 3 ans
Martin Dørum
9dd2bc1337
remove PerfCounter, rely on tracy
il y a 3 ans
Martin Dørum
cc1c71717a
change InventoryTrait to new trait system
il y a 4 ans
Martin Dørum
b2fd4178df
new trait system, split Body into Body and Physics
il y a 4 ans
Martin Dørum
93ecc0a214
allow despawning entities
il y a 4 ans
Martin Dørum
9dfdf8541d
ridiculously fast relPost/chunkPos
il y a 4 ans
Martin Dørum
abc277b256
integrate tracy, cmake stuff, etc
il y a 4 ans
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
il y a 4 ans
Martin Dørum
976d9b4b9c
replace core::air with @::air
"@internal::" is also renamed to "@::" for libswan-internal stuff.
il y a 4 ans
Martin Dørum
e9c9c862e8
mods are responsible for creating the mod object now, not just init
il y a 4 ans
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.
il y a 4 ans
Martin Dørum
56e541b9b2
renderbuf is vestigial
il y a 4 ans
Martin Dørum
24b8fdcd8d
more optimization
il y a 4 ans
Martin Dørum
08d7346d5b
optimization
il y a 4 ans
Martin Dørum
e03e9071b8
fix some collision stuff
il y a 4 ans
Martin Dørum
d6e70b49d5
always clear texture
il y a 4 ans
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)
il y a 4 ans
Martin Dørum
253c24148e
WGDefault -> DefaultWorldGen
il y a 4 ans
Martin Dørum
be5ac63730
visuals
il y a 4 ans
Martin Dørum
056579e6be
cave background stuff
il y a 4 ans
Martin Dørum
f6c5526b94
delete instead of compressing unmodified chunks
il y a 4 ans
Martin Dørum
1e8a87930a
small stuff
il y a 4 ans
Martin Dørum
ce70c058aa
mostly performance stuff
il y a 4 ans
Martin Dørum
55e1bb4d41
maybe this is better?
il y a 4 ans
Martin Dørum
ab8b5fb9f1
tiny perf counter change
il y a 4 ans
Martin Dørum
d951cbe6ef
plots
il y a 4 ans
Martin Dørum
1a64feb187
just a bunch of stuff
il y a 4 ans
Martin Dørum
bcc6e9f421
make clang-tidy happier
il y a 4 ans
Martin Dørum
a6267cd1ae
zooming, and nicer input handling
il y a 4 ans
Martin Dørum
c6ffa3c7d5
basic imgui integration (now with SDL)
il y a 4 ans
Martin Dørum
5794938993
inventory stuff mainly
il y a 4 ans