138426 Commits

Author SHA1 Message Date
Strangerke
207bbbbbbf
EFH: Turn some debug into debugC() 2023-02-05 21:30:48 +01:00
Strangerke
a33db72da4
EFH: Move songDelay, playNote and PlaySong to sound.sound.cpp 2023-02-05 21:30:48 +01:00
Strangerke
6c027c0373
EFH: Some renaming 2023-02-05 21:30:48 +01:00
Strangerke
90ceabd3fc
EFH: Delete _mainSurface on exit 2023-02-05 21:30:48 +01:00
Strangerke
6fa1582bfa
EFH: Add the last sound generation functions 2023-02-05 21:30:48 +01:00
Strangerke
16cc90a973
EFH: Implement generateSound3 2023-02-05 21:30:48 +01:00
Strangerke
f52852512e
EFH: Implementation of generateSound2 (based on assembly, no idea about how it should sound like on real hardware) 2023-02-05 21:30:48 +01:00
Strangerke
a25e1b09c9
EFH: Improve delay length in title music 2023-02-05 21:30:48 +01:00
Strangerke
af35f1c3bd
EFH: Sync volume settings, add a purge of keyboard events to stop exiting the splash screen accidentally 2023-02-05 21:30:48 +01:00
Strangerke
577fbde5ba
EFH: ... Music implementation! 0_o 2023-02-05 21:30:47 +01:00
Strangerke
04f3b5ff72
EFH: Some work on song parsing 2023-02-05 21:30:47 +01:00
Strangerke
6179bb75ad
EFH: Rename last SUB function 2023-02-05 21:30:47 +01:00
Strangerke
a95b4960e0
EFH: Split handleFight_MobstersAttack out of handleFight() 2023-02-05 21:30:47 +01:00
Strangerke
03746ad322
EFH: some renaming in handleFight_lastAction_A, invert some if statement to reduce code depth 2023-02-05 21:30:47 +01:00
Strangerke
0b9d9b1446
EFH: Rename displayEncounterInfo() 2023-02-05 21:30:47 +01:00
Strangerke
e501c8a8c8
EFH: Remove saveEfhGame, directly call the appropriate dialog 2023-02-05 21:30:47 +01:00
Strangerke
f997af9702
EFH: Fix (hopefully) several Clang warnings 2023-02-05 21:30:47 +01:00
Strangerke
7b1e1c7362
EFH: Fix missing bit in savegames 2023-02-05 21:30:47 +01:00
Strangerke
8f7bf6b265
EFH: rewrite the pre-loading of "map" files, related refactoring 2023-02-05 21:30:47 +01:00
Strangerke
6e402815ef
EFH: Validate 3 more functions 2023-02-05 21:30:47 +01:00
Strangerke
a0ae5cb427
EFH: Move handleDamageOnArmor to fight.cpp 2023-02-05 21:30:47 +01:00
Strangerke
ba52ee0cc7
EFH: rename handleDamageOnArmor() and getTeamAttackRoundPlans(), validate two functions 2023-02-05 21:30:47 +01:00
Strangerke
adc85ef185
EFH: More validations and renaming 2023-02-05 21:30:46 +01:00
Strangerke
b9424bd35d
EFH: Add safeguards in transitionMap() and setSpecialTechZone(), move selectMonsterGroup() to fight.cpp, validate some more functions and renaming 2023-02-05 21:30:46 +01:00
Strangerke
e8fed6ff3b
EFH: Validate 4 more functions, fix a bug in chooseCharacterToReplace() 2023-02-05 21:30:46 +01:00
Strangerke
ddb0cc8dbe
EFH: rename determineTeamTarget(), fix issues in it 2023-02-05 21:30:46 +01:00
Strangerke
789917e174
EFH: Fix issues in getDeathTypeDescription, renaming 2023-02-05 21:30:46 +01:00
Strangerke
2ec85960ad
EFH: Validate more functions, renaming 2023-02-05 21:30:46 +01:00
Strangerke
90e16512d5
EFH: Fix CppCheck warnings, add some comments, validate loadPlacesFile() 2023-02-05 21:30:46 +01:00
Strangerke
d6650f6ca3
EFH: Validate addNewOpponents(), some renaming 2023-02-05 21:30:46 +01:00
Strangerke
ac5da028ef
EFH: Renaming 2023-02-05 21:30:46 +01:00
Strangerke
b8544bb762
EFH: Fix a couple of issues in sub1C956, renaming 2023-02-05 21:30:46 +01:00
Strangerke
0e6a5d9d0c
EFH: Fix bug in characterSearchesMonsterCorpse() 2023-02-05 21:30:46 +01:00
Strangerke
a2e496f783
EFH: Add a new enum, validate some more functions, some renaming 2023-02-05 21:30:46 +01:00
Strangerke
a5407440f4
EFH: Validate one more function, renaming 2023-02-05 21:30:46 +01:00
Strangerke
f524624382
EFH: Rename displayString_3 to displayStringInSmallWindowWithBorder 2023-02-05 21:30:46 +01:00
Strangerke
dad84346eb
EFH: Validate handleStatusMenu, remove duplicate code 2023-02-05 21:30:45 +01:00
Strangerke
751f2859ea
EFH: Fix a bug in giveItemTo() 2023-02-05 21:30:45 +01:00
Strangerke
5bc5534ca3
EFH: Make menu code slightly more readable by using an enum 2023-02-05 21:30:45 +01:00
Strangerke
d773048869
EFH: Fix several issues in handleStatusMenu() / Trade 2023-02-05 21:30:45 +01:00
Strangerke
a976d28c1d
EFH: Fix a bug in unequipItem(), fix a bug in displayString_3() 2023-02-05 21:30:45 +01:00
Strangerke
cd888fec43
EFH: Fix bug in tryToggleEquipped() 2023-02-05 21:30:45 +01:00
Strangerke
ba46f70a62
EFH: Change include order in EFH.H (sev's review) 2023-02-05 21:30:45 +01:00
Strangerke
878576311d
EFH: Change EFH_EFH_H_ to EFH_H based on sev's review. Fix a typo 2023-02-05 21:30:45 +01:00
Strangerke
1f15de9b97
EFH: Move getTeamMonsterAnimId to fight.cpp (and validate it), some renaming in script_parse 2023-02-05 21:30:45 +01:00
Strangerke
3dbb8bb1a0
EFH: Fix implementation of checkSpecialItemsOnCurrentPlace(), modify displayCharacterInformationOrSkills() so it doesn't rely on out of bonds reads, validate some functions and add comments 2023-02-05 21:30:44 +01:00
Strangerke
cb8897d782
EFH: More renaming 2023-02-05 21:30:44 +01:00
Strangerke
8f3ad37290
EFH: Fix a bug in handleFight_lastAction_A, validate multiple functions, renaming 2023-02-05 21:30:44 +01:00
Strangerke
d5eb4d85a4
EFH: fix a bug in sub22293(), validate 2 functions, some renaming 2023-02-05 21:30:44 +01:00
Strangerke
36ea4314d2
EFH: WIP sound code 2023-02-05 21:30:44 +01:00