Commit Graph

100 Commits

Author SHA1 Message Date
Dusk 32795ef27f Make input config use code strings instead of i32 2023-10-02 16:24:30 +02:00
Dusk 3477be28e8 Implement input configuration loading from i32 2023-10-02 15:38:07 +02:00
Dusk 174c247e43 Merge remote-tracking branch 'refs/remotes/origin/main' 2023-10-01 15:30:46 +02:00
Dusk 9420ca82fe Temporal changes 2023-10-01 15:28:18 +02:00
Dendy e370e2bb66 Implement getting all the input names 2023-09-30 18:49:14 +02:00
Dendy 2b4dbc2875 Remove test cell in main menu 2023-09-30 15:47:39 +02:00
Dendy c2786fdceb Make inputs mutable 2023-09-29 11:27:02 +02:00
Dusk 6b32f45534 implment config file parsing via iterator 2023-09-28 18:22:44 +02:00
Dusk be50d94f78 Load config test 2023-09-27 21:08:04 +02:00
Dusk e72ab56197 New cell texture 2023-09-25 15:10:45 +02:00
Dusk 4f459e5125 Score rendering 2023-09-25 15:09:32 +02:00
Dusk 8fbcc7e915 Fix texture rendering for free cells 2023-09-24 22:53:52 +02:00
Dusk 0a94c68195 Add texture 2023-09-24 19:15:33 +02:00
Dusk 3e552932ad Texture support WIP 2023-09-24 19:11:25 +02:00
Dusk b666e83a0c fix | Render FPS last 2023-09-24 17:53:07 +02:00
Dusk 74cd3f5127 Show FPS 2023-09-22 20:59:55 +02:00
Dusk fb9968c19f Implement timers 2023-09-22 20:30:19 +02:00
Dusk 4f3599fa42 Reimplement game actions 2023-09-22 20:15:13 +02:00
Dusk a86fda392d Reimplement game rendering 2023-09-22 19:58:47 +02:00
Dusk e21e184c58 Implement actions with the new input system 2023-09-22 19:23:40 +02:00
Dusk 82e8cfdbe1 Implement input handler 2023-09-22 14:03:33 +02:00
Dusk bdf4e0b920 Proper rendering of MainMenu 2023-09-22 12:16:29 +02:00
Dusk 2ed65aa6ae Implement text rendering 2023-09-22 12:16:16 +02:00
Dusk f6007b90c8 Add color rendering 2023-09-22 12:04:16 +02:00
Dusk d88ef81a02 Implement rectangle rendering & more improvements 2023-09-21 18:17:20 +02:00
Dusk 914e1127db Add basic raylib functionality: open window 2023-09-21 16:40:53 +02:00
Dusk 821162015a Remove SDL & OpenGL dependency
Make the code compile without the need for SDL and OpenGL with
the intention of migrating towards Raylib. What is going to be needed in
the future has been commented, and the other stuff removed. It runs but
apparently does nothing.
2023-09-21 13:53:52 +02:00
Dendy ed031c9b8c Update to make it work with zig 0.11.0-dev-2680 2023-04-21 00:00:14 +02:00
Dendy eccc24811f Remove multiple shaders, fuse in one 2023-01-03 09:31:12 +01:00
Dendy 7dec3d9386 Finally implement texture and text rendering 2023-01-02 23:11:59 +01:00
Dendy 9d23bbc39e WIP2: Text/texture rendering 2023-01-02 02:28:57 +01:00
Dendy ebe6aa8d9a WIP: Implement text rendering 2022-12-31 04:38:49 +01:00
Dendy 81d24ea62d Update @call to latest API 2022-12-31 01:57:45 +01:00
Dendy 7265089f7c Change fade rects color. Implement float setColor 2022-12-14 04:09:27 +01:00
Dusk 51404cd706 Remove useless function 2022-12-01 12:04:10 +01:00
Dusk 6c77226652 Use new struct for actions 2022-12-01 12:01:55 +01:00
Dusk 52f35807d3 Fix GL 2022-12-01 10:28:59 +01:00
Dusk a248749538 ActionList is now a struct (in Game.zig)
It will be changed in Menu as well
2022-10-06 15:15:24 +02:00
Dendy a3b1e5171e Fix for stage-2. fn -> *const fn & fix castings 2022-09-26 09:08:59 +02:00
Dendy 9271fa1cae WIP update SDL, still crashes 2022-09-24 02:26:31 +02:00
Dusk 331d73d7ab Fix rendering bug by clearing the index buffer 2022-09-04 12:55:23 +02:00
Dusk 5adc005f6f Detect top out and return to menu WIP 2022-09-03 20:41:26 +02:00
Dusk 8d47cb26f5 Skewed menu WIP 2022-08-27 13:40:54 +02:00
Dusk fc44bb3456 Menu navigation 2022-08-27 12:45:07 +02:00
Dusk 6163a5bbcb WIP | Make it prettier and also implement Skewing 2022-08-13 15:43:02 +02:00
Dusk a46d4ede0d WIP | Implement basic menu rendering 2022-08-13 14:35:35 +02:00
Dusk 735ff622a0 Batch rendering with colors 2022-08-03 19:38:44 +02:00
Dusk d2fbc27fe5 Attempt color with batch rendering 2022-08-03 14:19:46 +02:00
Dusk 5c7ea5ea37 Graphics buffering changes, WIP 2022-08-02 22:19:31 +02:00
Dendy c9fe252019 Merge remote-tracking branch 'origin/main' 2022-07-29 14:41:30 +02:00