ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
This commit is contained in:
parent
3853e76202
commit
88913c0139
314 changed files with 1761 additions and 1761 deletions
|
@ -209,7 +209,7 @@ const byte ecoquest2SignatureEcorderTutorial[] = {
|
|||
|
||||
const uint16 ecoquest2PatchEcorderTutorial[] = {
|
||||
0x31, 0x23, // bnt [next state] (save 1 byte)
|
||||
// The parameter count below should be 7, but we're out of bytes
|
||||
// The parameter count below should be 7, but we're out of bytes
|
||||
// to patch! A workaround has been added because of this
|
||||
0x78, // push1 (parameter count)
|
||||
//0x39, 0x07, // pushi 07 (parameter count)
|
||||
|
@ -221,7 +221,7 @@ const uint16 ecoquest2PatchEcorderTutorial[] = {
|
|||
0x78, // push1 (visual screen)
|
||||
0x39, 0x17, // pushi 17 (color)
|
||||
0x43, 0x6c, 0x0e, // call kGraph
|
||||
// The parameter count below should be 5, but we're out of bytes
|
||||
// The parameter count below should be 5, but we're out of bytes
|
||||
// to patch! A workaround has been added because of this
|
||||
0x78, // push1 (parameter count)
|
||||
//0x39, 0x05, // pushi 05 (parameter count)
|
||||
|
@ -697,7 +697,7 @@ const SciScriptSignature laurabow2Signatures[] = {
|
|||
|
||||
// ===========================================================================
|
||||
// Mother Goose SCI1/SCI1.1
|
||||
// MG::replay somewhat calculates the savedgame-id used when saving again
|
||||
// MG::replay somewhat calculates the savedgame-id used when saving again
|
||||
// this doesn't work right and we remove the code completely.
|
||||
// We set the savedgame-id directly right after restoring in kRestoreGame.
|
||||
const byte mothergoose256SignatureReplay[] = {
|
||||
|
@ -1034,7 +1034,7 @@ const uint16 sq1vgaPatchEgoShowsCard[] = {
|
|||
|
||||
// script, description, magic DWORD, adjust
|
||||
const SciScriptSignature sq1vgaSignatures[] = {
|
||||
{ 58, "Sarien armory droid zapping ego first time", 1, PATCH_MAGICDWORD( 0x72, 0x88, 0x15, 0x36 ), -70,
|
||||
{ 58, "Sarien armory droid zapping ego first time", 1, PATCH_MAGICDWORD( 0x72, 0x88, 0x15, 0x36 ), -70,
|
||||
sq1vgaSignatureEgoShowsCard, sq1vgaPatchEgoShowsCard },
|
||||
|
||||
SCI_SIGNATUREENTRY_TERMINATOR};
|
||||
|
@ -1087,7 +1087,7 @@ void Script::applyPatch(const uint16 *patch, byte *scriptData, const uint32 scri
|
|||
}
|
||||
patch++;
|
||||
patchWord = *patch;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// will return -1 if no match was found, otherwise an offset to the start of the signature match
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue