Martin Dørum
f1db1a121e
some redesign and getting rid of some warnings
hace 2 años
Martin Dørum
9eeb30960f
somewhat synchronize light server stuff
hace 3 años
Martin Dørum
1f787baf78
integrate shadows
hace 3 años
Martin Dørum
15f83881b1
background colors
hace 3 años
Martin Dørum
8b9076547b
better collision
hace 3 años
Martin Dørum
81cc6d6a9f
tune physics epsilon
hace 3 años
Martin Dørum
69bd2e4adc
fix more style things
hace 3 años
Martin Dørum
a3bb6ea0e7
fix lighting server ordering
hace 3 años
Martin Dørum
f8ad8b808a
draw rect
hace 3 años
Martin Dørum
164d7bde06
compute tile pos
hace 3 años
Martin Dørum
1903c82b50
probably shouldn't create another chunk texture every frame
hace 3 años
Martin Dørum
b7347d749d
some small stuff
hace 3 años
Martin Dørum
7b477216e7
chunk rendering
hace 3 años
Martin Dørum
b04d30022a
make everything work with proper matrix stuff
hace 3 años
Martin Dørum
9989e7f49b
better matrix operations
hace 3 años
Martin Dørum
33eda68f12
correctly position some things
hace 3 años
Martin Dørum
fb898427d9
hey, something draws to the screen now
hace 3 años
Martin Dørum
46fd6289e3
fix initialization order
hace 3 años
Martin Dørum
447d4e8d39
libswan and core.mod now compiles
hace 3 años
Martin Dørum
de5e49e700
rewrite mod and asset loading logic
hace 3 años
Martin Dørum
f01f0e1a96
some missing style things
hace 3 años
Martin Dørum
2348fe9f64
move item and tile to struct
hace 3 años
Martin Dørum
0db704582d
make style consistent
hace 3 años
Martin Dørum
b3eb668ef3
lighting fix
hace 3 años
Martin Dørum
025ac43e55
sunlight
hace 3 años
Martin Dørum
d3ca166d2f
more lighting
hace 3 años
Martin Dørum
293b05bade
lights are floats, range 0-1
hace 3 años
Martin Dørum
7bc2c743bc
some light smoothing
hace 3 años
Martin Dørum
86952836a5
a bit more lighting
hace 3 años
Martin Dørum
367880391e
include fixes
hace 3 años
Martin Dørum
c77bfb3262
light stuff
hace 3 años
Martin Dørum
8f2e3578ea
lighting
hace 3 años
Martin Dørum
d00aea0dca
more lighting
hace 3 años
Martin Dørum
2ddc6cb454
only update light for chunks which need it
hace 3 años
Martin Dørum
6e1b068d1c
update all chunks at once
hace 3 años
Martin Dørum
c9ce067e11
lighting changes
hace 3 años
Martin Dørum
b8fcf907d5
integrate lighting with swan
hace 3 años
Martin Dørum
569df98e5c
LightingThread -> LightServer
hace 3 años
Martin Dørum
f9aaf6e5c7
more lighting stuff
hace 3 años
Martin Dørum
102be7ec37
lighting system work
hace 3 años
Martin Dørum
262ca389fe
a kind of lighting effect
hace 3 años
Martin Dørum
e8315c9332
light map
hace 3 años
Martin Dørum
9dd2bc1337
remove PerfCounter, rely on tracy
hace 3 años
Martin Dørum
cc1c71717a
change InventoryTrait to new trait system
hace 4 años
Martin Dørum
b2fd4178df
new trait system, split Body into Body and Physics
hace 4 años
Martin Dørum
93ecc0a214
allow despawning entities
hace 4 años
Martin Dørum
9dfdf8541d
ridiculously fast relPost/chunkPos
hace 4 años
Martin Dørum
abc277b256
integrate tracy, cmake stuff, etc
hace 4 años
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
hace 4 años
Martin Dørum
976d9b4b9c
replace core::air with @::air
"@internal::" is also renamed to "@::" for libswan-internal stuff.
hace 4 años