Martin Dørum
9dd2bc1337
remove PerfCounter, rely on tracy
pirms 3 gadiem
Martin Dørum
ca56ba165b
some tracy stuff
pirms 3 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
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
056579e6be
cave background stuff
pirms 4 gadiem
Martin Dørum
246dae6cb9
fix imgui_sdl
pirms 4 gadiem
Martin Dørum
1e8a87930a
small stuff
pirms 4 gadiem
Martin Dørum
ce70c058aa
mostly performance stuff
pirms 4 gadiem
Martin Dørum
3f4040720d
minor stuff
pirms 4 gadiem
Martin Dørum
55e1bb4d41
maybe this is better?
pirms 4 gadiem
Martin Dørum
d951cbe6ef
plots
pirms 4 gadiem
Martin Dørum
1a64feb187
just a bunch of stuff
pirms 4 gadiem
Martin Dørum
a6267cd1ae
zooming, and nicer input handling
pirms 4 gadiem
Martin Dørum
c6ffa3c7d5
basic imgui integration (now with SDL)
pirms 4 gadiem
Martin Dørum
49b180cea4
tiny stuff
pirms 4 gadiem
Martin Dørum
a083706f6e
RenderSetLogicalSize to handle HiDPI
pirms 4 gadiem
Martin Dørum
5507e856a8
sometimes run multiple physics updates in one frame
pirms 4 gadiem
Martin Dørum
32265a6091
cli options
pirms 4 gadiem
Martin Dørum
c912485f2c
show icon
pirms 4 gadiem
Martin Dørum
aa3b7ffa87
add a max delta time
pirms 4 gadiem
Martin Dørum
77a9aca716
slowly but surely approaching feature parity
pirms 4 gadiem
Martin Dørum
2a016c2c5f
replace fprintf with log.h stuff
pirms 4 gadiem
Martin Dørum
0f23914e7f
SDL stuff
pirms 4 gadiem
Martin Dørum
45f15cf3f9
makeRaiiPtr and makeDeferred
pirms 4 gadiem
Martin Dørum
c527655e79
almost ported to SDL
pirms 4 gadiem
Martin Dørum
e782d5b1af
more progress on sfml -> sdl
pirms 4 gadiem
Martin Dørum
e71e20c6c5
WIP, rewriting stuff to use SDL instead of SFML
pirms 4 gadiem
Martin Dørum
e1fef8792e
integrate imgui, and associated build system work
pirms 4 gadiem
Martin Dørum
3902a2d652
move Win into its own thing, make vector stuff constexpr
pirms 4 gadiem
Martin Dørum
ba28d348d0
despawning, add dt to tick(), etc
pirms 4 gadiem
Martin Dørum
8b028cfdd2
new input handling stuff
pirms 4 gadiem
Martin Dørum
bc0f62c44d
hey, music
pirms 4 gadiem
Martin Dørum
45870840db
some restructuring, and break blocks
pirms 4 gadiem
Martin Dørum
e01584038f
get tile at mouse position
pirms 4 gadiem
Martin Dørum
735c797de4
icon
pirms 4 gadiem
Martin Dørum
fe5530cfeb
less annoying high DT warning
pirms 4 gadiem
Martin Dørum
cb83477950
more chunk gen stuff, world gen stuff, etc
pirms 4 gadiem
Martin Dørum
da5d36d49e
more changes
pirms 4 gadiem
Martin Dørum
9c3a2496e4
entities
pirms 4 gadiem
Martin Dørum
b2a0559818
entities, and changes to worldgen
pirms 4 gadiem
Martin Dørum
7579d04fb6
world gens and a bunch of stuff
pirms 4 gadiem
Martin Dørum
c68e686ae1
limit delta time
pirms 4 gadiem
Martin Dørum
4824b8d553
naming things, and std::map of chunks
pirms 4 gadiem
Martin Dørum
6aee9762b1
hey
pirms 4 gadiem
Martin Dørum
a5580d9882
ThingID -> ID
pirms 4 gadiem
Martin Dørum
d9a4bd8b8f
air
pirms 4 gadiem
Martin Dørum
09bb3eceb5
hey, drawing
pirms 4 gadiem
Martin Dørum
5bbe431f1b
almost ready to draw chunks!
pirms 4 gadiem
Martin Dørum
1ebc165245
cmake
pirms 4 gadiem