Age | Commit message (Collapse) | Author |
|
svn-id: r33809
|
|
shadows a previous local.
svn-id: r33808
|
|
svn-id: r33807
|
|
svn-id: r33805
|
|
another mouse button waiting loop into the function's end (It's in both Future Wars and Operation Stealth). Fixes inventory showing in Operation Stealth.
svn-id: r33795
|
|
FWRenderer::setCommand use a Common::String. Hopefully this might help with the command buffer overflow stuff, although this isn't a fix for the problem behind it, just a bandaid.
svn-id: r33793
|
|
by the opcode 0x49 'o1_setDefaultMenuBgColor'. Should fix the 'text hard to read' problems.
svn-id: r33792
|
|
(Negative colors are used for timed text boxes that are totally transparent, only the text is drawn).
svn-id: r33790
|
|
as that's what it is (No need for using malloc & free anymore). Previously we would've tried to free an array that wasn't heap-allocated in freePoldatDat (Freeing fontParamTable_standard or fontParamTable_alt), that's fixed.
svn-id: r33786
|
|
palEntriesCount variable as it's now equivalent to palArray.size().
svn-id: r33785
|
|
function. Reworked loadTextData a bit so there are no two loops for the same thing (Also renamed some of the local variables).
svn-id: r33784
|
|
numElementInPart variable as it's now equivalent with partBuffer.size().
svn-id: r33783
|
|
the input says the data's unpacked size is less than its packed size (This shouldn't ever happen with non-corrupted data).
svn-id: r33782
|
|
to the function.
svn-id: r33781
|
|
(startup will fail nonethelesse since we have different pak file names)
svn-id: r33777
|
|
invalid free()), so that I can start and quit the game without any unexpected
warnings. (The obvious next step, of course, would be to actually *play* the game
for a bit...)
svn-id: r33766
|
|
moment, I'm
not aware of any game that actually uses this XMIDI feature, so its primary
function right now is to silence lots of warnings while running the DOS version
of Simon the Sorcerer 2.
svn-id: r33763
|
|
svn-id: r33761
|
|
svn-id: r33758
|
|
svn-id: r33756
|
|
svn-id: r33742
|
|
based on a patch from Chris Page).
svn-id: r33736
|
|
svn-id: r33733
|
|
Common::Array. Should help catch out of bounds access errors that may cause memory corruption.
svn-id: r33727
|
|
to catch out of bounds access errors which may cause memory corruption.
svn-id: r33726
|
|
catch out of bounds access errors that may cause memory corruption.
svn-id: r33725
|
|
better when it reaches zero this way although in its fully charged state it still does look a bit off. Disassembly seems to agree with not flipping the overlays so I'm going with this one for now).
svn-id: r33722
|
|
- Makes oxygen gauge during first arcade sequence visible as it gave drawPlainBox a height of zero.
Made type 21 overlays be drawn as type 22 (Filled rectangle).
- For an example the oxygen gauge during the first arcade sequence is a type 21 overlay.
Flipped type 21 & 22 overlays as it looks correct for the oxygen gauge.
These features are quite WIP, they need testing to see if they're correct.
svn-id: r33721
|
|
and improve the workaround
svn-id: r33714
|
|
added with opcode 0xA4 (o2_loadMask22) and removed with opcode 0xA5 (o2_unloadMask22)). Things might be wrong so needs testing! WIP!
svn-id: r33713
|
|
function's type 20 overlay case (Previously var5 wasn't updated anywhere!). Also added a lower bound for var5's value into a comparison (Previously only the upper bound was tested for).
svn-id: r33712
|
|
savegame name typing. One can move with the cursor keys anyway.
svn-id: r33710
|
|
svn-id: r33708
|
|
Also added decrypting of the crypted AUTO00.PRC for this particular version.
Now this version should work but no CD audio support for it yet though.
svn-id: r33703
|
|
volume, previously always played with full volume. Doesn't differentiate between playing sound effects and music!).
svn-id: r33700
|
|
moment):
- Should make it possible to complete the first arcade sequence legitimately
Renamed input variables (Their names were mixed up between Future Wars and Operation Stealth):
- Future Wars's inputVar1 -> egoMovedWithKeyboard
- Future Wars's inputVar2 -> xMoveKeyb
- Future Wars's inputVar3 -> yMoveKeyb
- Operation Stealth's inputVar0 -> xMoveKeyb
- Operation Stealth's inputVar1 -> yMoveKeyb
svn-id: r33698
|
|
svn-id: r33696
|
|
svn-id: r33693
|
|
svn-id: r33691
|
|
svn-id: r33690
|
|
svn-id: r33689
|
|
Stealth to avoid possible memory corruptions.
svn-id: r33688
|
|
This may help with some memory corruption issues when for an example trying to draw the player's command string out of screen.
svn-id: r33687
|
|
Operation Stealth:
- Made waitForPlayerClick updating more like in the original.
- Moved removeMessages to after the frame drawing in main loop hoping to be more like the original.
- Added an additional test to Operation Stealth's implementation of overlay type 2 drawing.
- Added an additional parameter incrementing and testing to Operation Stealth's removeMessages.
Hopefully this won't cause any regressions in Future Wars!
svn-id: r33686
|
|
native
MIDI driver instead of Adlib.
svn-id: r33678
|
|
svn-id: r33674
|
|
position to avoid getting stuck.
The player's position is changed only by *one* pixel but it helps
and makes it possible to carry on with the game (Previously the player was totally stuck).
svn-id: r33673
|
|
svn-id: r33670
|
|
svn-id: r33669
|
|
function.
Fixes teleporting bug when getting out of the water after first arcade sequence.
The player previously got teleported to the beach near the hotel. Now it doesn't happen.
The player is still caught motionless and can't move after this fix though...
svn-id: r33668
|