aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he
AgeCommit message (Collapse)Author
2019-05-27SCUMM: Fix MSVC warningsFilippos Karapetis
- Change float suffix to uppercase - Initialize potentially uninitialized variables - Fix default cases in switch statements
2019-05-25SCUMM: HE: Added some names to basketball U32 commandsEugene Sandulenko
2019-05-01COMMON: Replace NEResourceType and PEResourceType with a shared enumCameron Cawley
2019-03-12SCUMM HE: Bug fix for moonbase stack memory corruptionZhiqi Yin
What: The bug is reproducible in the following ways: 1. quiting the game 2. enter challenge mode state 2, when the game starts move mouse around the menu buttons (choose building or weapons) Observed behavior: In he/wiz_he.cpp:2839, the function failed to return since the stack around variable 'color' was corrupted. The game will crash then. Analysis: Since other function will modify memory area around local variable 'color', the bug shoud be caused by memory overwritten. The memory write happens in this modified file. From the code, it only wants to write a certain amount of pixels. So I found 2 places where more pixels are written. This causes stack memory corruption. Fix: Add checking. If we have written enough pixels then break. Testing: The game UI looks correct. Single player mode game is tested. Bug no longer observable. Tested for both cases mentioned above.
2018-04-19JANITORIAL: Fix whitespaceAdrian Frühwirth
2018-02-04SCUMM HE: Use Miles AdLib drivernukeykt
2018-01-31COMMON: Move VER macro for serializer into common codeColin Snover
2018-01-31SCUMM: Replace UB-triggering serialization code with Common::SerializerColin Snover
Fixes Trac#10342.
2017-12-01SCUMM HE: Fix UB shifting negative integersColin Snover
2017-08-11SCUMM: Moonbase: Mark original bug as fall through to silence GCC 7 warningEugene Sandulenko
2016-12-06SCUMM HE: Silence GCC indentation warningTorbjörn Andersson
2016-11-27SCUMM HE: Fix crash in Moonbase distrotionEugene Sandulenko
2016-11-27SCUMM HE: More class initializationsEugene Sandulenko
2016-11-24SCUMM HE: Fix Football logic initializationEugene Sandulenko
2016-11-20SCUMM HE: Hid noisy Moonbase AI warnings under debug channelEugene Sandulenko
2016-10-09JANITORIAL: Remove trailing spacesEugene Sandulenko
2016-09-03SCUMM HE: Constify string parameterOri Avtalion
2016-09-02Merge pull request #821 from BenCastricum/bugfixesEugene Sandulenko
SCUMM: Bugfixes
2016-08-30SCUMM HE: Add remote scripts-related kludgesAlexander Tkachev
Those are the last ones. Now Net stubs must be handled.
2016-08-30SCUMM HE: Add init-related kludgesAlexander Tkachev
2016-08-30SCUMM HE: Add provider-related kludgesAlexander Tkachev
2016-08-30SCUMM HE: Add session quering-related kludgesAlexander Tkachev
2016-08-30SCUMM HE: Add session-related kludgesAlexander Tkachev
2016-08-30SCUMM HE: Add a few more logic kludgesAlexander Tkachev
2016-08-30SCUMM HE: Add two more kludgesAlexander Tkachev
2016-08-30SCUMM HE: Add more LogicHEmoonbase kludgesAlexander Tkachev
Less stubs there, more stubs in Net.
2016-08-30SCUMM HE: Fix some variable namingAlexander Tkachev
2016-08-30SCUMM HE: Replace strcpy with strlcpy in array setupAlexander Tkachev
setupStringArrayFromString() now uses Common::strlcpy().
2016-08-30SCUMM HE: Add some Moonbase logicAlexander Tkachev
Logic for getting host name and IP from name. Net gets more stubs.
2016-08-30HE: Add setupStringArrayFromString()Alexander Tkachev
It's based on PUI_ScummStringArrayFromCString(), which is used as SPUTM_ScummStringArrayFromCString() in Moonbase networking code.
2016-08-30HE: Replacing some Logic stubs with Net stubsAlexander Tkachev
Slowly moving kludge switch case contents into ScummVM Logic methods and thus adding more Net stubs.
2016-08-30HE: Add getStringFromArray()Alexander Tkachev
It's ARRAY_GetStringFromArray(), which was used in Moonbase networking code as SPUTM_CStringArrayFromScummString().
2016-08-30HE: Add net_defines.h and a few stubs updatesAlexander Tkachev
SPUTM_CStringArrayFromScummString is still has to be implemented to finish those stubs. Net now has joinGame() and hostGame(), which are not implemented yet.
2016-08-30HE: Add Moonbase logic ops stubsAlexander Tkachev
Most of them return int, yet there are a few which don't return anything. Stubs print a warning and return 1 (or nothing).
2016-08-30HE: Add Moonbase Net dummyAlexander Tkachev
2016-08-30SCUMM HE: Compensate timers for pauses, fixes bug #6352Ben Castricum
2016-06-22SCUMM HE: Update sound flags and queue, for new settings.Kirben
2016-06-22SCUMM HE: Document sound opcodes.Kirben
2016-06-15SCUMM HE: Removed unneeded warningEugene Sandulenko
2016-06-15SCUMM HE: Fix Moonbase distortion codecEugene Sandulenko
2016-06-15SCUMM HE: Plugged Moonbase distortion inEugene Sandulenko
2016-06-15SCUMM HE: Silence GCC "suggest parentheses" warningsTorbjörn Andersson
Thanks to sev for confirming that this is the intended expressions.
2016-06-15SCUMM HE: Fix GCC warnings about casting away [const] qualifiersTorbjörn Andersson
I hope this is correct. I don't know when the function is used.
2016-06-14SCUMM HE: Simplify Moonbase distortion codeEugene Sandulenko
2016-06-14SCUMM HE: Initial Moonbase distortion codeEugene Sandulenko
2016-06-08SCUMM HE: Fix Moonbase delete vs delete[] Valgrind warningTorbjörn Andersson
2016-06-08SCUMM HE: Remove not more needed debug outputEugene Sandulenko
2016-06-07SCUMM HE: Fix crashes in Moonbase replayEugene Sandulenko
2016-06-07JANITORIAL: Fix warning spellingEugene Sandulenko
2016-06-06SCUMM HE: Fix Moonbase FOW positioningEugene Sandulenko