Commit Graph

28 Commits

Author SHA1 Message Date
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 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 7265089f7c Change fade rects color. Implement float setColor 2022-12-14 04:09:27 +01:00
Dusk 52f35807d3 Fix GL 2022-12-01 10:28:59 +01:00
Dusk 331d73d7ab Fix rendering bug by clearing the index buffer 2022-09-04 12:55:23 +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 bdc73aad4b Renderer general cleanup 2022-07-29 10:31:24 +02:00
Dendy a4cf3c6581 Deactivate VSync with err handling, fix framerate 2022-07-29 09:03:16 +02:00
Dendy 4da430a02b Line drawing optimizations, vertex indexing 2022-07-28 16:29:24 +02:00
Dendy c1cd614040 Fix borders being thinner than they should 2022-07-25 17:49:04 +02:00
Dendy 9a1ab8de6f Update SDL.zig, adapt Renderer.zig 2022-07-25 16:34:39 +02:00
Dendy fb09ef0b6e Implement transparency and borders 2022-07-25 15:57:25 +02:00
Dendy 95c340b915 Implement main game rendering WIP 2022-07-25 15:32:25 +02:00
Dendy 022afa07b0 Merge remote-tracking branch 'origin/main' into feature/opengl-port 2022-07-25 09:59:20 +02:00
Dendy 1d24389a0a Create separate rendering functions 2022-07-22 17:57:51 +02:00
Dendy d0f444fa13 Move rendering out of main 2022-07-22 17:23:12 +02:00