Commit Graph

300 Commits

Author SHA1 Message Date
Ed_
8b8c4948ad Added screeenspace culling for ui boxes 2024-03-11 02:05:30 -04:00
Ed_
1656dffb67 Setup spall profiling, did first optimizations! 2024-03-11 02:05:18 -04:00
Ed_
304e710c16 It works but there is a memory issue... (parsing in tick update) 2024-03-10 20:09:04 -04:00
Ed_
c80254adbc Got whitespace parser working + widget generation for basic case! 2024-03-10 10:31:21 -04:00
Ed_
197dd82e78 update odin repo 2024-03-09 14:53:51 -05:00
Ed_
7b69723f35 Made the ui_resize_border_width percent based instead of pixel based. 2024-03-09 14:24:02 -05:00
Ed_
4a53a158e0 Lefted text box test to its own widget proc, fixed overlapping widget interaction! 2024-03-09 13:55:47 -05:00
Ed_
635ce91a9d First text box!!! 2024-03-09 10:21:48 -05:00
Ed_
f1edf1c43e Added basic string interning 2024-03-08 23:20:49 -05:00
Ed_
c395cbaeb6 Some cleanup
need todo string interning next....
2024-03-08 19:51:46 -05:00
Ed_
cb58f4faef Improvements to UI signal 2024-03-08 18:45:27 -05:00
Ed_
4b026c379a Started to do manual control of the frame timing (no longer using raylib) 2024-03-08 18:45:08 -05:00
Ed_
191d5076ea Dragging! & basic proportional box resize frm cursor distance to box pos
Still need to add resize via 'pulling' to stretch the box out from a side or 2 sides diagonally.

Also some general clenaup of code
2024-03-08 03:34:21 -05:00
Ed_
90478bec94 Added ols to thirdparty ( just keeping own copy for the repo ) 2024-03-07 23:08:43 -05:00
Ed_
a5208f2be2 Slab allocator works! 2024-03-07 19:15:54 -05:00
Ed_
aa47f0ead0 Slab allocator compiler bug fixes 2024-03-07 18:29:49 -05:00
Ed_
f17aead3ea Comment cleanup 2024-03-07 17:58:28 -05:00
Ed_
568e8043bb removing no longer used code from env 2024-03-07 17:57:58 -05:00
Ed_
06a040d056 Removing commetns from grime 2024-03-07 17:57:36 -05:00
Ed_
0afb4c3197 rename parser_code to parser_code_agnostic 2024-03-07 17:57:10 -05:00
Ed_
f2237e7211 Started to overhaul memory setup + runtime fixes 2024-03-07 15:57:17 -05:00
Ed_
6836459a1d Completed first draft of slab allocator 2024-03-07 03:10:21 -05:00
Ed_
d63c58008e Completed first draft iteration of grime_pool_allocator 2024-03-06 22:41:36 -05:00
Ed_
c71ed67d6a minor fromatting changes 2024-03-06 22:41:17 -05:00
Ed_
1f2f0c66d8 Added impl for singly-linked lists 2024-03-06 22:41:01 -05:00
Ed_
6e52a79ca2 Compile fix for grime_arena 2024-03-06 22:40:45 -05:00
Ed_
d92e4e1c7c Rolled my own virtual arena allocator
Much more straight forward and setup for my specific use case
2024-03-06 16:47:40 -05:00
Ed_
8eef63e84f Minor unicode file changes 2024-03-06 16:47:00 -05:00
Ed_
64229e6ca5 Updates to zpl hash map description 2024-03-06 16:46:33 -05:00
Ed_
9229358a16 Updates to general memory defs 2024-03-06 16:46:23 -05:00
Ed_
aa9ce39224 Typo in grime_stack file 2024-03-06 16:45:50 -05:00
Ed_
3ab6bb8616 Rolled my own virtual memory baseline interface
Mostly use the core library's functionality but wanted a nicer wrap for my use case
2024-03-06 16:45:12 -05:00
Ed_
0656a41cf7 Move context_ext to its own file
Will be adding context related features here in the future
2024-03-06 16:44:38 -05:00
Ed_
59ad47162d Update font_provider with raylib changes 2024-03-06 16:44:01 -05:00
Ed_
f1da2f7ded Update odin repo again 2024-03-06 16:43:45 -05:00
Ed_
be5d55b2ad Updated odin repo 2024-03-06 16:41:07 -05:00
Ed_
3c8abc5333 Start to setup the other allocators I'm going to roll my own of, also created a string interning file 2024-03-05 10:41:42 -05:00
Ed_
898f359470 Removed box serialial unmarshaling def 2024-03-05 10:41:11 -05:00
Ed_
eb66f5c70d Beginning setup of the code agnostic parser 2024-03-05 10:40:42 -05:00
Ed_
43a1c20d73 General refactors to various files
* Moved all mapped procedure overloads to grime.odin
* Removed extraneous entity_box related procedures
* Major refactor to grime_array its header is now allocated as part of its initialization
*
2024-03-05 10:40:28 -05:00
Ed_
3ee5dd7d65 First complete iteration of stack allocator 2024-03-05 10:38:12 -05:00
Ed_
509b73f79c Fix for linked lists 2024-03-05 10:37:51 -05:00
Ed_
3a63914282 Deleting entity_box2 for now as its not needed 2024-03-05 10:20:18 -05:00
Ed_
ceb746e537 Rolled my own string_to_runes 2024-03-05 10:19:27 -05:00
Ed_
fd44001456 Added vmem arena file
Going to need to roll my own for my use case.
2024-03-05 10:18:38 -05:00
Ed_
bba45ce96b deleting hot_reload file (not needed right now) 2024-03-05 10:18:13 -05:00
Ed_
0622add196 Added WYSIWYG odin parser file 2024-03-05 10:17:53 -05:00
Ed_
fb6d66140e Iteration on whitespace parser 2024-03-05 10:17:27 -05:00
Ed_
218af644d6 Added more helpers for memory ptr math 2024-03-05 10:16:50 -05:00
Ed_
d83d1cc128 Added push_back/pop_back for doubly-linked lists 2024-03-05 10:16:23 -05:00