NovaRain
0b185a2022
Fixed code in Animations.cpp for commit 7bf1067 ( #393 , #394 )
2021-06-10 08:41:33 +08:00
NovaRain
83a44f27b9
Minor code edits to BugFixes.cpp
2021-06-09 21:12:44 +08:00
NovaRain
74cfcaed77
Code edits to ReplacementFuncs and engine defines
2021-06-09 11:19:46 +08:00
NovaRain
b3a91c673a
Fixed chem_primary_desire values not being saved correctly for PMs
2021-06-08 13:26:02 +08:00
NovaRain
8a226b3139
Fixed infinite loop in combat with AIDrugUsePerfFix
2021-06-08 07:07:27 +08:00
NovaRain
34367efc62
Fixed friendly fire check not running for unset area_attack_mode
2021-06-07 06:58:55 +08:00
NovaRain
7bf106751f
Disabled the improved implementation of animation registration
...
(for release build)
Updated version number and Russian translation file.
2021-06-06 09:19:17 +08:00
NovaRain
6885fcc2c0
Merged win2k build into release build
2021-06-06 09:14:21 +08:00
NovaRain
f7a1bd604f
Some edits to documents
...
Removed txt version of arrays, hookscripts, and function notes.
2021-06-01 11:08:15 +08:00
NovaRain
493485724b
Minor code edits
2021-06-01 09:53:04 +08:00
NovaRain
3f001f2235
Added a debug message about missing combat object
2021-05-30 12:14:01 +08:00
NovaRain
f9a61d62ef
Fixed incorrect object type search when loading a game saved in combat
2021-05-29 10:37:46 +08:00
NovaRain
dd016eac21
Added markdown version of function notes and opcode list
2021-05-28 22:14:23 +08:00
NovaRain
f9b6fce195
Code edits to converge with 4.x
2021-05-28 11:42:38 +08:00
NovaRain
043d790a75
Removed "proto_exists" function in previous commit
...
Added macro for checking pid.
2021-05-26 08:48:06 +08:00
NovaRain
989feb1c65
Added "proto_exists" script function
...
Updated gl_auto_closebox example script.
2021-05-25 12:58:03 +08:00
NovaRain
b931307ace
Changed the placement algorithm for multihex critters
...
(Rewrote the fix in the previous commit.)
2021-05-23 09:11:19 +08:00
NovaRain
eebaf80bda
Fixed the placement of multihex critters in the player's party
2021-05-23 08:09:12 +08:00
NovaRain
6ed83ce9fd
Fixed infinite loop in ObjCanSeeObj_ShootThru_Fix ( #365 )
2021-05-22 08:05:06 +08:00
NovaRain
fdfb4c3a17
Corrected code for initializing attached script (create_object_sid, #378 )
2021-05-19 10:19:38 +08:00
NovaRain
86e71738b9
Rewrote the fix for clearing floating text messages ( #377 )
2021-05-19 06:23:17 +08:00
NovaRain
b55a09fb17
Fixed typos in hookscripts.md & sslc_readme.txt
2021-05-18 11:32:01 +08:00
NovaRain
0cecf9af17
Corrected code in Animations.cpp
2021-05-17 10:46:03 +08:00
NovaRain
cc715e334a
Implemented an improved animation registration process
2021-05-16 13:11:36 +08:00
NovaRain
b0f108c89f
Fixed value bounds for the redefined key code value in HOOK_KEYPRESS
...
Minor code & document edits.
2021-05-15 21:57:10 +08:00
NovaRain
ac3a23ae0e
Code edits to Animations.cpp to prepare new implementation
...
Added fill area truncation to win_fill_color.
2021-05-13 12:04:46 +08:00
NovaRain
4ec67526a4
Fixed setting the last script window when the mouse leaves ( #376 )
2021-05-12 10:41:23 +08:00
NovaRain
3a45d016af
Rewrote the code in Animations.cpp
...
Fixed gl_auto_closebox not closing containers in some cases.
2021-05-11 10:43:21 +08:00
NovaRain
2cb2ebc9c9
Renamed gl_npcarmor script to gl_npcarmor_lite
...
Improved the version check in gl_highlighting_lite and gl_npcarmor_lite.
2021-05-09 19:59:49 +08:00
NovaRain
8c09223812
Code correction to two previous commits
2021-05-09 08:49:19 +08:00
NovaRain
45a268ee77
Enabled AI to use unarmed attack when switching weapons
...
Added build folders to gitignore.
2021-05-08 23:16:14 +08:00
NovaRain
2d2c13b35e
Moved item_count function fix to ReplacementFuncs.cpp
...
Finished the code of item_weapon_mp_cost replacement.
2021-05-08 13:03:52 +08:00
NovaRain
075922aa33
Added a tweak to play "magic hands" anim when using items on objs
...
* for issues with scripted animations not playing (#356 )
2021-05-07 15:49:47 +08:00
NovaRain
b2c2a70822
Set idle(Sleep) function for losing window focus
...
Some code correction.
2021-05-06 10:43:40 +08:00
NovaRain
273f2b8e97
Added additional code to "duplicate obj_dude script data" fix
2021-05-04 12:42:39 +08:00
NovaRain
91afb6c5f1
Reverted the change of obj_under_cursor in 3.8.29 (commit 2d7ff1e)
...
The game window position is now also saved when dragging the window by
the title bar.
2021-05-02 12:09:53 +08:00
NovaRain
81046daa9d
Adjusted how the fix for create_object_sid works
...
Added CreateObjectSidFix option.
2021-05-02 11:59:51 +08:00
NovaRain
afc0cdd4c8
Rewrote the score calculation in AIBestWeaponFix ( #370 )
...
Changed FastShotFix to be disabled by default.
2021-04-29 12:48:03 +08:00
NovaRain
8b61f358e3
Backported FemaleDialogMsgs and DialogGenderWords options
2021-04-27 14:49:12 +08:00
NovaRain
5a375484c4
Reverted the calling convention of db functions to stdcall
...
* due to the glitched code generation in Tiles.cpp.
Reverted the name changes of some variables.
2021-04-26 21:52:11 +08:00
NovaRain
55000ca940
Added DisableSpecialAreas option
...
Added a new "fonts" folder for language specific fonts.
2021-04-25 11:50:12 +08:00
NovaRain
4ce513f42f
Added language path for loading fonts ( #368 )
...
Some code fixes to support the language path.
2021-04-25 08:36:36 +08:00
NovaRain
c34b910e9c
Code correction regarding string length
2021-04-23 11:06:06 +08:00
NovaRain
0c47dfd068
Added language path for sfall translations.ini
2021-04-22 13:17:04 +08:00
NovaRain
6c2eb47957
Added language path for premade files ( #368 )
...
Added AppIface.msg file support to Hero Appearance mod.
2021-04-22 12:56:48 +08:00
NovaRain
f721596434
Code edits to converge with 4.x
2021-04-19 14:22:29 +08:00
NovaRain
0731325585
Fixed and improved AllowLargeTiles option ( #367 )
...
Removed the unspent skill points limit.
2021-04-18 20:17:24 +08:00
NovaRain
e9aa1f1762
Added a new value to AIDrugUsePerfFix
2021-04-14 16:24:43 +08:00
NovaRain
6b3f88da5e
Reorganized/renamed the functions in IniReader
...
Renamed some variables.
2021-04-13 21:21:26 +08:00
NovaRain
fb3070fdfb
Fixed cur_town function on new game start ( #366 )
2021-04-13 12:17:58 +08:00
NovaRain
0b868593e0
Fixed AI behavior to prevent the unnecessary use of healing drugs
2021-04-13 10:15:18 +08:00
NovaRain
3a3591e759
Code edits to converge with 4.x
2021-04-11 21:41:01 +08:00
NovaRain
dc6263f522
Added markdown version of arrays.txt & hookscripts.txt
2021-04-07 21:13:52 +08:00
NovaRain
78aadeebe5
Cosmetic edits: alignment of multi-line ternary
2021-04-07 21:07:20 +08:00
NovaRain
1f90894dc5
Code changes to the previous commit
2021-04-04 09:57:13 +08:00
NovaRain
d34f0ac21f
Added a few fixes for knockout/down issues
2021-04-03 12:38:10 +08:00
NovaRain
60ffde1f80
Cosmetic edits to the code:
...
* tabs for indentation, spaces for alignment.
* reduced the length of some separation comment lines.
* changed some variable names ('exist' is a verb).
2021-04-03 11:04:03 +08:00
NovaRain
ba173c91e9
Added DL_FIX for logging
2021-04-02 01:26:25 +08:00
NovaRain
e08615abf2
Improved some combat-related fixes
2021-04-01 13:43:45 +08:00
NovaRain
9b28447e17
Improved the implementation of tile_num_beyond function
2021-03-29 11:55:37 +08:00
NovaRain
8bc4e3f790
Corrected the code in the previous commit
2021-03-28 08:44:35 +08:00
NovaRain
d0fe019165
Added a fixed implementation of the tile_num_beyond_ function
...
Removed the code of multihex critter self-hit fix from BugFixes.cpp
(now fixed properly with the aforementioned implementation)
2021-03-28 00:59:40 +08:00
NovaRain
9d2c10aae6
Removed DataLoadOrderPatch from ddraw.ini (always enabled)
2021-03-26 12:29:18 +08:00
NovaRain
e90a805c95
Added a fix for multihex critter self-hit issue
2021-03-25 21:30:57 +08:00
NovaRain
e441d405b5
Added "set_quest_failure_value" script function
2021-03-24 21:22:18 +08:00
NovaRain
dc34655981
Code correction to the previous commit
2021-03-23 09:46:10 +08:00
NovaRain
575bd6a2d2
Added a fix to the sorting of the quest list ( #361 )
...
Added a cosmetic to the dialog review interface.
Fixed a crash introduced in commit 773ec47 .
2021-03-22 14:29:03 +08:00
NovaRain
347dc8508f
Code edits to the weapon switching fix in AI.cpp
...
Added more struct defines and corrected related code.
2021-03-19 13:16:35 +08:00
NovaRain
88c17744fe
Fixed the error handling in create_object_sid
...
* also added a debug message about the missing pid.
2021-03-17 09:49:54 +08:00
NovaRain
19afef94cc
Fixed a possible crash in commit dae48e9
...
* when the proto does not exist, leading to null object pointer.
2021-03-16 09:21:51 +08:00
NovaRain
4c47977c52
Added a tweak to prevent NPC aggression ( #357 )
...
* when non-hostile NPCs accidentally hit the player or members of the
player's team.
2021-03-15 10:59:15 +08:00
NovaRain
dae48e9175
Fixed the script attached to an object not running upon object creation ( #359 )
2021-03-14 11:04:25 +08:00
NovaRain
a4c0753eff
Moved INI reading functions from main.cpp to IniReader.cpp
...
Moved SimplePatch templates to a standalone header.
2021-03-14 01:39:07 +08:00
NovaRain
c9249492f9
Edited description of CheckWeaponAmmoCost and HOOK_AMMOCOST
2021-03-12 09:38:31 +08:00
NovaRain
3609045ea8
Fixed the check of the ammo cost for a shot in CheckWeaponAmmoCost ( #360 )
2021-03-11 14:39:38 +08:00
NovaRain
773ec47913
Fixed set_critter_burst_disable script function
...
* now applies only to weapons with burst attack as the secondary mode.
Minor edits to code comments.
2021-03-10 11:49:00 +08:00
NovaRain
c789dbffb4
Added fixes for the AP cost for AI
...
* before the reload AP cost for AI was always 2, even if it's changed
by CALCAPCOST hook.
2021-03-05 15:16:35 +08:00
NovaRain
b883bb30a3
Some code edits regarding BodyPart defines
2021-03-03 10:40:15 +08:00
NovaRain
e7dff360ee
Added a fix for AI weapon validation before attack
...
* the check was always based on the primary weapon hit mode instead of
the selected attack mode.
2021-03-02 12:15:44 +08:00
NovaRain
7456a6023c
Removed the fix added in commit 6d7ef3c
...
reason: supposedly a minor issue affecting the initial movement of an
NPC, requires further verification before implementation due to
potential harm to the AI behavior.
Moved the input patch code in main.cpp to new Input.cpp/h.
2021-02-26 10:36:07 +08:00
NovaRain
14e8dba41c
Fixed gl_auto_closebox for gravesites
...
Edits to hookscripts.txt, added weapon argument to HOOK_CALCAPCOST.
2021-02-24 15:35:22 +08:00
NovaRain
4b6253f9f0
Added more checks to weapon ammo script functions
2021-02-24 15:33:18 +08:00
NovaRain
f2259830c0
Moved some script function handlers to new files
...
Reorganized some script functions.
2021-02-24 15:31:16 +08:00
NovaRain
3fb2594855
Code correction related to GetProto usage
2021-02-20 10:30:17 +08:00
NovaRain
0dad664a67
Moved all sfgame_ functions into new ReplacementFuncs.cpp/h
2021-02-19 23:33:51 +08:00
NovaRain
e588c89832
Added a tweak to restore combat flags for NPC after fleeing
...
Added item_weapon_range game function.
Improved the range check in previous commit.
2021-02-19 12:45:36 +08:00
NovaRain
0b15ac7b77
Code edits to a couple of fixes in AI.cpp
...
Minor edits to HookScripts.cpp.
2021-02-16 11:31:09 +08:00
NovaRain
7ce7f4db27
Fixed broken GetProto() function (again)
2021-02-10 23:52:56 +08:00
NovaRain
6d7ef3c76b
Fixed broken GetProto() function
...
Added a fix to prevent NPCs from wasting their AP to pick up
unreachable items.
2021-02-10 08:37:35 +08:00
NovaRain
e5b04d81e3
Code edits in FalloutEngine.cpp
...
Added comments to some defines in Define.h.
2021-02-09 22:08:30 +08:00
NovaRain
c9eb5c2dee
Removed unnecessary code
...
Added some function/variable defines.
2021-02-09 10:41:55 +08:00
NovaRain
a47644f269
Added some tweaks for debug log
...
Code edits in SpeedPatch.cpp
2021-02-08 12:45:16 +08:00
NovaRain
02e48dde63
Rewrote ASM code of WorldMapFPSPatch in C++
2021-02-07 21:27:36 +08:00
NovaRain
60a187de30
Refactored HOOK_WITHINPERCEPTION code as 4.x
...
Renamed engine function reimplementations with "sfgame_" prefix.
Added AIpref defines and AIcap struct.
2021-02-07 20:04:00 +08:00
NovaRain
83392f739b
Refactored CombatHook() in LoadGameHook.cpp.
...
Updated struct/variable/function defines.
Minor code edits according to develop branch.
Updated version number.
2021-02-06 11:06:38 +08:00
NovaRain
9c084c10e0
Minor code format edits in LoadGameHook.cpp
2021-02-04 10:12:31 +08:00
NovaRain
52ce39c264
Added NPC armor mod to the example mods
2021-02-02 20:34:12 +08:00
NovaRain
4813b5656f
Code edits to ScriptExtender.cpp
...
Updated FalloutStructs.h and ddraw.ini.
2021-02-02 11:39:33 +08:00
NovaRain
3932676824
Separated the loading and initialization of hook scripts
...
* now it works mostly in the same way as 4.x.
* now the hook injection code is run only once on sfall init.
2021-02-02 11:31:57 +08:00
NovaRain
7b5d50abf0
Separated the loading and initialization of global scripts
...
* now the loading occurs before the start of a new game.
* Note: hs_ scripts are still loaded & inited in one go after game load
2021-02-01 15:13:07 +08:00