Skip to content

Commit

Permalink
- Enabled auto-caps counter by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lexx2k committed May 31, 2024
1 parent 019ca8b commit 9b88cfc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ procedure Encounter_handler begin
isSpecial := get_sfall_arg,
encTable := get_sfall_arg;

set_global_var(GVAR_WORLDMAP_TABLE, (encTable - 19)); // ettu encounter tables are shifted, need to correct that
set_global_var(GVAR_WORLDMAP_TABLE, (encTable - 19)); // Fo1in2 encounter tables are shifted, need to correct that
debug_yellow("Encounter table: " + global_var(GVAR_WORLDMAP_TABLE));

// If the player enters a map on the worldmap, we set it depending on the current terrain type.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#pragma once

/*
#define WORLDMAP_TERRAIN_UNKNOWN (0)
#define WORLDMAP_TERRAIN_CITY (1)
#define WORLDMAP_TERRAIN_DESERT (2)
#define WORLDMAP_TERRAIN_MOUNTAIN (3)
#define WORLDMAP_TERRAIN_OCEAN (4)
/*
#define is_terrain_desert (global_var(GVAR_WORLDMAP_TERRAIN) == WORLDMAP_TERRAIN_DESERT)
#define is_terrain_city (global_var(GVAR_WORLDMAP_TERRAIN) == WORLDMAP_TERRAIN_CITY)
#define is_terrain_mountain (global_var(GVAR_WORLDMAP_TERRAIN) == WORLDMAP_TERRAIN_MOUNTAIN)
Expand Down
2 changes: 2 additions & 0 deletions Fallout2/Fallout1in2/ddraw.fo1in2.ini
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ MovieTimer_artimer2=5000
MovieTimer_artimer3=5000
MovieTimer_artimer4=5000

ItemCounterAutoCaps=1

DeathScreenFontPatch=1

DisableSpecialMapIDs=1
Expand Down
2 changes: 1 addition & 1 deletion Fallout2/Fallout1in2/ddraw.ini
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ ItemCounterDefaultMax=0

;Set to 1 to enable money/caps auto-balancing in the barter screen
;When moving money/caps to or from the table, the 'Move Items' window will be pre-filled with the correct balancing amount
ItemCounterAutoCaps=0
ItemCounterAutoCaps=1

;Set to 1 to leave the music playing in dialogue with talking heads
EnableMusicInDialogue=0
Expand Down

0 comments on commit 9b88cfc

Please sign in to comment.