Commit Graph

54 Commits

Author SHA1 Message Date
Christian Kroll 047abb575c squeezed another 550 bytes 2011-02-25 04:31:34 +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 0c65727a52 small cleanups 2010-12-20 22:52:08 +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 39d558758c small optimizations, bastet fixed 2010-08-24 23:00:40 +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
Christian Kroll 1d28b75a0a modified bastet algorithm to behave more like the original 2010-04-11 06:40:28 +00:00
Christian Kroll 911bc9bb28 fixed initialization problem 2010-04-01 22:59:56 +00:00
Christian Kroll 3f2d878b7d vastly improved modularization and the view is resizable now 2010-04-01 03:11:59 +00:00
kju ab08ab3fa2 first person tetris added 2010-01-21 20:15:05 +00:00
kju 40a3db9fe8 allow games without menu support, don't include icons then. ugly hack for now. 2010-01-14 01:38:15 +00:00
kju 4cb6e44ced fix tetris code to compile without scrolltext engine 2010-01-13 19:24:10 +00:00
kju 5c6bfcde5d Change chatter value for drop as requested by tunix. 2010-01-12 21:52:08 +00:00
Christian Kroll c1295224ee bug fix: wrong type used for line number representation 2010-01-12 17:31:09 +00:00
Christian Kroll 9341dad54a minor cleanups and some whitespace fun 2010-01-11 23:34:36 +00:00
kju 187765a1ef Tetris: Add separate highscore counters for standard and bastet. Add input
and display of three character nick name for highscore achiever.
2010-01-11 21:47:56 +00:00
Christian Kroll afe1e7d265 minor optimizations 2010-01-03 03:42:35 +00:00
Christian Kroll 48badfd134 synced with my personal tree again 2009-12-27 15:35:41 +00:00
Christian Kroll 903072815b synced with my personal Bastet tree 2009-12-27 02:11:58 +00:00
suschman 27260b2abe Removed unused variables as of gcc noitification 2009-12-21 02:45:43 +00:00
Christian Kroll f9dffee320 added functions to change pieces and determine their number of different angles 2009-11-06 02:28:17 +00:00
Christian Kroll 42bebccfba added functions to change pieces and determine their number of different angles 2009-11-06 02:22:11 +00:00
Christian Kroll 6aaf4b0c2e removed needless #include-directive 2009-11-05 20:44:16 +00:00
Christian Kroll 058677d773 added evaluation function for given moves 2009-11-05 19:14:50 +00:00
Christian Kroll 2e67e52e7b modified prediction functions 2009-11-05 19:13:30 +00:00
Christian Kroll 300b6eff8e corrected a comment 2009-10-31 15:42:45 +00:00
Christian Kroll 326585e5ac added functions which predict the outcome of a piece drop 2009-10-31 15:16:30 +00:00
Christian Kroll 072964dc6d added a function for changing a piece's shape 2009-10-31 15:15:00 +00:00
Christian Kroll cc0f4e3cf5 preparations for Bastet 2009-10-31 15:13:53 +00:00
Christian Kroll 45cee1bc71 added bast.h and bast.c 2009-10-31 15:12:46 +00:00
kank d8fe1c66d2 Linecounter gedimmt 2009-10-13 17:56:14 +00:00