Martin Dørum
cbb913ecd5
support macos
hace 2 años
Martin Dørum
6708ce6652
add meson build
hace 2 años
Martin Dørum
15f83881b1
background colors
hace 3 años
Martin Dørum
8b97bfd2c9
hidpi and wayland fixes
hace 3 años
Martin Dørum
a419e737fa
less noisy logs
hace 3 años
Martin Dørum
b7347d749d
some small stuff
hace 3 años
Martin Dørum
fb898427d9
hey, something draws to the screen now
hace 3 años
Martin Dørum
f7b79d94ac
well, it compiles now
hace 3 años
Martin Dørum
f01f0e1a96
some missing style things
hace 3 años
Martin Dørum
0db704582d
make style consistent
hace 3 años
Martin Dørum
da49c89543
add --gles
hace 3 años
Martin Dørum
9dd2bc1337
remove PerfCounter, rely on tracy
hace 3 años
Martin Dørum
ca56ba165b
some tracy stuff
hace 3 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
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.
hace 4 años
Martin Dørum
056579e6be
cave background stuff
hace 4 años
Martin Dørum
246dae6cb9
fix imgui_sdl
hace 4 años
Martin Dørum
1e8a87930a
small stuff
hace 4 años
Martin Dørum
ce70c058aa
mostly performance stuff
hace 4 años
Martin Dørum
3f4040720d
minor stuff
hace 4 años
Martin Dørum
55e1bb4d41
maybe this is better?
hace 4 años
Martin Dørum
d951cbe6ef
plots
hace 4 años
Martin Dørum
1a64feb187
just a bunch of stuff
hace 4 años
Martin Dørum
a6267cd1ae
zooming, and nicer input handling
hace 4 años
Martin Dørum
c6ffa3c7d5
basic imgui integration (now with SDL)
hace 4 años
Martin Dørum
49b180cea4
tiny stuff
hace 4 años
Martin Dørum
a083706f6e
RenderSetLogicalSize to handle HiDPI
hace 4 años
Martin Dørum
5507e856a8
sometimes run multiple physics updates in one frame
hace 4 años
Martin Dørum
32265a6091
cli options
hace 4 años
Martin Dørum
c912485f2c
show icon
hace 4 años
Martin Dørum
aa3b7ffa87
add a max delta time
hace 4 años
Martin Dørum
77a9aca716
slowly but surely approaching feature parity
hace 4 años
Martin Dørum
2a016c2c5f
replace fprintf with log.h stuff
hace 4 años
Martin Dørum
0f23914e7f
SDL stuff
hace 4 años
Martin Dørum
45f15cf3f9
makeRaiiPtr and makeDeferred
hace 4 años
Martin Dørum
c527655e79
almost ported to SDL
hace 4 años
Martin Dørum
e782d5b1af
more progress on sfml -> sdl
hace 4 años
Martin Dørum
e71e20c6c5
WIP, rewriting stuff to use SDL instead of SFML
hace 4 años
Martin Dørum
e1fef8792e
integrate imgui, and associated build system work
hace 4 años
Martin Dørum
3902a2d652
move Win into its own thing, make vector stuff constexpr
hace 4 años
Martin Dørum
ba28d348d0
despawning, add dt to tick(), etc
hace 4 años
Martin Dørum
8b028cfdd2
new input handling stuff
hace 4 años
Martin Dørum
bc0f62c44d
hey, music
hace 4 años
Martin Dørum
45870840db
some restructuring, and break blocks
hace 4 años
Martin Dørum
e01584038f
get tile at mouse position
hace 4 años
Martin Dørum
735c797de4
icon
hace 4 años
Martin Dørum
fe5530cfeb
less annoying high DT warning
hace 4 años
Martin Dørum
cb83477950
more chunk gen stuff, world gen stuff, etc
hace 4 años
Martin Dørum
da5d36d49e
more changes
hace 4 años