Commit Graph

453 Commits

Author SHA1 Message Date
Christian Kroll 93f0ddd977 generalized fp math pattern routines and added a psychedelic animation 2011-03-17 23:03:03 +00:00
Christian Kroll 67ec90ab67 some fine tuning 2011-03-14 15:13:02 +00:00
Christian Kroll 4993fe5194 simple plasma animation added 2011-03-14 10:34:16 +00:00
Christian Kroll 4a4b39fc6f libm added to the statically linked libraries 2011-03-14 10:33:49 +00:00
Christian Kroll 01347c853b saved 40 bytes 2011-03-14 10:30:04 +00:00
Christian Kroll fa820f9dd7 _XOPEN_SOURCE macro is now set via compiler commandline option 2011-03-14 10:29:33 +00:00
Christian Kroll d09736355f removed overflow with borg dimensions > 128 pixels 2011-03-14 10:28:27 +00:00
Christian Kroll 7e40c0df5c small clean up (the compiler did this optimization anyway) 2011-03-11 14:36:55 +00:00
Christian Kroll 681c603da5 fixed some typos and forgotten debugging stuff 2011-03-11 07:04:44 +00:00
Christian Kroll 04eee8849e saved 404 bytes 2011-03-11 06:48:55 +00:00
Christian Kroll 7ae7e9f1e4 fixes double uint entries 2011-03-10 21:46:55 +00:00
Christian Kroll 57efa4abdf carefully using UNUM_[COLS|ROWS] at some places which saves 34 bytes (no breakage detected so far) 2011-03-10 21:25:06 +00:00
Christian Kroll a453b61742 using unsigned UNUM_ROWS and UNUM_COLS saves 80 bytes without breaking it 2011-03-10 21:21:07 +00:00
Christian Kroll b2ada1c384 reenabling unsignend literals for NUM_COLS and NUM_ROWS (resulting in additional macros called UNUM_COLS and UNUM_ROWS this time) 2011-03-10 21:18:09 +00:00
Christian Kroll b7f2d84266 "uint" keyword now creates both a normal and an unsigned literal (whose macro name is preceded with "U") 2011-03-10 21:13:45 +00:00
Christian Kroll da77cecfb1 reverted change with ecplicit unsigned NUM_COLS and NUM_ROWS because of unwanted side effects 2011-03-07 22:03:12 +00:00
Christian Kroll 4393ffa0b3 ignore .menuconfig.log in local tree 2011-03-07 19:46:31 +00:00
Christian Kroll 2bc0260f3b make prng support optional for all tetris related routines (useful for the limited ATmega8 flash mem) 2011-03-07 02:31:19 +00:00
Christian Kroll c1b55278cd fixed game loop handling if menu support is disabled 2011-03-07 02:28:42 +00:00
Christian Kroll f4c812bcf4 removed a note which just served as a cheat sheet for me 2011-03-07 01:33:28 +00:00
Christian Kroll 8a23a3bc8d saved 46 bytes by making some literal modulo operands explicitly unsigned 2011-03-07 01:13:35 +00:00
Christian Kroll e4faa25d16 added forgotten include 2011-03-07 01:12:03 +00:00
Christian Kroll a8d2f7b47b squeezed 216 bytes 2011-03-07 00:32:38 +00:00
Christian Kroll 28848358dd fixed: if a piece failed to rotate the bucket rotated nonetheless 2011-03-07 00:31:18 +00:00
Christian Kroll 8963b27a65 saved 162 bytes 2011-03-01 16:17:58 +00:00
Christian Kroll 1c3d4978c5 small cleanups 2011-02-25 22:57:49 +00:00
Christian Kroll b3276d75d4 removed forgotten debugging stuff 2011-02-25 20:35:12 +00:00
Christian Kroll cd2f02f39a 238 bytes this time 2011-02-25 19:54:05 +00:00
Christian Kroll 9c6a778871 saved 206 bytes 2011-02-25 07:47:42 +00:00
Christian Kroll 3725d7b420 reenables debugging flag for simulator 2011-02-25 04:37:40 +00:00
Christian Kroll 5bc7b3f52f making game starts more convenient if menu support is omitted 2011-02-25 04:34:09 +00:00
Christian Kroll 047abb575c squeezed another 550 bytes 2011-02-25 04:31:34 +00:00
Christian Kroll aa29c51bd8 put Martin Herwegs source code into separate files 2011-02-24 23:13:01 +00:00
Christian Kroll 85b0922e1d optimized some functions, saving ~100 byte 2011-02-23 10:34:41 +00:00
Christian Kroll 3a0d8799bd consolidated both snake trees, saving ~950 bytes 2011-02-23 10:33:27 +00:00
Christian Kroll 291c90ccf6 squeezed another 80 bytes 2011-02-06 22:56:26 +00:00
Christian Kroll 3affa5c9a3 squeezed another 680 bytes 2011-01-30 22:47:44 +00:00
Christian Kroll af4ff63f2b removed #include (leftover from debugging) 2011-01-25 23:05:04 +00:00
Christian Kroll 4920272878 saved another 270 bytes 2011-01-25 22:59:55 +00:00
Christian Kroll ccc549db61 saved 44 bytes 2011-01-25 22:56:49 +00:00
Christian Kroll d199d48abd PROGMEMed invader sprite, optimized some shifting foo - saving 106 bytes 2010-12-22 23:19:40 +00:00
Christian Kroll 3708a3accc optimzed checkerboard animation - saving 76 bytes - yeah 2010-12-22 23:18:11 +00:00
Christian Kroll 9fba9405ce line(...) and filled_rectangle(...) are only used by M. Herwegs animations -> conditional compilation 2010-12-21 14:14:35 +00:00
Christian Kroll ad44254968 removed unneeded precautions for reentrance related problems (longjmp() destroyes the current stack anyway) 2010-12-21 13:15:32 +00:00
Christian Kroll 108cf1321d Speicherschwein, Speicherschwein... wer kann das was ein Speicherschwein kann? 2010-12-20 22:52:39 +00:00
Christian Kroll 0c65727a52 small cleanups 2010-12-20 22:52:08 +00:00
Christian Kroll c64a587af4 PROGMEMed two sprite arrays 2010-12-20 22:51:25 +00:00
Christian Kroll 847648d5e6 I hate stupid bugs like this one 2010-12-20 22:51:03 +00:00
Christian Kroll 1a3e64844c replaced rand() with bg's random8() and replaced qsort() with my own heapsort function - saving 1.1 kB\! 2010-12-19 16:03:37 +00:00
Christian Kroll 41d9ded12f 27c3 logo added!!!11elf 2010-12-18 22:53:42 +00:00