NovaRain
87eeeeaa95
Reverted make_pair changes in commit 5c1ccca
2021-11-10 08:43:30 +08:00
NovaRain
a5f57d400b
Changed the option name of grave containers fix
...
Edited the code of tile_num function wrapper.
Reorganized the options in ddraw.ini.
2021-11-09 10:06:13 +08:00
NovaRain
df983e0d25
Optimized the calculation loop in Glovz's ASM code
...
Renamed enums in Interface.cpp
2021-11-08 14:13:09 +08:00
NovaRain
c9c9d1f35f
Code edits to ScriptExtender.cpp/SpeedPatch.cpp
...
Minor edits to some files.
2021-11-08 13:48:52 +08:00
NovaRain
5e8269d171
Changed the fix in commit 93c6cf5 to an option
...
Changed the title bar text for DX9 windowed mode.
Renamed some enums in Movies/QuestList/Sound.cpp.
2021-11-06 23:42:01 +08:00
NovaRain
e510f30120
Optimized the calculation loop in YAAM's ASM code
...
Minor edits to Glovz's formula code.
2021-10-31 20:17:26 +08:00
NovaRain
326610e66d
Separated MainLoopHook.cpp/h from ScriptExtender
2021-10-30 23:21:13 +08:00
NovaRain
c8de86d58f
Improved the ASM code of Glovz's formula and YAAM
...
Changed OverrideArtCacheSize to set the art cache size to 261.
Fixed typo in ddraw.ini.
2021-10-27 22:05:29 +08:00
NovaRain
29e52703f4
Renamed some enums to be the same as 4.x
2021-10-26 20:50:33 +08:00
NovaRain
a4ae8d47f0
Rewrote the text hook for main_menu_create_ in C++
...
Changed the description of CheckWeaponAmmoCost in ddraw.ini.
Replaced <br> html tag with backslash in markdown documents.
(CommonMark spec)
Updated version number.
2021-10-25 10:59:22 +08:00
NovaRain
80c9dd533f
Finished implementing fo namespace.
...
Renamed some structs to converge with 4.x.
Splitted ReplacementFuncs.cpp/h to multiple sets in Game\ as 4.x.
Added sfall/game namespaces (except for ScriptExtender).
2021-10-21 11:38:07 +08:00
NovaRain
338a45cf5e
Added fo::funcoffs/func/util/ptr/var namespaces
2021-10-19 14:20:47 +08:00
NovaRain
8c697054c0
Re-organized project structure to 4.x-like
...
Separated ScriptShaders.cpp/h from Graphics.cpp/h.
2021-10-18 21:49:58 +08:00
NovaRain
e9662f49dd
Updated define_extra.h
2021-10-16 07:25:26 +08:00
NovaRain
eecf763ab7
Forgot to commit main.cpp in 1209b7e
2021-10-15 12:30:48 +08:00
NovaRain
b9b7e24c1a
Fixed a rounding error in Glovz's damage formula
...
Updated Russian and Germen translations.
2021-10-15 10:24:08 +08:00
NovaRain
09fe57a099
Updated translation ini files
2021-10-14 09:31:58 +08:00
NovaRain
1209b7efc1
Code edits converge with 4.x
...
* improved the behavior of SpeedInterfaceCounterAnims=3.
* now sfall will always create sfall-log.txt, still won't write any
unless debug options are enabled in ddraw.ini.
2021-10-13 14:12:23 +08:00
NovaRain
4bcf96dfe8
Simplified the code in the previous commit
2021-10-10 10:28:41 +08:00
NovaRain
93c6cf5222
Fixed the execution of use_p_proc handler for grave type containers
...
* "grave type" is a container with only two frames (open/closed)
* in vanilla code, using a grave type container in the open state does
not execute use_p_proc in its script like other containers do.
2021-10-08 11:06:57 +08:00
NovaRain
0ab0a592b4
Reverted the previous commit and added "obj_is_openable" function
...
* the previous commit conflicts with BIS document.
2021-10-08 09:41:25 +08:00
NovaRain
dfcc698c7a
Fixed the return value of obj_is_open function
...
* for containers with only one frame (e.g. shelves)
Minor edits to the previous commit.
2021-10-07 13:46:30 +08:00
NovaRain
4137e6e977
Added loading sfall.dat resource file
...
* localized sfall_XX.dat is also supported.
Minor code refactoring in ScriptExtender.cpp.
Minor edit to sfall function notes.
2021-10-06 21:28:12 +08:00
NovaRain
5c1cccae8f
Backported "set_scr_name" script function from 4.x
...
Updated documents for the function.
Changed some make_pair to bare pair for map insertion.
2021-10-05 22:04:12 +08:00
NovaRain
e3cb0bbaf5
Fixed crash at the end of DS sound playback
...
* revert to the previous implementation.
2021-10-05 13:42:52 +08:00
NovaRain
9db8736033
Code corrections converge with 4.x
2021-10-04 13:06:13 +08:00
NovaRain
932a9f37a3
Improved the rendering performance of DX9 modes
...
Code edits and preparation.
2021-10-01 12:28:33 +08:00
NovaRain
95a10758ae
Added the ability to set custom names for unarmed attacks
...
Updated Translations.ini template.
Commented out empty exit function in some modules.
2021-09-27 10:38:00 +08:00
NovaRain
b6f559755f
Minor code edits to the previous commit
2021-09-26 07:35:55 +08:00
NovaRain
759ef35432
Added the display of actual damage for unarmed attacks in inven
2021-09-25 20:19:48 +08:00
NovaRain
334957d458
Backported Unarmed module and UnarmedFile option from 4.x
2021-09-23 10:43:38 +08:00
NovaRain
76e78fb2be
Minor edits to code and project file
2021-09-22 11:20:10 +08:00
NovaRain
1ee2e5eeda
Added a tweak to keep the selected attack mode for unarmed attacks
...
* was reset when the inventory is closed or the combat ends.
2021-09-20 11:20:14 +08:00
NovaRain
b7ef4a6aed
Added Polish translation (from JaidenIsPink)
2021-09-17 21:57:19 +08:00
NovaRain
73e17ddbef
Some code edits and preparation
2021-09-17 10:55:54 +08:00
NovaRain
4ed512855e
Added a fix to display the color index 255 of the palette correctly
...
* in DX9 mode when using the hi-res patch
Some minor code corrections.
2021-09-12 14:41:08 +08:00
NovaRain
95a03d7429
Code corrections
2021-09-07 06:38:42 +08:00
NovaRain
7d7cb9d84e
Added missing sounds for the buttons on the world map interface ( #373 )
...
Changed the game speed tweak to be active only during the game.
2021-09-06 10:57:10 +08:00
NovaRain
d498c86d65
Fixed key repeat delay/rate for game speed tweak ( #406 )
...
Removed AffectPlayback option.
2021-09-06 08:12:58 +08:00
NovaRain
806cc765bb
Added an additional '"Can't Use" flag to misc flags in item objects
...
* it makes the weapon object unusable in combat.
Updated gl_npcarmor script.
Edits to header files and hookscripts.md.
2021-09-03 21:30:12 +08:00
NovaRain
edc2755ef6
Fixed the Jet addiction was not removed when using the antidote ( #405 )
...
(BGforgeNet/Fallout2_Restoration_Project#118 )
2021-08-29 10:27:52 +08:00
NovaRain
8ab0e57e58
Replaced *(TYPE*)FO_VAR with new inline functions
2021-08-27 22:26:50 +08:00
NovaRain
cb73f4da47
Moved some patches/functions between Interface.cpp and MiscPatches.cpp
...
* And Graphics.cpp and InputFuncs.cpp.
Tweaked the buffer flush (actually print to file) rate in Console.cpp.
2021-08-27 21:11:13 +08:00
NovaRain
be9aeae57a
Code edits to Console.cpp
2021-08-25 12:42:23 +08:00
NovaRain
0d0f105ff2
Added support for the newline character '\n' in pro_*.msg files ( #401 )
...
(from Crafty)
2021-08-25 09:54:28 +08:00
NovaRain
fc1e4e2ac4
Some code edits
2021-08-24 14:22:47 +08:00
NovaRain
4f9fec281e
Changed SingleCore to set CPU affinity to the second core if available
...
Added missing code changes from the previous commit.
2021-08-23 16:15:15 +08:00
NovaRain
c7e29b5d01
Replaced HRP addresses with the define values
...
Refactored get_attack_type opcode.
2021-08-23 15:10:27 +08:00
NovaRain
c0737d9bea
Fully implemented the new ai_check_drugs function
...
Added an additional 'Healing Item' flag to ext flags for item protos.
Added new EngineTweaks files and TweaksFile option.
Internal fix for HOOK_REMOVEINVENOBJ.
2021-08-23 10:15:51 +08:00
NovaRain
42d79aec0b
Fixed ai_check_drugs for AIDrugUsePerfFix=1 (unimpl.)
2021-08-21 07:53:41 +08:00
NovaRain
90a7b20f9d
Fixed a crash when opening a file whose name contains the '%' char
...
Code edits to ai_check_drugs implementation to converge with 4.x
2021-08-19 13:41:28 +08:00
NovaRain
9091690fdd
[Untested] Added a fixed implementation of ai_check_drugs_ function
...
* which has all fixes/hook built-in.
2021-08-17 12:36:49 +08:00
NovaRain
a4b7ac76a0
Added FadeBackgroundMusic option
2021-08-13 20:13:36 +08:00
NovaRain
6b34303268
Code edits to ExtraSaveSlots.cpp
...
* the page numbering is now 0-indexed, to better align with the macros.
Re-numbered save slot control metarules.
2021-08-13 10:58:55 +08:00
NovaRain
cc29d548fe
Changed the implementation of AutoQuickSave
...
* now it sets the number of pages used for quick saving.
Added related macros for controlling the save slot with scripts.
2021-08-12 15:24:13 +08:00
NovaRain
25b8933d7b
Improved the page control for ExtraSaveSlots
...
Minor edits to ddraw.ini.
2021-08-11 14:11:59 +08:00
NovaRain
e3b524dd3c
Added AutoSearchSFX option for automatic search of SFX files
...
Excluded ANIM_walk from the debug log about missing critter art files.
2021-08-08 22:42:56 +08:00
NovaRain
077774fad0
Minor edits to the previous commit
2021-08-06 00:55:28 +08:00
NovaRain
7f8356a5c1
Fixed the main menu music stopped when entering load game screen
...
Added the ability to continuously play the music when moving to another
map that uses the same music.
Updated version number.
2021-08-05 14:18:20 +08:00
NovaRain
cabb98949e
Removed the extra AP check when AI reloads a weapon
...
(reloading is possible if there are not enough action points.)
2021-08-01 07:13:46 +08:00
NovaRain
8b0913c36b
Updated the documents in the previous commit
2021-07-07 09:28:53 +08:00
NovaRain
3bac160395
Added markdown version of compiler documents
2021-07-05 10:02:58 +08:00
NovaRain
fa694be6ac
Added Brazilian Portuguese translation
...
(from Felipefpl)
2021-06-28 12:17:18 +08:00
NovaRain
f51e9c8ef5
Updated french.ini (from HawK-EyE)
2021-06-26 23:09:12 +08:00
NovaRain
82539365a8
Fixed the algorithm for sorting the quest list ( #397 )
2021-06-21 06:09:32 +08:00
NovaRain
a6b555bafc
Fixed black screen after starting a new game w/o HRP ( #395 )
2021-06-20 08:40:03 +08:00
NovaRain
f3e30ea0d5
Fixed item duplication bug in HOOK_INVENTORYMOVE ( #396 )
...
Code edits to Animations.cpp regarding locking anim slots.
Updated version number.
2021-06-20 02:07:07 +08:00
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