diff --git a/artifacts/ddraw.ini b/artifacts/ddraw.ini index c6d9887f..474f39ec 100644 --- a/artifacts/ddraw.ini +++ b/artifacts/ddraw.ini @@ -402,9 +402,6 @@ Doctor=293 Science=293 Repair=293 -;Remove window position rounding -RemoveWindowRounding=0 - ;Set to 1 to add scroll buttons to the pipboy quest list, and remove the quests per area limit ;Set to 2 to use a different set of scroll buttons UseScrollingQuestsList=1 diff --git a/artifacts/scripting/hookscripts.txt b/artifacts/scripting/hookscripts.txt index b9be5b8c..23f990b2 100644 --- a/artifacts/scripting/hookscripts.txt +++ b/artifacts/scripting/hookscripts.txt @@ -111,7 +111,7 @@ critter ret3 - Override the target of the attack HOOK_CALCAPCOST (hs_calcapcost.int) Runs whenever Fallout is calculating the AP cost of using the weapon (or unarmed attack). Doesn't run for using other item types or moving. -Note that the first time a game is loaded, this script doesn't run before the initial interface is drawn, so if the script effects the AP cost of whatever is in the players hands at the time the wrong AP cost will be shown. It will be fixed the next time the interface is redrawn. +Note that the first time a game is loaded, this script doesn't run before the initial interface is drawn, so if the script effects the AP cost of whatever is in the player's hands at the time the wrong AP cost will be shown. It will be fixed the next time the interface is redrawn. You can get the weapon object by checking item slot based on attack type (ATKTYPE_LWEP1, ATKTYPE_LWEP2, etc) and then calling critter_inven_obj(). critter arg1 - The critter performing the action @@ -305,7 +305,7 @@ object* ret1 - 0 if the hex doesn't block, or any sort of object pointer if it d HOOK_ITEMDAMAGE (hs_itemdamage.int) -Runs when retrieving the damage rating of the players used weapon. (Which may be their fists.) +Runs when retrieving the damage rating of the player's used weapon. (Which may be their fists.) int arg1 - The default min damage int arg2 - The default max damage diff --git a/sfall/main.cpp b/sfall/main.cpp index a08ad3cc..1a25317d 100644 --- a/sfall/main.cpp +++ b/sfall/main.cpp @@ -1253,10 +1253,6 @@ static void DllMain2() { if (tmp != 293) SafeWrite32(0x518D64, tmp); dlogr(" Done", DL_INIT); - if (GetPrivateProfileIntA("Misc", "RemoveWindowRounding", 0, ini)) { - SafeWrite16(0x4B8090, 0x04EB); // jmps 0x4B8096 - } - dlogr("Running TilesInit().", DL_INIT); TilesInit();