This commit is contained in:
2025-07-24 07:49:24 +02:00
parent a50c101742
commit 99e5fcec80
17 changed files with 431 additions and 127 deletions
+21 -9
View File
@@ -1,11 +1,19 @@
#+TITLE: Wschód TODO
hhhh#+TITLE: Wschód TODO
* UI system
** DONE Switch from floats to ints in all UI stuff, from vec2's to ivec2's
** TODO Centering widget in parent
** TODO Inheriting width/height from parent
** TODO Flowbox proper weighing
** TODO UI system major refactoring and redesign
** TODO Context menus
** TODO Z-sorting UI children (or windows)
** DONE Loading UI from a file or script
** TODO Better GL scissoring, calculating the summed AABB crop box from ALL parents
** DONE Move layout_width and layout_spacing into the widget out of the style
** DONE Entry cursor
** DONE Reset UI state (hovered, clicked, focused) on lose UI focus
** DONE Entry UTF-8 support
** TODO UI system major refactoring and redesign
** DONE Think about the UI on_xxx_down/up handling (solved)
** DONE Revamp UI event system
** DONE Implement vtables (something else was done)
@@ -15,7 +23,7 @@
** DONE Scissoring of out-of-bounds UI elements
** DONE On mouse enter, on mouse leave, and on mouse move callbacks
** DONE Button widget
** TODO Tooltip rendering
** DONE Tooltip rendering
** DONE Borders
** DONE Padding/margin
** DONE Aspect ratios
@@ -28,22 +36,26 @@
** DONE FlowLayout widget
** DONE Multiline text widget
** DONE Text entry widget
** TODO Movable and resizable windows
** TODO Loading UI from a file or script
** DONE Movable windows
** DONE Resizable windows
** DONE Move uicursor to uidummy
** DONE Fix scrollable scrolling being a bit weird
* Entity system
** TODO Entity hit testing
** TODO Entity on hover UI label, outline
** TODO Meshing together N entities for less drawcalls
** TODO Sky/sun/clouds drawing seperate from other entities
** TODO Entity on hover UI label, outline
** TODO Optimize entity rendering and ticking; it's a huge bottleneck
** TODO Ticking system revamp; ticking calculation when out of tick radius and coming back
** TODO Meshing together N entities for less drawcalls
* Chunk system
** TODO Chunk queue/heap sorted by distance to player
* Misc.
** TODO Move cursor changing to graphics.c
** TODO Better sky/cloud system, perhaps a hemisphere
** TODO Sun system
* Overall game structure
** TODO Resource packs with shaders, textures, entity templates
** DONE Resource packs with shaders, textures, entity templates
** TODO Map pack with heightmap data, materialmap data, entities and their placements
** TODO Guile/Lua integration
** DONE Guile/Lua integration
** TODO Proper memory freeing: UI Widgets, pakman, UIContext, stateman