mirror of
https://github.com/sfall-team/sfall.git
synced 2026-07-27 16:52:34 -07:00
Removed PipBoyAutomaps from ddraw.ini.
* By default nothing will change with the option enabled, because all data is copied from the vanilla map list, and modders still need to add the new 'automap' parameter to override the engine values to add/remove areas in the automap list. Basically the option itself is redundant.
This commit is contained in:
@@ -684,10 +684,6 @@ SpecialDeathGVAR=491
|
|||||||
;Note that enabling this option can break the map changes in Modoc and Vault 15
|
;Note that enabling this option can break the map changes in Modoc and Vault 15
|
||||||
DisableSpecialMapIDs=0
|
DisableSpecialMapIDs=0
|
||||||
|
|
||||||
;Set to 1 to add support for the new 'automap=yes/no' parameter to maps.txt
|
|
||||||
;The parameter can override the hardcoded values for displaying the map in the pipboy automaps for the first 160 maps
|
|
||||||
PipBoyAutomaps=0
|
|
||||||
|
|
||||||
;Set to 1 to display sfall built-in credits at the bottom of credits.txt contents instead of at the top
|
;Set to 1 to display sfall built-in credits at the bottom of credits.txt contents instead of at the top
|
||||||
CreditsAtBottom=0
|
CreditsAtBottom=0
|
||||||
|
|
||||||
|
|||||||
@@ -535,13 +535,13 @@ void WorldMapFontPatch() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void PipBoyAutomapsPatch() {
|
void PipBoyAutomapsPatch() {
|
||||||
if (GetConfigInt("Misc", "PipBoyAutomaps", 0)) {
|
//if (GetConfigInt("Misc", "PipBoyAutomaps", 0)) {
|
||||||
dlog("Applying Pip-Boy automaps patch.", DL_INIT);
|
dlog("Applying Pip-Boy automaps patch.", DL_INIT);
|
||||||
MakeCall(0x4BF931, wmMapInit_hack, 2);
|
MakeCall(0x4BF931, wmMapInit_hack, 2);
|
||||||
SafeWrite32(0x41B8B7, (DWORD)AutomapPipboyList);
|
SafeWrite32(0x41B8B7, (DWORD)AutomapPipboyList);
|
||||||
memcpy(AutomapPipboyList, (void*)FO_VAR_displayMapList, sizeof(AutomapPipboyList)); // copy vanilla data
|
memcpy(AutomapPipboyList, (void*)FO_VAR_displayMapList, sizeof(AutomapPipboyList)); // copy vanilla data
|
||||||
dlogr(" Done", DL_INIT);
|
dlogr(" Done", DL_INIT);
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Worldmap::SaveData(HANDLE file) {
|
void Worldmap::SaveData(HANDLE file) {
|
||||||
|
|||||||
Reference in New Issue
Block a user