Commit Graph

100 Commits

Author SHA1 Message Date
Dusk acc3cd890d Fix framerate issue 2022-07-29 12:37:29 +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
Dusk e4f7fca02d Fix Delay compensation 2022-07-28 16:47:45 +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 7921471b96 Port MainMenu to OpenGL 2022-07-25 16:12:57 +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
Dusk d740e72544 Complete renderer file structure 2022-07-23 19:33:43 +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
Dendy 4883fc68e2 Being able to set the color 2022-07-22 16:46:13 +02:00
Dendy 07b47f3e82 Basic shaders for triangle coloring 2022-07-22 16:10:58 +02:00
Dendy 2385167e87 Draw triangle 2022-07-22 11:48:44 +02:00
Dendy ccfeb1fe1b WIP: open an image and clear with OpenGL 2022-07-21 17:55:22 +02:00
Dusk 65c1f5eb34 Implement gravity 2022-07-21 14:02:22 +02:00
Dusk 27270e1832 Change src structure, separate game renderer 2022-07-21 13:14:16 +02:00
Dusk 9ba1ca0216 Main Menu Action struct implementation 2022-07-20 20:17:31 +02:00
Dusk d8e86e24d4 Make Action struct agnostic 2022-07-20 19:31:18 +02:00
Dusk cb171b7cf8 Test SDL Image 2022-07-16 15:33:52 +02:00
Dusk 7da3ce5592 Fix silly t-twist mistake 2022-07-16 14:59:59 +02:00
Dusk 825bf1a499 Make use of zig switch syntax 2022-07-14 15:23:13 +02:00
Dusk 2c22dabeae Horizontal repetition WIP 2022-07-14 15:22:40 +02:00
Dusk 276016cdf7 Main Menu Very WIP 2022-07-13 22:59:54 +02:00
Dusk 0d7bd044dc Main Menu Structure WIP 2022-07-12 20:27:40 +02:00
Dusk df495eb608 Change some names to coincide with zig style 2022-07-12 16:20:15 +02:00
Dusk af1c24853f Fix Instant Drop 2022-07-10 23:12:09 +02:00
Dusk 89afe54e37 Drop Timer 2022-07-10 19:44:48 +02:00
Dusk 516efd17e2 Code "refactoring" 2022-07-10 18:25:52 +02:00
Dusk 46cab832ed Add Timers 2022-07-10 18:25:38 +02:00
Dusk 0fdf0accb2 WIP Resolution agnosticism 2022-07-07 16:49:15 +02:00
Dusk 3cca4ced3f Better preview rendering 2022-07-07 16:23:16 +02:00
Dusk 7eb6f2b9b4 Misc 2022-07-06 19:17:17 +02:00
Dusk ee893b5947 Kicking 2022-07-06 16:30:54 +02:00
Dusk 1d5bc310b9 Kicking, not for I pieces 2022-07-06 02:12:18 +02:00
Dusk 8d2259b6c7 Basic rotation 2022-07-05 23:57:19 +02:00
Dusk 4f6a010564 Errors 2022-07-05 23:09:59 +02:00
Dusk 0bfe66f9f3 5 July 2022-07-05 20:26:57 +02:00
Dusk a69e78f29e Remove cache 2022-07-01 01:52:13 +02:00
Dusk b86e750d6e Remove zig-out 2022-07-01 01:51:17 +02:00
Dusk 088446a755 Ignore 2022-07-01 01:50:20 +02:00
Dusk 9e7244833e Bag preview rendering, bag randomization 2022-07-01 01:49:22 +02:00
Dusk d77df73f61 Piece bag WIP (Errors / No random) 2022-06-30 17:38:20 +02:00
Dusk b64efefea7 Piece dropping 2022-06-28 18:42:40 +02:00
Dusk 9866839080 28-06 2022-06-28 14:42:28 +02:00
Dusk 4eece876dc SDL Submodule 2022-06-15 15:34:09 +02:00
Dusk 060a8c797d Initial commit 2022-06-15 14:15:23 +02:00