Commit graph

108 commits

Author SHA1 Message Date
Christian Kroll
974a7a89b3 Accidentally enforced new table layout instead of the old one. Should be compatible with established Borg EEPROM layouts, now. 2012-03-24 00:44:16 +00:00
Christian Kroll
6743221e8e New tool chain reordered the global arrays for the high score values and the champion's initials, therefore I packed them into a struct to prevent further annoyances. 2012-03-23 23:21:46 +00:00
Christian Kroll
0b49336643 saved 12 bytes (yes, I really needed them) 2011-11-01 14:56:24 +00:00
Christian Kroll
c3bd8e0913 using unsigned literals produces better code regarding modulo operations 2011-10-29 23:44:51 +00:00
Christian Kroll
6e91e5e29b increased "ignore counter" for the fire button because of joystick chatter 2011-10-29 22:45:30 +00:00
Hans-Gert Dahmen
9efcc251a7 more config options; better default profiles 2011-10-29 05:59:46 +00:00
Hans-Gert Dahmen
0c379920a1 fixed, added, stuffed 2011-10-28 20:50:23 +00:00
Christian Kroll
56973fe40a moved const modifier to the right of the type (for consistency) 2011-09-04 22:24:57 +00:00
alu
5265dd318c Fixed a couple of compile errors with avr-gcc 4.6.1 2011-09-04 01:08:13 +00:00
Christian Kroll
b39da5ff5e Fixed build errors on borgs with asymmetric resolutions. 2011-08-17 03:35:36 +00:00
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