Commit Graph

  • b0b84101a2 Mario: don't let Mario go left zv0n 2021-04-26 21:59:21 +02:00
  • dd6f37264c SDLPP: add collider IDs zv0n 2021-04-26 21:57:31 +02:00
  • 19e66bf34a Mario: initial commit zv0n 2021-04-25 22:42:55 +02:00
  • 7206dbf7c3 SDLPP: Scene - add visitCollisions function zv0n 2021-04-25 16:07:46 +02:00
  • 5b96de0d9d SDLPP: Scene - add function to bring objet to the front or back of Z zv0n 2021-04-25 15:54:16 +02:00
  • 1f5e3a999c SDLPP: add header files to sdlpp.hpp zv0n 2021-04-25 14:09:14 +02:00
  • 87970bfc4b SDLPP: Visitor pattern zv0n 2021-04-25 13:57:33 +02:00
  • ee82430f82 SDLPP: animation/movement chagnes zv0n 2021-04-24 23:26:27 +02:00
  • 6cfe2046d4 SDLPP: Formatting zv0n 2021-03-15 14:50:40 +01:00
  • 4cd351c7a3 SDLPP: Texture - use SDL_Color zv0n 2021-03-15 14:48:48 +01:00
  • 8540573455 SDLPP: RenderObject - use Vec2D zv0n 2021-03-15 14:43:56 +01:00
  • 6ecdb6d90d SDLPP: Renderer/Scene - use Vec2D instead of std::pair zv0n 2021-03-15 14:37:53 +01:00
  • aaae85a932 SDLPP: LineRenderer - use new features zv0n 2021-03-15 14:30:01 +01:00
  • 8b3eee0673 SDLPP: Split fontconfiguration into 2 files zv0n 2021-03-15 14:18:41 +01:00
  • 406186d8bb TETRIS: Fix restart zv0n 2021-03-14 17:02:41 +01:00
  • 594316dcea Tetris: formatting zv0n 2021-03-13 18:37:23 +01:00
  • 2f20661b5b SDLPP: formatting, make compileable on Linux zv0n 2021-03-13 18:36:29 +01:00
  • d2cf54556e New collision detection zv0n 2021-03-13 15:05:16 +01:00
  • 258ce51cfe Trying to switch to more object-oriented zv0n 2021-03-12 22:33:46 +01:00
  • fbe122a5b9 Added FEATURE flag, fixed rare segfault master zv0n 2021-03-09 09:27:15 +01:00
  • bb502b37f4 Animation zv0n 2021-03-07 14:06:55 +01:00
  • c7ec12584c Add texture alpha blending zv0n 2021-03-07 13:18:58 +01:00
  • fbc1fdd6f7 Added source rectangle option for texture setting zv0n 2021-03-07 13:06:08 +01:00
  • fa10620901 TODOs zv0n 2021-03-07 12:20:00 +01:00
  • 2661d6ca76 SDLPP: CircleRenderer can be rendered zv0n 2021-01-31 21:48:48 +01:00
  • 8481560175 Decided this TODO isn't required zv0n 2021-01-31 18:17:41 +01:00
  • 3de364ce26 TETRIS: make enough room for 'Quit Game' text zv0n 2021-01-31 16:02:08 +01:00
  • f92a94ef01 SDLPP: Don't save textures before render zv0n 2021-01-31 15:56:47 +01:00
  • 392bc4f203 TETRIS: Add windows_release target to Makefile zv0n 2021-01-30 23:14:12 +01:00
  • ba1e2a2dc5 TETRIS: Fix score not updating zv0n 2021-01-30 23:12:30 +01:00
  • 79557e9edc TETRIS: only change textures in the main thread zv0n 2021-01-30 23:01:36 +01:00
  • ff091a66b9 TETRI: silence a warning in custom_classes zv0n 2021-01-30 23:00:58 +01:00
  • a8ff8e49c7 SDLPP: Don't automatically updateSizeAndPosition with every text change zv0n 2021-01-30 22:59:22 +01:00
  • 2622c9fb98 SDLPP: Make compile-able in g++ zv0n 2021-01-30 22:23:45 +01:00
  • 430d99ff38 TETRIS: Split custom_classes into cpp and hpp and only use 1 shared block texture zv0n 2021-01-30 22:18:15 +01:00
  • fe675369ea TETRIS: Use FontConfiguration zv0n 2021-01-30 21:35:25 +01:00
  • 73f67a3f47 SDLPP: Use FontConfiguration to store font configuration zv0n 2021-01-30 21:32:08 +01:00
  • 1f7a80d7d2 SDLPP: Save texture before rendering zv0n 2021-01-30 21:24:54 +01:00
  • b65b0bf034 TETRIS: use new TextRenderer interface zv0n 2021-01-30 16:48:40 +01:00
  • a818c567fc SDLPP: TextRenderer remembers last font/color/outline zv0n 2021-01-30 16:43:43 +01:00
  • 7f661630c0 TETRIS: static_cast might be faster than dynamic cast zv0n 2021-01-30 16:02:02 +01:00
  • ad1805101c SDLPP TextRenderer: actually copy in copySelf zv0n 2020-12-18 16:12:26 +01:00
  • 27949f891a SDLPP LineRenderer: actually copy in copySelf zv0n 2020-12-18 16:05:38 +01:00
  • d4f3e07ae4 TETRIS: make copySelf actually copy everything zv0n 2020-12-18 16:02:23 +01:00
  • 20c30712b9 SDLPP: make copySelf actually copy everything zv0n 2020-12-18 16:02:02 +01:00
  • 67a56d31de TETRIS: use updated TextRenderer zv0n 2020-12-18 15:14:08 +01:00
  • 7267cb7b9a SDLPP TextRenderer: change font size based on rectangle height zv0n 2020-12-18 15:10:13 +01:00
  • 57143262ac SDLPP: allow change of font size zv0n 2020-12-18 15:08:21 +01:00
  • 346b8ce384 Formatting zv0n 2020-11-22 23:48:45 +01:00
  • a5bcb3f547 Tetris: update to use dll library on windows zv0n 2020-11-22 23:39:49 +01:00
  • f6f4307169 gitignore:updated for windows zv0n 2020-11-22 23:38:17 +01:00
  • 730a00b8fa SDLPP: add .dll target for windows zv0n 2020-11-22 23:37:55 +01:00
  • 5f40ffe4e1 TETRIS: fix compilation on linux zv0n 2020-11-22 22:01:20 +01:00
  • afc836902b Make dynamic library work on macos zv0n 2020-11-22 21:58:37 +01:00
  • 01ac90dbfc Add clang-format zv0n 2020-11-22 21:57:10 +01:00
  • 90879a3f21 TETRIS: use new sdlpp library zv0n 2020-11-21 20:58:52 +01:00
  • a67e9e5b1a Ignore dynamic libraries zv0n 2020-11-21 20:58:27 +01:00
  • 6c287164d5 Delete old sdlpp zv0n 2020-11-21 20:58:12 +01:00
  • 633502b189 Split sdlpp into smaller files zv0n 2020-11-21 20:57:40 +01:00
  • 9890da4e06 TETRIS: add variable scores based on number of lines destroyed zv0n 2020-10-29 18:01:38 +01:00
  • b6a2e14507 TETRIS: fix bug where shadows took pieces out of bag zv0n 2020-10-29 11:00:44 +01:00
  • ca4ccbebc8 Tetris: use new event retreival function zv0n 2020-10-20 11:43:36 +02:00
  • 2b2f5aa940 SDLPP: Add function for retreiving events that works on all platforms zv0n 2020-10-20 11:43:22 +02:00
  • 5ec4182519 Tetris: make playable on macOS zv0n 2020-10-20 11:04:07 +02:00
  • 13d18d071f Tetris: suppress size_t warnings zv0n 2020-09-29 18:36:12 +02:00
  • 7f70d98bb4 Maybe fix possible race condition zv0n 2020-09-29 18:33:50 +02:00
  • 7621dc8dd4 Tetris: add block texture zv0n 2020-09-29 18:22:26 +02:00
  • eb60c88dac Tetris: Finish TODOs zv0n 2020-09-26 20:23:03 +02:00
  • 883ad19a50 Tetris: move generating of new blocks after restart to main thread zv0n 2020-09-26 20:13:27 +02:00
  • 96c54454f7 TETRIS: Code cleanup zv0n 2020-09-13 14:14:39 +02:00
  • 896b5d131f Makefile: add windows tetris target zv0n 2020-09-12 16:35:42 -07:00
  • 9ef82a9d8e TETRIS: load font with lower size zv0n 2020-09-12 16:33:51 -07:00
  • 99c5c7fb9e Add windows specific changes zv0n 2020-09-12 13:09:20 +02:00
  • dc819016a6 TETRIS: when copySelf, set hidden/disableRotation properly zv0n 2020-09-12 12:57:58 +02:00
  • a2160c3735 TETRIS: added gruvbox light color scheme zv0n 2020-09-12 09:43:10 +02:00
  • 74e53a0d67 Fix possible segfault zv0n 2020-09-12 09:36:08 +02:00
  • 0a06e1d841 TETRIS: change menu background, slightly alter checking for full lines zv0n 2020-09-11 21:54:45 +02:00
  • bd60a8bf59 TETRIS: update Makefile zv0n 2020-09-11 21:40:51 +02:00
  • 985a58b112 Remove debug messages zv0n 2020-09-11 21:38:33 +02:00
  • 51699740ab TETRIS: separate into multiple files, add options zv0n 2020-09-11 21:34:43 +02:00
  • 47349c06c1 Make colors configurable zv0n 2020-09-11 15:05:41 +02:00
  • 4a2f879448 Move tetris to its own dir zv0n 2020-09-11 14:29:06 +02:00
  • c7f3e7c741 TETRIS: lines zv0n 2020-09-11 14:24:54 +02:00
  • c7f5e834bb TETRIS: fix rotation zv0n 2020-09-11 12:28:42 +02:00
  • a10f3cf47e Only show shadow BELOW current piece zv0n 2020-09-11 11:47:24 +02:00
  • 625e7866a4 TETRIS: Show shadow of where the piece will fall zv0n 2020-09-10 16:50:36 +02:00
  • 393b975dbe Tetris: dark background, make window resizable zv0n 2020-08-24 22:14:41 +02:00
  • 3cc5c4192a Add option to make window resizable, fix scaling zv0n 2020-08-24 22:14:26 +02:00
  • f36890e124 Start pieces from higher up zv0n 2020-08-24 20:46:10 +02:00
  • 194981a3d3 Finally fix randomly missing blocks zv0n 2020-08-24 20:37:20 +02:00
  • 14943bf005 Fixed game over menu zv0n 2020-08-24 20:07:11 +02:00
  • af5e7bbd34 Add game over screen zv0n 2020-08-24 18:44:42 +02:00
  • c853e925bd TETRIS: Add restart option to pause menu zv0n 2020-08-24 18:21:35 +02:00
  • 93d47d9883 Add save/restore to scene zv0n 2020-08-24 18:21:03 +02:00
  • 29b750cf9a Fixed random 45 degree turns zv0n 2020-08-24 17:44:34 +02:00
  • e6bf3def99 Check surroundings before rotation zv0n 2020-08-24 16:36:24 +02:00
  • 9daf4b373d Mark getPos as const zv0n 2020-08-24 16:33:53 +02:00
  • 07fb33c2dd Tetris pieces should be shared_ptr zv0n 2020-08-24 08:48:25 +02:00
  • 5d18c3b923 Tetris: slightly better randomizer zv0n 2020-08-23 15:49:38 +02:00
  • 74d8799ab5 Tetris: fixed when high framerates zv0n 2020-08-23 15:30:45 +02:00