This website requires JavaScript.
61caec7258
remove and ignore sublime files
veclavtalica
2024-10-06 20:15:13 +0300
ae0da18e25
/apps/lua: move game_buf to state, free it on game_end()
veclavtalica
2024-10-06 20:14:21 +0300
6844049279
register functions before initial lua eval
wanp
2024-10-05 18:40:39 -0300
bd99540280
add WIP lua binding app
wanp
2024-10-05 18:17:22 -0300
dbbf6e25f0
add the long awaited push_9slice
wanp
2024-10-02 14:18:07 -0300
452ecd72fe
twn_sprites.c: fix texture region
veclavtalica
2024-10-02 19:39:27 +0300
0dc3cf4160
twn_rendering: have triangle uvs represented by floating vectors
veclavtalica
2024-10-01 20:52:19 +0300
ba70a566e1
/docs/getting_and_compiling.txt
veclavtalica
2024-10-01 20:00:31 +0300
b75ff20014
twn_gl_15_rendering.c: fix endlessly generating display lists
veclavtalica
2024-10-01 18:38:54 +0300
900a0a7506
twn_loop.c: delete gl context on cleanup, some implementations triggered leak detector otherwise
veclavtalica
2024-10-01 18:21:27 +0300
ad0438849e
twn_fog.c: fog added!
veclavtalica
2024-10-01 16:10:36 +0300
edc6fb1e5c
/apps/scenery: make the world generate as you go
veclavtalica
2024-10-01 15:31:18 +0300
9efcd79ba6
twn_gl_15_rendering.c: don't assume seethrough triangle textures, infer actual usage
veclavtalica
2024-10-01 15:23:06 +0300
d163e0f7ae
twn_gl_15_rendering.c: better caching of pipelines
veclavtalica
2024-10-01 15:18:00 +0300
2ebb2ba53b
twn_gl_15_rendering.c: disable depth writes for skybox
veclavtalica
2024-10-01 15:17:51 +0300
aa5ff1edf1
twn_gl_15_rendering.c: use display lists to cache common series of calls
veclavtalica
2024-10-01 14:58:00 +0300
91ea5356fc
fix variout memory leaks
veclavtalica
2024-10-01 13:34:58 +0300
9ab7d1edff
twn_gl_15_rendering.c: fix memory leak in finally_render_skybox()
veclavtalica
2024-10-01 13:22:20 +0300
8c34d5afe2
twn_audio: capitalize warn
veclavtalica
2024-10-01 12:59:40 +0300
a0ea657eb9
twn_audio: settle down on float32 2-channel sampling only, format enums to style used elsewhere
veclavtalica
2024-10-01 12:59:01 +0300
57fe5e8946
implement game configuration file
wanp
2024-09-30 21:13:58 -0300
ec15d8ec4b
Merge branch 'main' of https://git.poto.cafe/wanp/townengine
veclavtalica
2024-10-01 12:48:05 +0300
13fe040958
/tools/twn: pass parameters along to build subcommand
veclavtalica
2024-10-01 12:45:29 +0300
078e68387b
replace per-tick allocations in push_text with an arena/bump allocator
wanp
2024-09-27 15:02:24 -0300
0481962859
twn_audio.c: no push api for stb_vorbis.h
veclavtalica
2024-09-27 18:04:16 +0300
90361d1caf
twn_util.c: fix redundant and erroneous NULL placement in expand_asterisk()
veclavtalica
2024-09-27 17:55:33 +0300
2b25ac8c21
twn_util.c: add twn_util_c.h include for definitions
veclavtalica
2024-09-27 17:50:24 +0300
055f59ad45
CMakeFiles.txt: fix sanitizers
veclavtalica
2024-09-27 17:49:56 +0300
f4b52b5450
make textures_dump_atlases work again and expose it as a utility function
wanp
2024-09-26 21:32:08 -0300
0e68ecbc88
twn_loop.c: add --debug and --release overrides, fix incorrect argv iteration
wanp
2024-09-26 20:48:42 -0300
64d1c20b4a
twn_util.c: make alloc failure death message clearer
wanp
2024-09-26 19:37:46 -0300
b4b9e0ebef
sanitize on debug by default
veclavtalica
2024-09-26 21:44:31 +0300
5d6a3a5aec
remove/replace unused includes
veclavtalica
2024-09-26 21:38:24 +0300
c0dcdf8c0a
twn_skybox.c
veclavtalica
2024-09-26 21:02:56 +0300
0fe1023667
use SDL stdlib where possible
wanp
2024-09-25 19:42:34 -0300
ccad21ab90
conanfile.py: update after a million years
wanp
2024-09-25 15:33:46 -0300
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
veclavtalica
2024-09-25 19:51:39 +0300
a500fcd97c
don't build any app directly from root CMakeLists.txt
veclavtalica
2024-09-25 19:37:39 +0300
a7d97a1070
/apps: separate /apps/testgame into /apps/platformer and /apps/scenery, update /apps/template
veclavtalica
2024-09-25 18:29:58 +0300
65425f5b2e
twn_textures.c: stream-based texture load
veclavtalica
2024-09-25 18:01:50 +0300
1430a13832
twn_textures.c: use SDL memory allocation, use SDL_LoadFileRW in texture file loading
veclavtalica
2024-09-25 17:41:15 +0300
fc8b953655
curl-based git-lfs pull
veclavtalica
2024-09-24 21:01:00 +0000
4b0d6a880b
CMakeLists.txt: haiku support, optional sanitizers
veclavtalica
2024-09-24 17:29:40 +0000
34a081fccd
rename get_text_width() to text_get_width()
wanp
2024-09-23 15:06:58 -0300
73bf92e706
typedef & PascalCase for ALL structs and enums
wanp
2024-09-23 14:43:16 -0300
e093a6d492
twn_textures.c: handle RGB image files
veclavtalica
2024-09-23 14:35:46 +0300
c8469e9416
twn_textures.c: actually fix srcrect updating lol
veclavtalica
2024-09-23 14:07:02 +0300
53518ff5e1
ignore trace files
veclavtalica
2024-09-23 13:03:06 +0300
ce582d8a80
twn_textures.c: support for .so rodata inference
veclavtalica
2024-09-23 12:50:44 +0300
0ef8a6233f
twn_textures.c: fix srcrect setting on atlas rebuild
veclavtalica
2024-09-23 11:51:18 +0300
f705546644
CMakeLists.txt: generation of apitrace running utilities
veclavtalica
2024-09-23 10:39:07 +0300
535d5d8d36
twn_textures.c: little pieces
veclavtalica
2024-09-23 09:50:01 +0300
66678a27cf
twn_textures.c: add debug hints about unportable texture dimensions
veclavtalica
2024-09-23 09:34:27 +0300
752dbaad8a
CMakeLists.txt: quote the parameter in runner script
veclavtalica
2024-09-23 08:57:21 +0300
4de885fcdd
it's not web.
veclavtalica
2024-09-21 21:16:25 +0300
2c2c4b9651
add gdb option in game launcher script
veclavtalica
2024-09-21 21:14:25 +0300
5caf736370
twn_rendering: m_sprite texture_origin changed for texture_region, stretched subregion work now
veclavtalica
2024-09-21 20:07:05 +0300
ddf0ef6a0c
twn_util.c: use more appropriate SDL functions for intersect_(f)rect
wanp
2024-09-20 22:57:55 -0300
e33a97294c
twn_util.h: clarify behavior of null result pointer
wanp
2024-09-20 13:48:29 -0300
074b290b3f
that's not what they're called
wanp
2024-09-20 13:41:55 -0300
999cb78358
rename intersect_(f)rect to overlap_(f)rect and add simplified functions with the old names
wanp
2024-09-20 13:39:37 -0300
5cc36ab46c
twn_input.c: fix scancode unbinding (ie make it actually work lol)
wanp
2024-09-20 12:39:37 -0300
db11bb754e
more IDE whatever thing
wanp
2024-09-20 12:35:44 -0300
8effcc0421
make baby windows work again
veclavtalica
2024-09-18 20:36:00 +0300
cf72287659
remove sublime-workspace file, lol
veclavtalica
2024-09-18 19:02:25 +0300
691d781827
text rendering over vertex arrays, rework fully done, finally
veclavtalica
2024-09-18 19:01:43 +0300
16c96010dc
finally compiling and running, text still needs rework
veclavtalica
2024-09-16 16:17:00 +0300
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
veclavtalica
2024-09-16 09:07:01 +0300
ca0305feab
free texture data from stb_image
veclavtalica
2024-08-27 14:48:08 +0300
1952ab60ff
use stb_image.h instead of SDL2_image
veclavtalica
2024-08-27 14:45:26 +0300
e1cba136a3
remove SDL2_ttf dependency
veclavtalica
2024-08-27 13:54:53 +0300
66c90181cd
NO WARNINGS
veclavtalica
2024-08-27 13:42:40 +0300
93f61018cd
no warnings from third parties
veclavtalica
2024-08-27 13:24:15 +0300
1bb33d3f34
update cmake to work with linux, plus some cleanup
veclavtalica
2024-08-27 13:05:10 +0300
cee8d5f50f
return status code from enter_loop
veclavtalica
2024-08-27 00:55:44 +0300
2f36d9ea3c
windows build compatibility, twn_game_object as abstraction for bridging game code and the engine
veclavtalica
2024-08-27 00:33:37 +0300
9892bf71dc
add the text primitive, finally
wanp
2024-08-22 23:41:52 -0300
0f03c18806
fix regression of build with no hot reload
veclavtalica
2024-08-22 19:49:30 +0300
d85d9880fb
don't use texture_get_key path address optimization when compiled with hot reload support
veclavtalica
2024-08-22 19:43:57 +0300
9da92775bc
generation of data archive from cmake solution
veclavtalica
2024-08-22 18:36:04 +0300
fa85fb8dd1
move compile_commands.json to project root directory
veclavtalica
2024-08-22 06:38:31 +0300
859ae8f91e
use LD_LIBRARY_PATH rather than -rpath
veclavtalica
2024-08-21 21:45:49 +0300
192b3f150c
add newline
veclavtalica
2024-08-21 21:40:32 +0300
ca3cda25df
add bootstrapping shell script for purposes of setting --data-dir and cwd for LD_PATH=./
veclavtalica
2024-08-21 21:38:24 +0300
9a3d7a9db3
reset texture path cache on reload
veclavtalica
2024-08-21 18:00:27 +0300
1a34f6416b
fix .so placement and loading paths
veclavtalica
2024-08-21 17:29:06 +0300
e49d36a3b1
correct ordering of TOWNENGINE_HOT_RELOAD option for -fPIC
veclavtalica
2024-08-21 17:04:03 +0300
b89e0a03a6
ignore archives
veclavtalica
2024-08-21 16:57:52 +0300
d4d4544bb4
hot reloading and friends
veclavtalica
2024-08-21 16:55:34 +0300
08fd5970a1
slight restructure of CMakeLists
veclavtalica
2024-08-20 17:50:50 +0300
2126f3cddb
cast ints to floats in terrain gen
veclavtalica
2024-08-20 17:27:54 +0300
e21ce4113b
precompile glad.h and stb_ds.h headers
veclavtalica
2024-08-20 17:25:01 +0300
e34b39a039
remove physfs archive formats besides zip and 7z
veclavtalica
2024-08-20 17:15:12 +0300
24195ab560
properer int16_t to float scaling in .xm sampling
veclavtalica
2024-08-20 17:07:34 +0300
14a9915ce9
remove procgen, use stb_perlin
veclavtalica
2024-08-19 19:19:22 +0300
6ec72db2d4
don't free the surface lol
veclavtalica
2024-08-01 04:09:54 +0300
9d2aa9b9ba
rename scale option to stretch
veclavtalica
2024-08-01 01:25:23 +0300
b35c02d884
new music !
veclavtalica
2024-08-01 00:58:16 +0300
80ffc30075
texture_origin option for sprite rendering
veclavtalica
2024-08-01 00:52:15 +0300
374a9b9c58
repeating textures in sprite rendering
veclavtalica
2024-08-01 00:23:32 +0300