Martin Dørum
26710f25f7
I don't know
пре 3 година
Martin Dørum
10c84289a7
don't store sx/sy
пре 3 година
Martin Dørum
3ebcfc6a36
scale individual elements
пре 3 година
Martin Dørum
b4e194fe98
resize changes
пре 3 година
Martin Dørum
72399ea76c
resizing
пре 3 година
Martin Dørum
44fc1f3748
RenderQueue and transformation matrixes and stuff
пре 3 година
Martin Dørum
9dd2bc1337
remove PerfCounter, rely on tracy
пре 3 година
Martin Dørum
f040f51b04
fix PlayerEntity::get
пре 3 година
Martin Dørum
ca56ba165b
some tracy stuff
пре 3 година
Martin Dørum
e20d10ee29
automatically center entity when spawning
пре 3 година
Martin Dørum
719e391df8
lots of cygnet stuff
пре 3 година
Martin Dørum
8ad02a78cb
fix coordinate system confusion
пре 4 година
Martin Dørum
afbca0d590
aha, need 4-byte aligned strides
пре 4 година
Martin Dørum
c81d8bd54e
progress, and almost-working hello-texture sample
пре 4 година
Martin Dørum
090fb8bb59
variadic GlProgram instead of initializer_list
пре 4 година
Martin Dørum
c52aaa0c68
deferred
пре 4 година
Martin Dørum
84eb225142
libcygnets and hello-triangle
пре 4 година
Martin Dørum
cc1c71717a
change InventoryTrait to new trait system
пре 4 година
Martin Dørum
b2fd4178df
new trait system, split Body into Body and Physics
пре 4 година
Martin Dørum
93ecc0a214
allow despawning entities
пре 4 година
Martin Dørum
9dfdf8541d
ridiculously fast relPost/chunkPos
пре 4 година
Martin Dørum
417064c7f4
tracy on demand
пре 4 година
Martin Dørum
abc277b256
integrate tracy, cmake stuff, etc
пре 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
c108c704ca
cmake stuff
пре 4 година
Martin Dørum
976d9b4b9c
replace core::air with @::air
"@internal::" is also renamed to "@::" for libswan-internal stuff.
пре 4 година
Martin Dørum
07c46110e5
removed unused line
пре 4 година
Martin Dørum
e9c9c862e8
mods are responsible for creating the mod object now, not just init
пре 4 година
Martin Dørum
d25a7f8458
nicer entity ctors
пре 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
56e541b9b2
renderbuf is vestigial
пре 4 година
Martin Dørum
24b8fdcd8d
more optimization
пре 4 година
Martin Dørum
08d7346d5b
optimization
пре 4 година
Martin Dørum
e03e9071b8
fix some collision stuff
пре 4 година
Martin Dørum
d6e70b49d5
always clear texture
пре 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
b505a28a6f
new deps
пре 4 година
Martin Dørum
491481e63a
more renaming
пре 4 година
Martin Dørum
253c24148e
WGDefault -> DefaultWorldGen
пре 4 година
Martin Dørum
be5ac63730
visuals
пре 4 година
Martin Dørum
bb1817ac7a
texture stuff
пре 4 година
Martin Dørum
9f6f2abd9b
deeper
пре 4 година
Martin Dørum
056579e6be
cave background stuff
пре 4 година
Martin Dørum
f6c5526b94
delete instead of compressing unmodified chunks
пре 4 година
Martin Dørum
903774f7a7
caves
пре 4 година
Martin Dørum
743d7e3435
fix thing
пре 4 година
Martin Dørum
6adf67043f
oh go on then, have 32x32 chunks
пре 4 година
Martin Dørum
246dae6cb9
fix imgui_sdl
пре 4 година
Martin Dørum
1e8a87930a
small stuff
пре 4 година
Martin Dørum
ce70c058aa
mostly performance stuff
пре 4 година