|
9353999a30
|
twn: add run command
|
2024-10-07 16:58:55 +03:00 |
|
|
e2f5d44959
|
move typedefs to twn_types.h, specify that twn_vec.h is C user only, remove Vec2sh
|
2024-10-07 15:56:00 +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 |
|
|
cc1e64531c
|
CMakeLists.txt: remove bootstrap script, use executable directly; move its functionalities to twn tooling
|
2024-10-07 14:16:53 +03:00 |
|
|
771d8b9c2f
|
add data folders to all apps
|
2024-10-07 14:15:57 +03:00 |
|
|
c5c0fa4e70
|
CMakeLists.txt: strip by default on release, use -Bsymbolic-functions and --hash-style=gnu for optimized symbol resoltuion
|
2024-10-07 13:44:46 +03:00 |
|
|
93aa8ff2b4
|
remove the assumption that game is ran from cwd at root
|
2024-10-07 13:22:25 +03:00 |
|
|
6cbfc8a5fb
|
CMakeLists.txt: use -flto=auto for potential parallel link
|
2024-10-07 13:21:43 +03:00 |
|
|
a75dda2736
|
move gitea-lfs-pull.py to /tools/
|
2024-10-07 12:38:13 +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 |
|
|
7bec9f6de6
|
rename /data/ to /common-data/
|
2024-10-07 12:27:12 +03:00 |
|
|
06b3ad2583
|
CMakeLists.txt: add -rpath to look for libtownengine.so relative to executable
|
2024-10-07 11:04:05 +03:00 |
|
|
813dc539c8
|
/docs/interop.txt
|
2024-10-07 10:44:42 +03:00 |
|
|
60a9307ce3
|
twn_util: separate internal c-only features from public header
|
2024-10-07 10:44:18 +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 |
|
|
f646bd7adc
|
CMakeLists.txt: small thing :3
|
2024-10-07 00:26:48 +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 |
|
|
ba488801b3
|
twn_rendering.h: remove redundant SDL2/SDL.h
|
2024-10-06 23:51:14 +03:00 |
|
|
3e972b2dad
|
twn_input: add twn_scancode.h as port of SDL_scancode.h, remove SDL2/SDL.h header usage sa for plans on having clean public headers
|
2024-10-06 23:49:05 +03:00 |
|
|
61caec7258
|
remove and ignore sublime files
|
2024-10-06 20:15:13 +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 |
|
|
452ecd72fe
|
twn_sprites.c: fix texture region
|
2024-10-02 19:39:27 +03:00 |
|
|
0dc3cf4160
|
twn_rendering: have triangle uvs represented by floating vectors
|
2024-10-01 20:52:32 +03:00 |
|
|
ba70a566e1
|
/docs/getting_and_compiling.txt
|
2024-10-01 20:08:59 +03:00 |
|
|
b75ff20014
|
twn_gl_15_rendering.c: fix endlessly generating display lists
|
2024-10-01 18:38:54 +03:00 |
|
|
900a0a7506
|
twn_loop.c: delete gl context on cleanup, some implementations triggered leak detector otherwise
|
2024-10-01 18:21:27 +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 |
|
|
9efcd79ba6
|
twn_gl_15_rendering.c: don't assume seethrough triangle textures, infer actual usage
|
2024-10-01 15:23:06 +03:00 |
|
|
d163e0f7ae
|
twn_gl_15_rendering.c: better caching of pipelines
|
2024-10-01 15:18:05 +03:00 |
|
|
2ebb2ba53b
|
twn_gl_15_rendering.c: disable depth writes for skybox
|
2024-10-01 15:17:51 +03:00 |
|
|
aa5ff1edf1
|
twn_gl_15_rendering.c: use display lists to cache common series of calls
|
2024-10-01 14:58:00 +03:00 |
|
|
91ea5356fc
|
fix variout memory leaks
|
2024-10-01 13:34:58 +03:00 |
|
|
9ab7d1edff
|
twn_gl_15_rendering.c: fix memory leak in finally_render_skybox()
|
2024-10-01 13:22:20 +03:00 |
|
|
8c34d5afe2
|
twn_audio: capitalize warn
|
2024-10-01 12:59:40 +03:00 |
|
|
a0ea657eb9
|
twn_audio: settle down on float32 2-channel sampling only, format enums to style used elsewhere
|
2024-10-01 12:59:01 +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 |
|
|
ec15d8ec4b
|
Merge branch 'main' of https://git.poto.cafe/wanp/townengine
|
2024-10-01 12:48:05 +03:00 |
|
|
13fe040958
|
/tools/twn: pass parameters along to build subcommand
|
2024-10-01 12:45:29 +03:00 |
|
|
078e68387b
|
replace per-tick allocations in push_text with an arena/bump allocator
|
2024-09-27 15:02:24 -03:00 |
|
|
0481962859
|
twn_audio.c: no push api for stb_vorbis.h
|
2024-09-27 18:04:16 +03:00 |
|
|
90361d1caf
|
twn_util.c: fix redundant and erroneous NULL placement in expand_asterisk()
|
2024-09-27 17:55:33 +03:00 |
|