Martin Dørum
f1db1a121e
some redesign and getting rid of some warnings
2 年之前
Martin Dørum
908e7be3b2
draw item stack entities
3 年之前
Martin Dørum
69bd2e4adc
fix more style things
3 年之前
Martin Dørum
f8ad8b808a
draw rect
3 年之前
Martin Dørum
b04d30022a
make everything work with proper matrix stuff
3 年之前
Martin Dørum
33eda68f12
correctly position some things
3 年之前
Martin Dørum
447d4e8d39
libswan and core.mod now compiles
3 年之前
Martin Dørum
de5e49e700
rewrite mod and asset loading logic
3 年之前
Martin Dørum
0db704582d
make style consistent
3 年之前
Martin Dørum
d3ca166d2f
more lighting
3 年之前
Martin Dørum
293b05bade
lights are floats, range 0-1
3 年之前
Martin Dørum
86952836a5
a bit more lighting
3 年之前
Martin Dørum
2cfa6b547f
make player emit light
3 年之前
Martin Dørum
262ca389fe
a kind of lighting effect
3 年之前
Martin Dørum
f040f51b04
fix PlayerEntity::get
3 年之前
Martin Dørum
e20d10ee29
automatically center entity when spawning
3 年之前
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
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
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
491481e63a
more renaming
4 年之前
Martin Dørum
ce70c058aa
mostly performance stuff
4 年之前
Martin Dørum
3f4040720d
minor stuff
4 年之前
Martin Dørum
5794938993
inventory stuff mainly
4 年之前
Martin Dørum
6347a737b3
FORCE -> MOVE_FORCE
4 年之前
Martin Dørum
18265a30e2
number tweakings etc
4 年之前
Martin Dørum
702ad886af
fall down with greater gravity
4 年之前
Martin Dørum
3b2479c791
texture alpha/color mods
4 年之前
Martin Dørum
d06bede011
rendering
4 年之前
Martin Dørum
aa3b7ffa87
add a max delta time
4 年之前
Martin Dørum
77a9aca716
slowly but surely approaching feature parity
4 年之前
Martin Dørum
c527655e79
almost ported to SDL
4 年之前
Martin Dørum
401e069646
hey, this compiles now
4 年之前
Martin Dørum
5d34c09ca3
at least it compiles now
4 年之前
Martin Dørum
41acf5762e
much more reliable collisions
4 年之前
Martin Dørum
e7437ef94c
randomness
4 年之前
Martin Dørum
ba28d348d0
despawning, add dt to tick(), etc
4 年之前
Martin Dørum
91d08dd9c7
PhysicsEntity
4 年之前
Martin Dørum
95ac54ddc3
make Swan::Vector2 a struct
4 年之前
Martin Dørum
1a5988bfd9
bounding box
4 年之前
Martin Dørum
51c031900d
make ItemStack visible
4 年之前
Martin Dørum
92ef995116
visible entity, cmake stuff
4 年之前
Martin Dørum
718281b35b
wow, that was many changes.
This should've been multiple commits, but hey, it's late.
4 年之前
Martin Dørum
4ff0dbcc16
a bunch of SRF stuff, and use SRF for entity params
4 年之前
Martin Dørum
8b028cfdd2
new input handling stuff
4 年之前
Martin Dørum
c78891fe7f
Swan::Context
4 年之前
Martin Dørum
294a3528b9
add the ability to compress chunks
4 年之前
Martin Dørum
81d20fca74
remove break_timer_ and jmup_timer_
4 年之前