NovaRain
db5704f653
Renamed MPClient folder to DebugEditor
...
Renamed FalloutClient.exe to FalloutDebug.exe
2020-12-13 12:51:24 +08:00
NovaRain
2764d2c9bc
Updated some code
2020-12-13 09:37:22 +08:00
NovaRain
66058dd975
Corrected code of some hook scripts
2020-12-13 08:45:29 +08:00
NovaRain
3550289ea6
Reverted support for the D3DFMT_A8 texture format
2020-12-10 07:19:50 +08:00
NovaRain
02fba6eda1
Removed unnecessary code in Graphics.cpp
...
Replaced the D3DFMT_A8 texture format with D3DFMT_L8.
Minor edits to documents.
Updated version number.
2020-12-09 10:44:57 +08:00
NovaRain
ac233c710d
Changed the numbering of args in hookscripts.txt ( #345 )
...
* because arg numbers are 0-indexed for related functions.
2020-11-16 09:15:26 +08:00
NovaRain
be5447729e
Re-ordered critical table fixes in Criticals.cpp.
2020-11-03 15:16:46 +08:00
NovaRain
adb159c10d
Reformatted critical table fixes in Criticals.cpp
2020-11-01 09:23:34 +08:00
NovaRain
324f4d5939
Fixed the "uncalled" critical tables for some critter types
...
ref: https://www.nma-fallout.com/threads/219827/
2020-10-30 21:53:58 +08:00
NovaRain
f04442d4b7
Reverted the change to Message module in the previous commit
2020-10-27 00:11:31 +08:00
NovaRain
dcbd6b5a23
Cleaned up define_lite.h and command_lite.h
...
Commented out the empty exit() in Message module.
Minor code edits.
2020-10-26 11:20:26 +08:00
NovaRain
f8aa6c449a
Fixed the error handling in win_fill_color
...
Some code fixes.
2020-10-25 08:05:20 +08:00
NovaRain
65c4cf644a
Added "win_fill_color" script function
2020-10-24 12:56:26 +08:00
NovaRain
97fde2950c
Added support for drawing PCX images to draw_image, draw_image_scaled, and interface_art_draw
...
Fixed bug in TalkingHeads.cpp.
2020-10-23 23:23:09 +08:00
NovaRain
a488e9fc5b
Fixed the macro guard in command_lite.h and added two macros
2020-10-21 22:36:26 +08:00
NovaRain
6d412e97fc
Minor edits to PartyControl.cpp
2020-10-18 07:16:39 +08:00
NovaRain
1141348efe
Added the ability for controlled critters to use Sneak skill in combat
2020-10-15 10:36:11 +08:00
NovaRain
5c9d512d12
Fixed and improved the code in Graphics module
2020-10-15 09:30:04 +08:00
NovaRain
d36031613d
Added the ability to change the poison level for critters
2020-10-12 20:45:39 +08:00
NovaRain
cf277efc85
Corrected code in Arrays.cpp
2020-10-12 11:01:25 +08:00
NovaRain
9a3b770182
Code optimization for array expression
2020-10-11 10:13:52 +08:00
NovaRain
fa9aa6dc6f
Moved some code from Graphics.cpp to the new submodule GameRender.cpp
...
Minor edits to MetaruleExtender.cpp and notes.txt.
2020-10-11 01:08:59 +08:00
NovaRain
3d99f6ea66
Code correction in Functions.cpp
...
Updated global shader example files.
2020-10-09 08:52:14 +08:00
NovaRain
a02d90a52e
Updated define_extra.h
2020-10-08 15:38:24 +08:00
NovaRain
ce5e9cd990
Updated example mod scripts
2020-10-08 15:33:37 +08:00
NovaRain
c71ca95665
Added "combat_data" script function
...
Added a new argument to HOOK_COMBATDAMAGE.
Removed the check for valid objects from get/set_object_data functions.
Some code fixes.
2020-10-08 13:49:58 +08:00
NovaRain
2f750a8a4b
Fixed broken Print() script function
...
Fixed the background image of the character portrait on inv/char screens.
Renamed "print_text" to "interface_print".
2020-10-06 11:46:13 +08:00
NovaRain
ac28d7293b
Added "print_text" script function
2020-10-05 14:38:53 +08:00
NovaRain
51dfee26d3
Removed InterfaceDontMoveOnTop from ddraw.ini (always enabled)
...
Added a fix to prevent toggling the cursor for a Transparent window.
2020-10-05 10:23:17 +08:00
NovaRain
cbe6be6c46
Added support for transparent interface windows ( #25 )
2020-10-03 11:45:25 +08:00
NovaRain
349d217257
Fixed FrmFile struct in the previous commit
2020-09-29 09:02:56 +08:00
NovaRain
4e9d4f2f37
Some code refactoring
...
Added a value of 2 to TextureFilter option.
2020-09-28 12:04:08 +08:00
NovaRain
5eac185bfe
Minor edits to the document in previous commit
2020-09-26 22:14:18 +08:00
NovaRain
e696db4b7b
Added "interface_art_draw" script function
...
Added an argument to "intface_redraw" function to redraw all interfaces.
2020-09-26 16:15:32 +08:00
NovaRain
88d9126b18
Changed the behavior of saving/restoring hook arguments
...
(no need to specify the number of args when executing a nested hook)
Reverted the change of argCount in some hooks.
Disabled an obsolete fix for MultiHexPathingFix.
2020-09-25 00:07:56 +08:00
NovaRain
a1d18983e4
Added the ability to get Automap window pointer
...
Reorganized some code to prepare for later commits.
2020-09-24 15:14:25 +08:00
NovaRain
8179583160
Correction to the hooks code
...
Minor edits to some code.
2020-09-23 22:37:11 +08:00
NovaRain
876616fc7d
Added a new argument to HOOK_TOHIT ( #339 )
...
Added hook type 3 to HOOK_WITHINPERCEPTION (when AI selects a target)
Extended the upper limit of set_pickpocket_max and set_hit_chance_max
script functions to 999.
Added a fix for combat_is_shot_blocked_ not taking the flags of critters
in the line of fire into account.
Minor edits to ASM code of some hooks.
2020-09-22 15:43:26 +08:00
NovaRain
008692bec7
Fixed the MMX buf_to_buf_ for warning C4799
...
Minor edits to ASM code of some hooks.
2020-09-21 21:30:08 +08:00
NovaRain
0dd8ea5335
Added loading multiple shader files for GlobalShaderFile option
...
Added a sharpen filter file as a global shader example.
Set TextureFilter to be enabled by default.
2020-09-21 12:54:42 +08:00
NovaRain
bf9deabded
Added TextureFilter option (restored from sfall 2.x)
2020-09-20 09:58:55 +08:00
NovaRain
11bcbe2013
Moved some engine function defines from Functions.cpp to Functions_def.h
...
Implemented a new "buf_to_buf" function (experimental)
* need to check the backward compatibility.
2020-09-19 10:02:16 +08:00
NovaRain
806e09e501
Corrected talking heads code of Use32BitHeadGraphics
...
Minor code correction.
2020-09-19 00:37:16 +08:00
NovaRain
2eb1c64bc3
Removed KeepWeaponSelectMode from ddraw.ini (always enabled)
...
Minor edits to code and documents.
2020-09-16 10:53:39 +08:00
NovaRain
a9cde5757f
Fixed temporary arrays being cleared when flushing the keyboard buffer ( #337 )
...
Added a message about failed initialization of the game and exit if an error occurs.
2020-09-15 11:33:57 +08:00
NovaRain
f16ba16d21
Graphics: improved the performance of DX9 mode
2020-09-15 10:21:35 +08:00
NovaRain
0ce02e2a12
Graphics & Movies refactoring (WIP/unfinished)
2020-09-13 22:10:44 +08:00
NovaRain
96447ca1d3
Updated Ammo INI Loader example script mod
...
* now the INI will be read only once on script initialization, not
always being re-read on each map load.
2020-09-10 14:43:46 +08:00
NovaRain
a7355ad937
Added the original Fallout 1 behavior to FastShotFix ( #335 )
2020-09-06 08:30:20 +08:00
NovaRain
2badb5fdd2
Added a fix to the weapon check in the Fast Shot trait ( #335 )
...
* changed range check to type+range check, the same fix is also applied
to FastShotTraitFix.
Added more info to the description of FastShotFix option.
2020-09-05 10:39:22 +08:00
NovaRain
282a491718
Fixed typo in sfall.h ( #334 )
2020-09-03 21:05:18 +08:00
NovaRain
43fcaf41e1
Fixed EncounterTableSize option ( #333 )
...
* the encounter messages were still limited to 50 entries per table when
the value for encounters is set to greater than 50.
Fixed building the path to multihex objects.
2020-09-03 14:20:23 +08:00
NovaRain
3df322b80e
Tweaked the field of view check in ObjCanSeeObj_ShootThru_Fix
...
And fixed a bug when the target critter has the ShootTrhu flag set
(cannot be seen by the source)
Minor edits to some comments in previous commit.
2020-09-02 14:21:38 +08:00
NovaRain
0945382369
Added support for ACM audio file playback to soundplay script function
...
(with volume control, #331 )
Added a volume control to reduce the volume for play_sfall_sound.
Added descriptions and constant defines to documents.
Some code optimization.
Updated version number.
2020-09-01 16:10:45 +08:00
NovaRain
ac4e4c7868
Minor edits to Interface.cpp and ddraw.ini
2020-08-22 10:48:46 +08:00
NovaRain
d46bb42efd
Reorganized hooks related code
2020-08-21 12:55:18 +08:00
NovaRain
aa132d9951
Moved DeathScreenFontPatch code to Interface.cpp
...
Added a note about DeathScreenFontPatch in ddraw.ini.
Some code edits in BugFixes.cpp and DamageMod.cpp.
2020-08-21 12:36:41 +08:00
NovaRain
dfb7779e87
Reorganized the code related to the core functions of hooks
...
Added DeathScreenFontPatch option to use the normal font for death
screen subtitles (was using bitmap font).
Attempted to fix the melee damage display for some extreme cases when
BonusHtHDamageFix=1 and DisplayBonusDamage=0.
2020-08-20 13:32:40 +08:00
NovaRain
19df2f9eec
Updated global.fx and withinperception example script
...
Fixed some code.
2020-08-19 15:19:11 +08:00
NovaRain
e6d30d7def
Added a fix to limit the maximum distance for knockback animation
...
* 20 hexes at max. This does not affect the knockback value in
Combat Damage hook, only the animation part.
2020-08-18 13:07:25 +08:00
NovaRain
c657a9ef86
Added a fix to prevent the player from leaving the map during death anim
...
* when the death animation causes the player to cross an exit grid.
Fixed the height of the black background for the subtitles on death
screens when using the hi-res patch.
Added MakeJumps method to SafeWrite.cpp and devlog_f to Logging.cpp.
2020-08-17 15:07:41 +08:00
NovaRain
cbccc7de4e
Fixed the use of #pragma pack() directives for structures
...
Corrected HookFile struct in the previous commit.
2020-08-16 11:09:31 +08:00
NovaRain
8fa54d8255
Changed hs_* hook script to be searched only once on game start
...
* in the same fashion as global scripts, affected by AlwaysFindScripts.
2020-08-15 22:19:45 +08:00
NovaRain
46a5616b34
Fixed and improved the behavior of nested timer events in global scripts
...
Added a fix to prevent the execution of critter_p_proc and game events
when playing movies.
Added a debug message about a corrupted proto file.
Some minor code/document edits.
2020-08-14 21:23:08 +08:00
NovaRain
ff4757d529
Fixed the playback of additional movies defined in the MovieXX options ( #330 )
...
Added the keyboard buffer cleanup function to metarule3.
2020-08-13 15:20:30 +08:00
NovaRain
b0a35eec49
Added the city name in the description of a save slot by default
...
Corrected some code.
2020-08-13 14:38:09 +08:00
NovaRain
d553e9cbdd
Added a fix to remove floating text after moving to another elevation
...
* also update black edges of the map (HRP bug, #282 )
2020-08-09 12:17:32 +08:00
NovaRain
d2b1cdec46
Changed the behavior of ObjCanSeeObj_ShootThru_Fix
...
* now the critter can only see through objects in front of it.
2020-08-08 11:50:12 +08:00
NovaRain
37b4a18770
Added a patch to allow setting custom colors for object outlines
...
Added a tweak to ObjCanSeeObj_ShootThru_Fix to allow critters to see
through other critters.
Corrected some code.
2020-08-05 16:10:28 +08:00
NovaRain
fd1067373a
Changed the behavior for replacing art aliases for critters
...
Added ANIM_charred_body/ANIM_charred_body_sf animations to art aliases
(#323 )
Minor code edit to OverrideMusicDir (nop the rest to avoid leaving
garbage bytes)
2020-08-03 14:28:01 +08:00
NovaRain
82b75f4ea2
Corrected combat_attack_gcsd code in the previous commit
...
Added DAM_PRESERVE_FLAGS to attack_complex for keeping result flags.
Fixed OverrideMusicDir=2 not working (#295 )
2020-08-02 19:43:51 +08:00
NovaRain
435180d157
Rewrote several fixes for attack_complex in C++ and merged them
...
Added a default fix for attack_complex to untie target_results from
attacker_results.
2020-08-01 10:22:30 +08:00
NovaRain
694d97e123
Added more fixes for the arguments of attack_complex function:
...
* fixed result flags for the attacker and the target when calling
attack_complex function (#323 )
* tweaked how attacker_results/target_results work when
AttackComplexFix is enabled.
Minor code edits.
2020-07-31 20:35:58 +08:00
NovaRain
a27f020edc
Added support for delayed speech playback to AllowDShowSound
...
(for synchronizing with subtitles when playing endgame slideshow)
2020-07-30 10:29:06 +08:00
NovaRain
da5484668c
Added a new value 2 to AllowDShowMovies
...
* for forcing avi videos to fit the screen width.
Disabled warning C4995 (e.g. wcscpy in Movies.cpp)
2020-07-29 14:16:45 +08:00
NovaRain
600360638e
Added volume control support for avi movies
...
Fixed implementation bugs when playing avi movies.
Added a couple of engine variable defines.
2020-07-28 15:21:47 +08:00
NovaRain
19be167c19
Further implementation of speech playback for alternative sound files
2020-07-26 08:46:16 +08:00
NovaRain
deaaf6a137
Added a function extension for vanilla metarule3 function
...
Added SET_HORRIGAN_ENCOUNTER function to metarule3.
Updated German translation.
2020-07-24 21:20:48 +08:00
NovaRain
29da941582
WIP: Fixed sfx/speech playback for alternative sound files
2020-07-22 12:24:20 +08:00
NovaRain
b178e15b31
Implemented CodeType enums in some SafeWrite8
...
Replaced some SafeWriteX with SafeWriteBatch.
Minor edits to documents.
2020-07-21 12:28:15 +08:00
NovaRain
2491cb22af
Removed some redundant code
2020-07-19 08:38:48 +08:00
NovaRain
85afa1e4d8
Fixed the default values for the MovieXX options
...
Added some comments to elevators.ini & other codes.
Updated version number.
2020-07-18 22:13:54 +08:00
NovaRain
64da4dce6c
Uploaded language translation files to repo
...
Updated German (#326 ) and Russian translations.
2020-07-08 09:55:30 +08:00
NovaRain
586d41cce8
Minor edit to ddraw.ini
2020-07-03 21:36:51 +08:00
NovaRain
30d249f02e
Fixed NPC stuck in an animation loop in combat ( #321 )
...
* this happens when trying to move close to a multihex critter.
2020-07-01 09:47:02 +08:00
NovaRain
467d895ba6
Removed AutoSearchPath from ddraw.ini
...
* the folder path for auto-loading custom files is now constant.
2020-06-30 22:02:21 +08:00
NovaRain
bfaed2eb68
Fixed ASM error in the previous commit
2020-06-30 15:49:32 +08:00
NovaRain
a43a28fe8b
Fixed broken PlayIdleAnimOnReload option ( #320 )
...
(in commit af049ea )
Improved the fix for incorrect positioning after exiting small/medium
locations.
2020-06-30 12:26:56 +08:00
NovaRain
5dd8c441b9
Fixed the code for "display_stats" script function
...
Minor edit to Perks.cpp.
2020-06-29 23:02:45 +08:00
NovaRain
440cfbd72c
Added a fix to prevent showing an empty perk selection window
2020-06-29 12:47:57 +08:00
NovaRain
1db8988368
Added "get_stat_max/min" script functions ( #307 )
...
Added updating player's stats on the char screen to "display_stats"
script function (#314 )
2020-06-29 11:53:12 +08:00
NovaRain
6ecc1fcd1f
Corrected the code for multihex retargeting tile
...
Small optimization to sfall function code.
2020-06-28 23:11:51 +08:00
NovaRain
6c8bbea764
Re-fix for the previous commit
2020-06-28 09:51:29 +08:00
NovaRain
d947150dc1
Corrected the fix from the previous commit
2020-06-27 10:12:34 +08:00
NovaRain
f5ecaa8bd2
Fixed the hang/freeze in combat (from commit d888161)
...
Added a fix for retargeting tile for multihex critters.
2020-06-27 09:46:43 +08:00
NovaRain
e389bb0dc5
Fixed bugs in the hero appearance mod:
...
* gender was not reset properly when creating a new character (#309 )
* the player was missing some fire/electrical death animations (#310 )
2020-06-14 09:25:57 +08:00
NovaRain
94296b40d8
Moved static addresses into respective funcs in Stats.cpp
2020-06-13 00:24:13 +08:00
NovaRain
fab5aa2f2f
Fixed Auto Doors example script mod
...
Cosmetic changes to the text descriptions in Perks.ini.
2020-06-13 00:14:44 +08:00
NovaRain
703073e255
Increased the max width of the player name on the char screen ( #305 )
...
Updated version number.
2020-06-04 06:38:48 +08:00
NovaRain
d888161128
Some bug fixes regarding multihex critters in shoot blocking
2020-05-24 11:30:32 +08:00