Martin Dørum
0a6a4b72c2
fix tracy gitmodule path
pirms 3 gadiem
Martin Dørum
8f2e3578ea
lighting
pirms 3 gadiem
Martin Dørum
d00aea0dca
more lighting
pirms 3 gadiem
Martin Dørum
2ddc6cb454
only update light for chunks which need it
pirms 3 gadiem
Martin Dørum
6e1b068d1c
update all chunks at once
pirms 3 gadiem
Martin Dørum
c9ce067e11
lighting changes
pirms 3 gadiem
Martin Dørum
2cfa6b547f
make player emit light
pirms 3 gadiem
Martin Dørum
b8fcf907d5
integrate lighting with swan
pirms 3 gadiem
Martin Dørum
d5b870ed8f
add debug symbols to Release, remove DebugRelease
pirms 3 gadiem
Martin Dørum
569df98e5c
LightingThread -> LightServer
pirms 3 gadiem
Martin Dørum
f9aaf6e5c7
more lighting stuff
pirms 3 gadiem
Martin Dørum
102be7ec37
lighting system work
pirms 3 gadiem
Martin Dørum
262ca389fe
a kind of lighting effect
pirms 3 gadiem
Martin Dørum
e8315c9332
light map
pirms 3 gadiem
Martin Dørum
da49c89543
add --gles
pirms 3 gadiem
Martin Dørum
aa58a03e71
ditch libcygnet (for now?)
pirms 3 gadiem
Martin Dørum
10c84289a7
don't store sx/sy
pirms 3 gadiem
Martin Dørum
3ebcfc6a36
scale individual elements
pirms 3 gadiem
Martin Dørum
b4e194fe98
resize changes
pirms 3 gadiem
Martin Dørum
72399ea76c
resizing
pirms 3 gadiem
Martin Dørum
44fc1f3748
RenderQueue and transformation matrixes and stuff
pirms 3 gadiem
Martin Dørum
9dd2bc1337
remove PerfCounter, rely on tracy
pirms 3 gadiem
Martin Dørum
f040f51b04
fix PlayerEntity::get
pirms 3 gadiem
Martin Dørum
ca56ba165b
some tracy stuff
pirms 3 gadiem
Martin Dørum
e20d10ee29
automatically center entity when spawning
pirms 3 gadiem
Martin Dørum
719e391df8
lots of cygnet stuff
pirms 3 gadiem
Martin Dørum
8ad02a78cb
fix coordinate system confusion
pirms 4 gadiem
Martin Dørum
afbca0d590
aha, need 4-byte aligned strides
pirms 4 gadiem
Martin Dørum
c81d8bd54e
progress, and almost-working hello-texture sample
pirms 4 gadiem
Martin Dørum
090fb8bb59
variadic GlProgram instead of initializer_list
pirms 4 gadiem
Martin Dørum
c52aaa0c68
deferred
pirms 4 gadiem
Martin Dørum
84eb225142
libcygnets and hello-triangle
pirms 4 gadiem
Martin Dørum
cc1c71717a
change InventoryTrait to new trait system
pirms 4 gadiem
Martin Dørum
b2fd4178df
new trait system, split Body into Body and Physics
pirms 4 gadiem
Martin Dørum
93ecc0a214
allow despawning entities
pirms 4 gadiem
Martin Dørum
9dfdf8541d
ridiculously fast relPost/chunkPos
pirms 4 gadiem
Martin Dørum
417064c7f4
tracy on demand
pirms 4 gadiem
Martin Dørum
abc277b256
integrate tracy, cmake stuff, etc
pirms 4 gadiem
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
pirms 4 gadiem
Martin Dørum
c108c704ca
cmake stuff
pirms 4 gadiem
Martin Dørum
976d9b4b9c
replace core::air with @::air
"@internal::" is also renamed to "@::" for libswan-internal stuff.
pirms 4 gadiem
Martin Dørum
07c46110e5
removed unused line
pirms 4 gadiem
Martin Dørum
e9c9c862e8
mods are responsible for creating the mod object now, not just init
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
56e541b9b2
renderbuf is vestigial
pirms 4 gadiem
Martin Dørum
24b8fdcd8d
more optimization
pirms 4 gadiem
Martin Dørum
08d7346d5b
optimization
pirms 4 gadiem
Martin Dørum
e03e9071b8
fix some collision stuff
pirms 4 gadiem
Martin Dørum
d6e70b49d5
always clear texture
pirms 4 gadiem