aboutsummaryrefslogtreecommitdiff
path: root/gob/goblin.cpp
AgeCommit message (Collapse)Author
2006-02-03fixes allow compile with emsvc4 againPaweł Kołodziejski
svn-id: r20355
2006-01-29Patch #1417631: "gobliiins cleanup". Thanks, wjp.Eugene Sandulenko
svn-id: r20283
2006-01-27Patch #1416983: "gobliiins 64bit fixes" to fix bug #1399873: "GOB1: 64-bitEugene Sandulenko
crash at load screen". Thanks, wjp. svn-id: r20255
2006-01-18Update copyright noticeEugene Sandulenko
svn-id: r20088
2006-01-10Moved Goblin::interFunc() to Inter_v1::o1_goblinFunc(), converting its ↵Sven Hesse
switch() into an array of function pointers + lookup table svn-id: r19969
2006-01-09More variable underscoring, that should be allSven Hesse
svn-id: r19957
2006-01-08Added a dummy table for which music to play in Gobliiins Mac; some code ↵Sven Hesse
formating issues svn-id: r19951
2006-01-07Added initial support for ADL music files; continued underscoring of member ↵Sven Hesse
variables svn-id: r19937
2006-01-04Last chunk of underscore maddness for todayEugene Sandulenko
svn-id: r19904
2006-01-04More work on renaming class variables with underscore prefixEugene Sandulenko
svn-id: r19903
2006-01-03Patch #1395615 "GobEngine code wrapped in classes". With some cosmetic changes.Eugene Sandulenko
svn-id: r19899
2005-12-30Added kMapHeight and kMapWidth constantsMax Horn
svn-id: r19863
2005-12-18Minor simplification.Torbjörn Andersson
svn-id: r19804
2005-10-18Update FSF address. Eek. Actually that took place on May 1, 2005Eugene Sandulenko
svn-id: r19142
2005-10-12Patch from wjp #1325224 "Fix for Gobliiins 1 EGA crash on game-over"Eugene Sandulenko
which fixes bug #1324814 "GOB1 ega: lock up when game is over" svn-id: r19056
2005-10-12Hide unnecessary debug outputEugene Sandulenko
svn-id: r19027
2005-07-30Remove trailing whitespaces.Eugene Sandulenko
svn-id: r18604
2005-07-10Cleanup.Torbjörn Andersson
svn-id: r18529
2005-06-21Added temporary variables for readability.Torbjörn Andersson
svn-id: r18421
2005-05-06Patch #1196638 'GOB: Simple "beeper"'. Thanks eriktorbjorn.Eugene Sandulenko
svn-id: r17935
2005-05-05CleanupTorbjörn Andersson
svn-id: r17913
2005-05-01This should fix the negative frequency bug that caused some sound effectsTorbjörn Andersson
to not be played, and probably fixes wrong frequency on some that were played. It's all guesswork, though. I don't know if this is what the original did. svn-id: r17882
2005-04-28This should fix a crash which could happen when placing several objects tooTorbjö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-13Support for Red Book audio in CD version of gob1.Eugene Sandulenko
svn-id: r17588
2005-04-10Some inter_variables cleanup.Joost Peters
Now it should store all variables in the native endianness, instead of storing half in LE and the other half in the native endianness. Addresses and assignments can be tracked by modifying the macros if necessary. Also, meaningful constants can now be assigned to script variable numbers (if one were so inclined) svn-id: r17523
2005-04-10fix jumping goblin bugJoost Peters
svn-id: r17509
2005-04-10fix another "x = y" type copy/paste bug, unfortunately this still doesn't ↵Joost Peters
fix the jumping goblin in the first scene svn-id: r17507
2005-04-09Fix jumping actor glitch. Thanks to joostp.Eugene Sandulenko
svn-id: r17492
2005-04-09Fix for put apple bug from wjpEugene Sandulenko
svn-id: r17491
2005-04-09Get rid of debug.cpp/.h -- it wasn't used anyway, and contained bad code ↵Max Horn
(open/write/close to access a log file? yuck) svn-id: r17486
2005-04-09Fix 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-05Changed remaining file headersMax Horn
svn-id: r17401
2005-04-05Remove useless castsMax Horn
svn-id: r17400
2005-04-05Fixing lots of warningsMax Horn
svn-id: r17399
2005-04-05Initial checking of Gob engineEugene Sandulenko
svn-id: r17388