Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-05-04 | Whitespace | Torbjörn Andersson | |
svn-id: r17906 | |||
2005-05-03 | Use File::size() instead of stat() to find the size of a file. | Torbjörn Andersson | |
svn-id: r17900 | |||
2005-05-01 | This should fix the negative frequency bug that caused some sound effects | Torbjö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-30 | Support for looping sounds. | Torbjörn Andersson | |
svn-id: r17872 | |||
2005-04-29 | Added comment. | Torbjörn Andersson | |
svn-id: r17865 | |||
2005-04-29 | Replaced rand()/srand() with RandomSource. Of course, util_getRandom() is a | Torbjörn Andersson | |
pretty unnecessary function - we could call RandomSource directly - but let's take this one thing at a time. svn-id: r17863 | |||
2005-04-29 | Some limited - and quite possibly wrong - sound effects support. I have | Torbjörn Andersson | |
assumed, given their tiny size, that the sound samples are 8-bit mono. Looping is not implemented yet. Some sounds are skipped since the engine asks that they be played at a negative sample rate. (I think there is more to this than just a simple signed/unsigned issue, because they sound wrong even if I treat the frequency as unsigned.) svn-id: r17862 | |||
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-26 | We need to use unsigned chars here to be able to print accented characters, | Torbjörn Andersson | |
e.g. in the German cutscenes. svn-id: r17805 | |||
2005-04-26 | Make it possible to specify language at run-time, since the Gobliiins 1 | Torbjörn Andersson | |
support for other languages appears to work at least fairly well, and this makes it easier to test it. svn-id: r17804 | |||
2005-04-25 | Keep track per piece whether or not it was dynamically allocated, otherwise | Torbjörn Andersson | |
we'll end up trying to free invalid pointers. (Happened to me at the end of the level where you get the voodoo doll.) svn-id: r17802 | |||
2005-04-25 | This one looks wrong too, but I don't think it has caused any crash for me. | Torbjörn Andersson | |
Not yet, at least. And now, hopefully, it never will. svn-id: r17801 | |||
2005-04-25 | This ought to fix bug #1188910 | Torbjörn Andersson | |
svn-id: r17796 | |||
2005-04-22 | Must call openCD to support real Audio CD tracks | Max Horn | |
svn-id: r17747 | |||
2005-04-21 | Initialized variable to avoid Valgrind warning. | Torbjörn Andersson | |
svn-id: r17732 | |||
2005-04-19 | Call initCommonGFX() to set the graphics mode etc. | Torbjörn Andersson | |
svn-id: r17684 | |||
2005-04-19 | Whitespace | Torbjörn Andersson | |
svn-id: r17683 | |||
2005-04-16 | Hack to get the CD version to play even if no CD track is present | Max Horn | |
svn-id: r17641 | |||
2005-04-15 | o Switch track on each new scene. | Eugene Sandulenko | |
o Slight improvement on track time calculation. o Stub for gob2. svn-id: r17603 | |||
2005-04-14 | Fix from wjp for redraws and input during delays | Eugene Sandulenko | |
svn-id: r17602 | |||
2005-04-13 | Enable perfect timer so intro runs in sync now. Matches disassembly | Eugene Sandulenko | |
svn-id: r17593 | |||
2005-04-13 | Patch from wjp. Fix keyboard input. | Eugene Sandulenko | |
svn-id: r17592 | |||
2005-04-13 | Support for Red Book audio in CD version of gob1. | Eugene Sandulenko | |
svn-id: r17588 | |||
2005-04-13 | Fixed typo in comment. | Torbjörn Andersson | |
svn-id: r17576 | |||
2005-04-13 | Fix hang in EGA version. Thanks to wjp. Be careful with that parse_printExpr() | Eugene Sandulenko | |
svn-id: r17573 | |||
2005-04-13 | Make VAR macros safer. | Eugene Sandulenko | |
svn-id: r17572 | |||
2005-04-12 | Patch #1181639. "GOB: Possible inter_renewTimeInVars() fix" | Eugene Sandulenko | |
svn-id: r17570 | |||
2005-04-12 | Add comments on CD-specific opcodes | Eugene Sandulenko | |
svn-id: r17566 | |||
2005-04-12 | Remove reference to resource.h | Eugene Sandulenko | |
svn-id: r17559 | |||
2005-04-12 | Remove unneeded files. | Eugene Sandulenko | |
svn-id: r17558 | |||
2005-04-11 | add comment explaining this struct contains LE values | Joost Peters | |
svn-id: r17557 | |||
2005-04-11 | endian-convert pieces value when read, instead of when they are loaded ↵ | Joost Peters | |
(since I don't know how to tell how many picts there) svn-id: r17556 | |||
2005-04-11 | Patch from wjp. Support for CD and EGA versions. | Eugene Sandulenko | |
svn-id: r17555 | |||
2005-04-11 | no, we only check for the value being 0, so no endian conversion is needed ;-) | Max Horn | |
svn-id: r17554 | |||
2005-04-11 | cleanup | Max Horn | |
svn-id: r17553 | |||
2005-04-11 | Endian fixes, getting past the 'Please wait...' loading screen now | Max Horn | |
svn-id: r17552 | |||
2005-04-11 | cleanup | Max Horn | |
svn-id: r17550 | |||
2005-04-11 | Endian fixes | Max Horn | |
svn-id: r17549 | |||
2005-04-11 | Stub out some opcodes, to get the CD version go a bit further (thanks Willem) | Max Horn | |
svn-id: r17548 | |||
2005-04-11 | cleanup | Joost Peters | |
svn-id: r17539 | |||
2005-04-11 | more struct conversion | Joost Peters | |
svn-id: r17538 | |||
2005-04-11 | convert some struct members - unfortunately we can't currently allocate ↵ | Joost Peters | |
memory and read the struct in "the proper way", as the engine still addresses data beyond it svn-id: r17537 | |||
2005-04-10 | Add autodetection for WinCE (to be modified) | Nicolas Bacca | |
svn-id: r17527 | |||
2005-04-10 | Get rid of posixism | Nicolas Bacca | |
svn-id: r17526 | |||
2005-04-10 | Some 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-10 | Apply "correct handling of transp in drawSprite()" patch by wjp. | Joost Peters | |
(Colour 0 should only be skipped when transp is set) Fixes wrong colour in intro and clearing of buffer after fades. svn-id: r17511 | |||
2005-04-10 | fix jumping goblin bug | Joost Peters | |
svn-id: r17509 | |||
2005-04-10 | fix 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-09 | Fix jumping actor glitch. Thanks to joostp. | Eugene Sandulenko | |
svn-id: r17492 | |||
2005-04-09 | Fix for put apple bug from wjp | Eugene Sandulenko | |
svn-id: r17491 |