veclavtalica
|
5059802d09
|
big rendering overhaul (cleaning and api abstraction)
|
2025-01-14 23:20:54 +03:00 |
|
veclavtalica
|
2351d4114c
|
twn_draw.c: add draw_quad()
|
2025-01-14 02:53:18 +03:00 |
|
veclavtalica
|
4ed3764c1d
|
twn_input.c: remove input_mouse_captured(), add ctx.mouse_capture
|
2025-01-14 00:28:21 +03:00 |
|
veclavtalica
|
83e2dc5468
|
make vec4 and matrix types internal
|
2025-01-10 02:40:52 +03:00 |
|
veclavtalica
|
951d9c76c8
|
use floats for ctx.frame_number and ctx.random_seed
|
2025-01-10 02:20:21 +03:00 |
|
veclavtalica
|
f3848d2d52
|
progress on twnlua bindgen
|
2025-01-09 21:47:08 +03:00 |
|
veclavtalica
|
8c401eda75
|
api changes and progress on filling in twn_api.json
|
2025-01-07 14:14:21 +03:00 |
|
veclavtalica
|
3bfa86066e
|
billboards!
|
2025-01-05 19:46:05 +03:00 |
|
veclavtalica
|
4f2b8ccd01
|
separate the rest of general drawing code
|
2025-01-03 21:59:00 +03:00 |
|
veclavtalica
|
4277852fc5
|
/apps/demos/scenery: add walking
|
2025-01-02 13:29:28 +03:00 |
|
veclavtalica
|
9121da0675
|
yet another api rework, removal of integer types in public api, optionals at the end, some cleaning
|
2024-10-29 12:25:24 +03:00 |
|
veclavtalica
|
6464d14b3e
|
twn_input.h: remove unbinding
|
2024-10-28 13:04:49 +03:00 |
|
veclavtalica
|
eff9fe6918
|
twn_util.h: make return structs comply to type naming
|
2024-10-28 12:39:42 +03:00 |
|
veclavtalica
|
d11143ac86
|
twn_draw.h: new camera api
|
2024-10-28 12:34:48 +03:00 |
|
veclavtalica
|
9da26638c8
|
rework input to be in line with rendering semantics
|
2024-10-22 20:32:17 +03:00 |
|
veclavtalica
|
a22bcfd97e
|
rework timers, update overlap/intersect and other procedures, some other things i dont remember
|
2024-10-22 14:45:30 +03:00 |
|
veclavtalica
|
b390e9db23
|
audio_set() -> audio_set_parameter(), with string based convention
|
2024-10-22 13:52:24 +03:00 |
|
veclavtalica
|
48f63fc9df
|
deferred skybox, fixes to use of ARB_depth_clamp extension usage, have TextureKey explicitly in QuadBatch
|
2024-10-22 09:30:14 +03:00 |
|
|
7f56ed8421
|
remove alignas for twn_types.h, it looks to be just as performant and even more in cases i looked at
|
2024-10-16 02:32:04 +03:00 |
|
|
d34516c4ee
|
Merge branch 'main' of https://git.poto.cafe/wanp/townengine
|
2024-10-14 11:48:46 +03:00 |
|
|
b295c5920c
|
rendering: use sprite batching techniques for rect primitives, unite their render path
|
2024-10-14 11:46:07 +03:00 |
|
|
f7f27119e1
|
use static, fixed arrays for circle geometry data instead of allocating for each one
|
2024-10-13 22:32:59 -03:00 |
|
|
9329d3c2be
|
CMakeLists.txt: use visibility=hidden by default, so that unneeded libtownengine.so symbols are not leaked
|
2024-10-13 19:03:29 +03:00 |
|
|
1a7322dccf
|
twn_util.h: separate internal things away, remove indirect includes in places
|
2024-10-12 21:16:25 +03:00 |
|
|
e70366f82f
|
rework to context: now there's engine and user code copies, renaming of fields, most things that shouldn't be there are hidden
|
2024-10-12 20:24:47 +03:00 |
|
|
667b599c19
|
remove /include/twn_config.h, move defauls to relevant headers
|
2024-10-11 20:21:02 +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 |
|
|
b12faa6a44
|
remove legacy app specification over cmake
|
2024-10-07 19:08:25 +03:00 |
|
|
5aabab468d
|
fix includes
|
2024-10-07 18:37:44 +03:00 |
|
|
33523c7980
|
remove usage of twn_vec.h in public headers
|
2024-10-07 18:05:53 +03:00 |
|
|
ade1af12ca
|
twn_rendering -> twn_draw
|
2024-10-07 17:53:09 +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 |
|
|
ae8cc5f50b
|
twn_audio: rework interface
|
2024-10-07 15:21:44 +03:00 |
|
|
cfdc1f5f28
|
twn_rendering.c: rename font_path parameter to font
|
2024-10-07 12:32:06 +03:00 |
|
|
60a9307ce3
|
twn_util: separate internal c-only features from public header
|
2024-10-07 10:44:18 +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 |
|
|
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 |
|
|
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 |
|
|
f4b52b5450
|
make textures_dump_atlases work again and expose it as a utility function
|
2024-09-26 21:32:08 -03:00 |
|
|
5d6a3a5aec
|
remove/replace unused includes
|
2024-09-26 21:38:24 +03:00 |
|
|
c0dcdf8c0a
|
twn_skybox.c
|
2024-09-26 21:02:56 +03:00 |
|
|
0fe1023667
|
use SDL stdlib where possible
|
2024-09-25 19:42:34 -03:00 |
|
|
34a081fccd
|
rename get_text_width() to text_get_width()
|
2024-09-23 15:06:58 -03:00 |
|