Commit graph

98 commits

Author SHA1 Message Date
Christian Kroll
d4ae78fee3 saved up to 240 bytes (depending on borg hw), translated some German comments into English and cleaned up formatting (sorry about the noise) 2011-08-17 01:16:25 +00:00
Christian Kroll
3e8768866c cosmetic cleanups and fixed bucket limits (didn't cause any bugs, though) 2011-06-26 00:17:51 +00:00
Christian Kroll
53fbefd70a cleaned up include directives 2011-06-02 14:00:51 +00:00
Christian Kroll
01347c853b saved 40 bytes 2011-03-14 10:30:04 +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
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
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
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
047abb575c squeezed another 550 bytes 2011-02-25 04:31:34 +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
ccc549db61 saved 44 bytes 2011-01-25 22:56:49 +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
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
b9283bc8e6 minor optimizations and cleanups 2010-12-17 23:33:06 +00:00
Christian Kroll
b16b908003 minor acceleration of the predictNextRow function 2010-12-15 21:51:59 +00:00
Christian Kroll
8e2261eddd make up 2010-12-15 18:44:07 +00:00
Christian Kroll
02c1038dc6 NAAAAAAAAAAAAAARFsvn stat 2010-12-15 18:43:14 +00:00
Christian Kroll
093790c3d3 made some functions static, removed a stupid bug ina prediction routine 2010-12-15 15:25:56 +00:00
Christian Kroll
e206a60e3f more streamlining 2010-12-15 02:29:51 +00:00
Christian Kroll
14d8dc969a streamlined various functions 2010-12-14 23:00:21 +00:00
Christian Kroll
8c92d54ff6 fixed: using wrong index at the nStartingRow array 2010-12-14 22:59:21 +00:00
Christian Kroll
fd016d9950 inlined getter functions 2010-12-14 22:58:16 +00:00
Christian Kroll
b36bb8289e slightly optimized prediction routines 2010-12-12 21:17:42 +00:00
Christian Kroll
4ce8ac5421 cleaned up removeCompleteLines(...) and inlined the get functions 2010-12-12 07:50:51 +00:00
Christian Kroll
7df70ca765 fixed a bug which sometimes caused miscalculated column heights 2010-12-12 07:49:33 +00:00
Christian Kroll
7deb41c236 optimized collision detection and better preprocessing for bastet (bastet algorithm almost twice as fast) 2010-12-09 19:34:03 +00:00
Christian Kroll
a246779eff fixed stupid input interpretation bug 2010-08-28 15:23:03 +00:00
Christian Kroll
e23f079ae9 cleaned up include directives 2010-08-28 15:13:35 +00:00
Christian Kroll
372b3117f6 removed printf to reduce avr image size 2010-08-24 23:01:21 +00:00
Christian Kroll
39d558758c small optimizations, bastet fixed 2010-08-24 23:00:40 +00:00
Christian Kroll
2dadcb1d0b the paddle moves twice as fast if you press the fire button 2010-08-22 03:11:49 +00:00
Christian Kroll
63bf4d3e18 renamed some modules 2010-08-22 03:08:57 +00:00
Christian Kroll
59b18f30d0 renamed some modules 2010-08-22 03:07:46 +00:00
Christian Kroll
9a26e44e68 fixed a bunch of compiler warnings 2010-04-22 21:49:26 +00:00
alu
102a17dbaf Selectring joystick support now enables parallel joystick support automatically. Selecting Tetris selects the default Tetris, too 2010-04-17 14:47:19 +00:00
Christian Kroll
fc961bf0ce the breakout demo now uses a randomly chosen level 2010-04-13 10:35:38 +00:00
Christian Kroll
1d28b75a0a modified bastet algorithm to behave more like the original 2010-04-11 06:40:28 +00:00
Christian Kroll
36ca04d742 clearer tetris menu layout 2010-04-10 22:00:18 +00:00
Christian Kroll
87e5053fdc removed unnecessary if-clause 2010-04-10 13:53:48 +00:00
Christian Kroll
96939cf72d added breakout demo animation 2010-04-09 20:41:23 +00:00
Christian Kroll
911bc9bb28 fixed initialization problem 2010-04-01 22:59:56 +00:00