bbb1b3dfa9
Bound C++ line function to python... idk why I forgot to do this.
2024-10-13 16:01:19 -04:00
028348691a
various changes, read the code. too lazy to write description
2024-10-10 23:26:54 -04:00
9f04ac67ba
removed test
2024-10-06 02:18:50 -04:00
5f1ed533cf
Quick test will delete
2024-10-06 02:11:32 -04:00
8b1f403c87
Initial cursor implementation
2024-10-01 20:52:51 -04:00
f084c715bf
Font tweaks, start of editor, start of python tokenizer for syntax highlighting
2024-09-28 17:53:57 -04:00
322a0960d7
Added text buffer to editor state, foundation for the text editor
2024-09-28 01:01:54 -04:00
e23be1cd58
StateManager and States now have their own reference to Graphics instead of being passed into Draw(), Added image class and test images
...
Image class is just array of palette indices converted from the rgb data of any image by using euclidian distance between palette rgb and pixel rgb. Works well.
2024-05-22 16:09:19 -04:00
798ac17939
Editor State foundation
2024-05-13 14:39:52 -04:00
f788fffac7
Added font drawing support, and one font
2024-05-10 15:17:47 -04:00
7c4c6d5bcb
A better triangle fill algorithm
2024-04-28 14:50:02 -04:00
c93eab9963
Added triangle demo scene, triangle algo needs work, probably needs to be rewritten
2024-04-27 23:14:48 -04:00
9e48025846
Added buffer, reimplemented some drawing functions on cpu
2024-04-27 23:27:27 -04:00
b53fc267cb
Testing
2024-04-27 19:30:56 -04:00
1c61642c47
Temp naming and bumped down cmake version
2024-04-27 00:57:04 -04:00
df9e305828
Key pressed, key down, rectangle, python demo scene
2024-04-26 23:53:53 -04:00
5845ad2e8d
Errors output to screen, python text function accepts all types now
2024-04-26 16:21:17 -04:00
12ed3d3cb1
GameState loads python scripts, anything but main.py is loaded as module
2024-04-26 12:45:07 -04:00
581ed013f3
Renaming stuff, it was confusing without
2024-04-26 00:05:07 -04:00
631f9e3612
Refactor, added state manager, abstract state, game state, implemented pipeline based on architecture drawing
...
work on relieving circular dependencies in the future
2024-04-25 20:16:58 -04:00
e208b30511
fixed "race condition" mentioned previously. It was not a race condition, it was me being an idiot.
2024-04-24 12:08:18 -04:00
cb6369ad30
New binding method that allows c++ to call graphics functions as well as python. Testing setting vm vars like mouseX and mouseY
2024-04-22 13:07:23 -04:00
66ce48776a
Testing out python bindings, needs refactor
...
A disgusting little race condition has appeared, running will result in a black screen 70% of the time >:(
TODO:
lambda functions referencing non static graphics methods instead of making graphics methods static
state manager (everything is hodge podged into graphics and pycron objects)
sort math functions into relevant places (trig, random etc)
2024-04-21 23:33:39 -04:00
d7966bdcae
bug fix
2024-04-21 17:14:29 -04:00
4c35be70df
Refactor
2024-04-21 14:06:56 -04:00