Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-02-11 | Change CVS keywords to SVN keywords | Max Horn | |
svn-id: r20520 | |||
2006-01-29 | Patch #1417631: "gobliiins cleanup". Thanks, wjp. | Eugene Sandulenko | |
svn-id: r20283 | |||
2006-01-18 | Update copyright notice | Eugene Sandulenko | |
svn-id: r20088 | |||
2006-01-04 | More work on renaming class variables with underscore prefix | Eugene Sandulenko | |
svn-id: r19903 | |||
2006-01-03 | Patch #1395615 "GobEngine code wrapped in classes". With some cosmetic changes. | Eugene Sandulenko | |
svn-id: r19899 | |||
2005-12-30 | Added kMapHeight and kMapWidth constants | Max Horn | |
svn-id: r19864 | |||
2005-12-30 | Added kMapHeight and kMapWidth constants | Max Horn | |
svn-id: r19863 | |||
2005-12-18 | Minor simplification. | Torbjörn Andersson | |
svn-id: r19804 | |||
2005-10-18 | Update FSF address. Eek. Actually that took place on May 1, 2005 | Eugene Sandulenko | |
svn-id: r19142 | |||
2005-07-10 | Cleanup. | Torbjörn Andersson | |
svn-id: r18529 | |||
2005-06-22 | Changed from char to int8 in a number of places. This makes not assume the ↵ | Lars Persson | |
typ of char regardless of any compiler flags. Now looks very nice on the Symbian platfor. svn-id: r18435 | |||
2005-04-28 | This should fix a crash which could happen when placing several objects too | Torbjörn Andersson | |
close to each other on the ground. (Happened to me on the first level after destroying the voodoo doll, where I'd drop the banana, the soap and the false nose close to each other on the ground after using them.) Reasoning behind the change: From what I understand, map_itemsMap[] contains information for each "cell" of the map about which objects are there. Each cell can contain two objects which are stored in the upper and lower byte of a 16-bit word. When dropping an object, it is written into map_itemsMap[], but not just to the indicated cell but also to a few of the surrounding ones. Presumably to make it easier to pick it up afterwards. When writing an object to a cell, we check if one of the bytes is already occupied. If it is, write to the other byte. Otherwise, write to that byte. (If both bytes are occupied, one will be overwritten.) The old code assumed that if one byte was free at position (x,y) the same byte would automatically be the free one in the surrounding cells. This could cause bad values in the array, since the item was added to an existing value, rather than replacing it. This new code makes the check for each cell that is modified. (It also gets rid of some code duplication.) svn-id: r17851 | |||
2005-04-11 | cleanup | Max Horn | |
svn-id: r17550 | |||
2005-04-09 | Fix legal header. Be careful when doing global search and replace! Better ↵ | Max Horn | |
use full-word regex, to avoid problems like this svn-id: r17485 | |||
2005-04-05 | Changed remaining file headers | Max Horn | |
svn-id: r17401 | |||
2005-04-05 | Initial checking of Gob engine | Eugene Sandulenko | |
svn-id: r17388 |