Commit Graph

83 Commits

Author SHA1 Message Date
67a56d31de TETRIS: use updated TextRenderer 2020-12-18 15:14:08 +01:00
7267cb7b9a SDLPP TextRenderer: change font size based on rectangle height 2020-12-18 15:10:13 +01:00
57143262ac SDLPP: allow change of font size 2020-12-18 15:08:21 +01:00
346b8ce384 Formatting 2020-11-22 23:48:45 +01:00
a5bcb3f547 Tetris: update to use dll library on windows 2020-11-22 23:39:49 +01:00
f6f4307169 gitignore:updated for windows 2020-11-22 23:38:17 +01:00
730a00b8fa SDLPP: add .dll target for windows 2020-11-22 23:37:55 +01:00
5f40ffe4e1 TETRIS: fix compilation on linux 2020-11-22 22:01:20 +01:00
afc836902b Make dynamic library work on macos 2020-11-22 21:58:37 +01:00
01ac90dbfc Add clang-format 2020-11-22 21:57:10 +01:00
90879a3f21 TETRIS: use new sdlpp library 2020-11-21 20:58:52 +01:00
a67e9e5b1a Ignore dynamic libraries 2020-11-21 20:58:27 +01:00
6c287164d5 Delete old sdlpp 2020-11-21 20:58:12 +01:00
633502b189 Split sdlpp into smaller files 2020-11-21 20:57:40 +01:00
9890da4e06 TETRIS: add variable scores based on number of lines destroyed 2020-10-29 18:01:38 +01:00
b6a2e14507 TETRIS: fix bug where shadows took pieces out of bag 2020-10-29 11:00:44 +01:00
ca4ccbebc8 Tetris: use new event retreival function 2020-10-20 11:43:36 +02:00
2b2f5aa940 SDLPP: Add function for retreiving events that works on all platforms 2020-10-20 11:43:22 +02:00
5ec4182519 Tetris: make playable on macOS 2020-10-20 11:04:07 +02:00
13d18d071f Tetris: suppress size_t warnings 2020-09-29 18:36:12 +02:00
7f70d98bb4 Maybe fix possible race condition 2020-09-29 18:33:50 +02:00
7621dc8dd4 Tetris: add block texture 2020-09-29 18:22:26 +02:00
eb60c88dac Tetris: Finish TODOs 2020-09-26 20:23:03 +02:00
883ad19a50 Tetris: move generating of new blocks after restart to main thread 2020-09-26 20:13:27 +02:00
96c54454f7 TETRIS: Code cleanup 2020-09-13 14:14:39 +02:00
896b5d131f Makefile: add windows tetris target 2020-09-12 16:35:42 -07:00
9ef82a9d8e TETRIS: load font with lower size 2020-09-12 16:33:51 -07:00
99c5c7fb9e Add windows specific changes 2020-09-12 13:09:20 +02:00
dc819016a6 TETRIS: when copySelf, set hidden/disableRotation properly 2020-09-12 12:57:58 +02:00
a2160c3735 TETRIS: added gruvbox light color scheme 2020-09-12 09:43:10 +02:00
74e53a0d67 Fix possible segfault 2020-09-12 09:36:08 +02:00
0a06e1d841 TETRIS: change menu background, slightly alter checking for full lines 2020-09-11 21:54:45 +02:00
bd60a8bf59 TETRIS: update Makefile 2020-09-11 21:40:51 +02:00
985a58b112 Remove debug messages 2020-09-11 21:38:33 +02:00
51699740ab TETRIS: separate into multiple files, add options 2020-09-11 21:34:43 +02:00
47349c06c1 Make colors configurable 2020-09-11 15:05:41 +02:00
4a2f879448 Move tetris to its own dir 2020-09-11 14:29:06 +02:00
c7f3e7c741 TETRIS: lines 2020-09-11 14:24:54 +02:00
c7f5e834bb TETRIS: fix rotation 2020-09-11 12:28:42 +02:00
a10f3cf47e Only show shadow BELOW current piece 2020-09-11 11:47:24 +02:00
625e7866a4 TETRIS: Show shadow of where the piece will fall 2020-09-10 16:50:36 +02:00
393b975dbe Tetris: dark background, make window resizable 2020-08-24 22:14:41 +02:00
3cc5c4192a Add option to make window resizable, fix scaling 2020-08-24 22:14:26 +02:00
f36890e124 Start pieces from higher up 2020-08-24 20:46:10 +02:00
194981a3d3 Finally fix randomly missing blocks 2020-08-24 20:37:20 +02:00
14943bf005 Fixed game over menu 2020-08-24 20:07:11 +02:00
af5e7bbd34 Add game over screen 2020-08-24 18:44:42 +02:00
c853e925bd TETRIS: Add restart option to pause menu 2020-08-24 18:21:35 +02:00
93d47d9883 Add save/restore to scene 2020-08-24 18:21:03 +02:00
29b750cf9a Fixed random 45 degree turns 2020-08-24 17:44:34 +02:00