|
db0adbdf6c
|
/apps/demos/bunnymark: fix background
|
2024-10-08 10:18:41 +03:00 |
|
|
0ede612bec
|
twn_input: singleton rework, twn_control.h and fixes
|
2024-10-08 10:12:47 +03:00 |
|
|
5c91423fbb
|
clang-format on /apps/demos/bunnymark files
|
2024-10-08 01:21:31 +03:00 |
|
|
78034b69f5
|
proper scene switch in demos
|
2024-10-08 01:07:01 +03:00 |
|
|
fd6615744e
|
/apps/platformer: not a platfromer, is it
|
2024-10-08 00:50:59 +03:00 |
|
|
4c49366c44
|
Added common-data as dependency for kenney's font used in demo
|
2024-10-07 20:16:21 +00:00 |
|
|
8759221ed2
|
Adding data manifest and the wabbit sprite
|
2024-10-07 20:15:53 +00:00 |
|
|
8aa0e38486
|
Bunny mark intial files added
Need to add data folder still.
|
2024-10-07 20:15:20 +00:00 |
|
|
5e10087b35
|
/apps/template: add data folder
|
2024-10-07 20:51:17 +03:00 |
|
|
3c6bcdc499
|
/apps/platformer: fix twn_vec.h include
|
2024-10-07 19:57:45 +03:00 |
|
|
bd395a6371
|
CMake: remove data_dir from build
|
2024-10-07 18:55:25 +03:00 |
|
|
5aabab468d
|
fix includes
|
2024-10-07 18:37:44 +03:00 |
|
|
ade1af12ca
|
twn_rendering -> twn_draw
|
2024-10-07 17:53:09 +03:00 |
|
|
8463ed4440
|
rename /apps/lua/ to /apps/twnlua/
|
2024-10-07 15:52:32 +03:00 |
|
|
36fbc5b43f
|
move lua script to lua data
|
2024-10-07 15:25:40 +03:00 |
|
|
ae8cc5f50b
|
twn_audio: rework interface
|
2024-10-07 15:21:44 +03:00 |
|
|
771d8b9c2f
|
add data folders to all apps
|
2024-10-07 14:15:57 +03:00 |
|
|
432b768f48
|
make apps use /common-data/
|
2024-10-07 12:34:57 +03:00 |
|
|
cfdc1f5f28
|
twn_rendering.c: rename font_path parameter to font
|
2024-10-07 12:32:06 +03:00 |
|
|
b9f2de1e28
|
Merge branch 'main' of https://git.poto.cafe/wanp/townengine
|
2024-10-07 12:29:44 +03:00 |
|
|
bbf79ad442
|
new method of pack loading, assume data or data.btw in root to point to all other
|
2024-10-07 12:28:15 +03:00 |
|
|
017ce4f1d2
|
/apps/lua: just free game_buf right away after it's used without keeping it around
|
2024-10-07 00:37:49 -03:00 |
|
|
ca6c6a711c
|
remove unused SDL2/SDL.h and physfs.h from twn_util.h, explicit usage of SDL in apps, move to Scancode enum in apps
|
2024-10-07 00:00:36 +03:00 |
|
|
ae0da18e25
|
/apps/lua: move game_buf to state, free it on game_end()
|
2024-10-06 20:14:21 +03:00 |
|
|
6844049279
|
register functions before initial lua eval
|
2024-10-05 18:40:39 -03:00 |
|
|
bd99540280
|
add WIP lua binding app
|
2024-10-05 18:17:22 -03:00 |
|
|
dbbf6e25f0
|
add the long awaited push_9slice
|
2024-10-02 14:18:07 -03:00 |
|
|
0dc3cf4160
|
twn_rendering: have triangle uvs represented by floating vectors
|
2024-10-01 20:52:32 +03:00 |
|
|
ad0438849e
|
twn_fog.c: fog added!
|
2024-10-01 16:10:36 +03:00 |
|
|
edc6fb1e5c
|
/apps/scenery: make the world generate as you go
|
2024-10-01 15:31:18 +03:00 |
|
|
57fe5e8946
|
implement game configuration file
this integrates https://github.com/cktan/tomlc99 into the repo as a dependency
|
2024-10-01 12:48:42 +03:00 |
|
|
078e68387b
|
replace per-tick allocations in push_text with an arena/bump allocator
|
2024-09-27 15:02:24 -03:00 |
|
|
f4b52b5450
|
make textures_dump_atlases work again and expose it as a utility function
|
2024-09-26 21:32:08 -03:00 |
|
|
c0dcdf8c0a
|
twn_skybox.c
|
2024-09-26 21:02:56 +03:00 |
|
|
4c9278a927
|
changed how building is triggered, now there is a [twn] shell script that is exptected to be in PATH. also physfs and libxm cmake targets no longer recompiled per every target, but shared
|
2024-09-25 19:52:54 +03:00 |
|
|
a7d97a1070
|
/apps: separate /apps/testgame into /apps/platformer and /apps/scenery, update /apps/template
|
2024-09-25 18:29:58 +03:00 |
|
|
34a081fccd
|
rename get_text_width() to text_get_width()
|
2024-09-23 15:06:58 -03:00 |
|
|
73bf92e706
|
typedef & PascalCase for ALL structs and enums
|
2024-09-23 14:43:16 -03:00 |
|
|
0ef8a6233f
|
twn_textures.c: fix srcrect setting on atlas rebuild
|
2024-09-23 11:51:18 +03:00 |
|
|
5caf736370
|
twn_rendering: m_sprite texture_origin changed for texture_region, stretched subregion work now
|
2024-09-21 20:07:05 +03:00 |
|
|
999cb78358
|
rename intersect_(f)rect to overlap_(f)rect and add simplified functions with the old names
|
2024-09-20 13:39:37 -03:00 |
|
|
16c96010dc
|
finally compiling and running, text still needs rework
|
2024-09-16 16:17:00 +03:00 |
|
|
551d60ef85
|
partially done work on total source tree rework, separation of engine context and game context, generalization of renderer for different backends as well as web platform target
|
2024-09-16 09:07:01 +03:00 |
|
|
66c90181cd
|
NO WARNINGS
|
2024-08-27 13:42:40 +03:00 |
|
veclavtalica
|
2f36d9ea3c
|
windows build compatibility, twn_game_object as abstraction for bridging game code and the engine
|
2024-08-27 00:33:37 +03:00 |
|
|
9892bf71dc
|
add the text primitive, finally
|
2024-08-22 23:41:52 -03:00 |
|
|
ca3cda25df
|
add bootstrapping shell script for purposes of setting --data-dir and cwd for LD_PATH=./
|
2024-08-21 21:38:24 +03:00 |
|
|
1a34f6416b
|
fix .so placement and loading paths
|
2024-08-21 17:29:06 +03:00 |
|
|
d4d4544bb4
|
hot reloading and friends
|
2024-08-21 16:55:34 +03:00 |
|
|
08fd5970a1
|
slight restructure of CMakeLists
|
2024-08-20 17:50:50 +03:00 |
|