Commit Graph
100 Commits
Author SHA1 Message Date
NovaRain c5e226a279 Fixed key repeat delay/rate for game speed tweak (#406)
Removed AffectPlayback option.
2021-09-06 07:52:41 +08:00
NovaRain 0a8a28b80c Moved some functions from AI.cpp to AIHelpers.cpp 2021-09-06 07:44:38 +08:00
NovaRain c047402dc9 Code edits to gl_npcarmor script
Added some line breaks in hookscripts.md.
2021-09-03 10:36:33 +08:00
NovaRain 569bde5fab Code changes to the previous commit
Changed HOOK_CANUSEWEAPON to run for both the player and NPCs.
Updated gl_npcarmor script.
2021-09-02 11:23:24 +08:00
NovaRain 428cf42c7d Added an additional '"Can't Use" flag to misc flags in item objects
* it makes the weapon object unusable in combat.

Edits to header files.
2021-08-31 12:35:47 +08:00
NovaRain dfd810c9e4 Fixed the Jet addiction was not removed when using the antidote (#405)
(BGforgeNet/Fallout2_Restoration_Project#118)
2021-08-29 10:20:01 +08:00
NovaRain d9b7a714ec Moved some patches/functions between Interface.cpp and MiscPatches.cpp
* And Graphics.cpp and InputFuncs/Input.cpp

Tweaked the buffer flush (actually print to file) rate in Console.cpp.
2021-08-27 21:00:15 +08:00
NovaRain 888269af92 Renamed the var inline functions 2021-08-27 20:45:53 +08:00
NovaRain a275fff434 Replaced *(TYPE*)FO_VAR with new inline functions 2021-08-26 10:03:47 +08:00
NovaRain 3f0216d49b Fixed broken ConsoleOutputPath due to the line break support 2021-08-25 11:33:58 +08:00
NovaRain ce64f5d352 Moved render.cpp/h files to GUI folder/namespace 2021-08-25 10:14:53 +08:00
NovaRain 110facfada Added support for the newline character '\n' in pro_*.msg files (#401) 2021-08-25 09:52:05 +08:00
NovaRain bb55b97d12 Some code edits and preparation 2021-08-24 14:12:32 +08:00
NovaRain 40538e26d3 Changed SingleCore to set CPU affinity to the second core if available 2021-08-23 16:07:29 +08:00
NovaRain 3bc49e05d5 Replaced HRP addresses with the define values 2021-08-23 10:24:27 +08:00
NovaRain a6417069ad Internal fix for HOOK_REMOVEINVENOBJ 2021-08-21 11:35:41 +08:00
NovaRain c6f17c5b7d Fixed ai_check_drugs for AIDrugUsePerfFix=1 2021-08-21 07:50:04 +08:00
NovaRain cf028bcdfe Added "util" namespace to EngineUtils.cpp 2021-08-20 21:34:14 +08:00
NovaRain 478a522463 Code fixes to ai_check_drugs_hack in combatAI.cpp 2021-08-20 07:15:11 +08:00
NovaRain a186014895 Added new EngineTweaks module and TweaksFile option 2021-08-19 23:09:03 +08:00
NovaRain 3129e27737 Fixed a crash when opening a file whose name contains the '%' char
Corrected the code in the previous commit.
2021-08-19 13:33:52 +08:00
NovaRain 94dd41f7ac Relocated some functions in the previous commit
Added an additional 'Healing Item' flag to ext flags for item protos.

* indicates the item is a healing drug when AI needs to heal itself.
2021-08-18 12:03:58 +08:00
NovaRain e55db2b4da Added a fixed implementation of ai_check_drugs_ function
* which has all fixes/hook built-in.

Disabled old fixes for vanilla ai_check_drugs_ in AI.cpp/BugFixes.cpp.
2021-08-17 12:22:57 +08:00
NovaRain 3a0e64e3ce Added FadeBackgroundMusic option 2021-08-13 20:10:08 +08:00
NovaRain 638499b106 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:54:57 +08:00
NovaRain 5ef12b60c5 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:07:24 +08:00
NovaRain 34ae106fa5 Improved the page control for ExtraSaveSlots
Minor edits to ddraw.ini.
2021-08-11 14:09:39 +08:00
NovaRain a34aa64ced 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:40:49 +08:00
NovaRain a26b7931a6 Minor edits to the previous commit 2021-08-06 00:54:20 +08:00
NovaRain 865adb7ee8 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:02 +08:00
NovaRain d9bcad0a11 Removed the extra AP check when AI reloads a weapon
(reloading is possible if there are not enough action points.)
2021-08-01 07:12:47 +08:00
NovaRain 6a95cdf3ca Updated the documents in the previous commit 2021-07-07 09:26:41 +08:00
NovaRain da3cdd4698 Added markdown version of compiler documents 2021-07-05 10:01:48 +08:00
NovaRain 6402d616fa Merge branch 'master' into develop 2021-07-05 09:58:27 +08:00
NovaRain bd121c1dcd Attempted to fix the document website 2021-07-03 09:30:53 +08:00
NovaRain f9fa332b23 Added Brazilian Portuguese translation
(from Felipefpl)
2021-06-28 12:16:07 +08:00
NovaRain ec6d25da3d Release 4.3.0.2 2021-06-26 23:09:39 +08:00
NovaRain fc15a17d99 Updated french.ini (from HawK-EyE) 2021-06-26 23:08:32 +08:00
NovaRain 0a89ab4ceb Fixed the algorithm for sorting the quest list (#397) 2021-06-21 06:08:37 +08:00
NovaRain ecb113fd54 Fixed black screen after starting a new game w/o HRP (#395) 2021-06-20 08:37:42 +08:00
NovaRain e03d3f5963 Fixed item duplication bug in HOOK_INVENTORYMOVE (#396)
Code edits to Animations.cpp regarding locking anim slots.
Updated version number.
2021-06-20 02:05:29 +08:00
NovaRain dec97f22c7 Re-release 4.3.0.1 2021-06-10 08:44:55 +08:00
NovaRain 5682d9b12a Fixed code in Animations.cpp for commit 7c55d37 (#393, #394) 2021-06-10 08:40:05 +08:00
NovaRain 3177977927 Release 4.3.0.1 2021-06-10 00:39:24 +08:00
NovaRain 44c988f306 Minor code edits to BugFixes.cpp 2021-06-09 21:07:27 +08:00
NovaRain f8dee32c16 Code edits to tilemap.cpp and engine defines 2021-06-09 11:14:10 +08:00
NovaRain f96b1776b5 Fixed chem_primary_desire values not being saved correctly for PMs 2021-06-08 12:16:05 +08:00
NovaRain 38abea7fc1 Fixed infinite loop in combat with AIDrugUsePerfFix 2021-06-08 07:05:07 +08:00
NovaRain ff324c304f Fixed friendly fire check not running for unset area_attack_mode 2021-06-07 06:57:24 +08:00
NovaRain 7c55d37e57 Disabled the improved implementation of animation registration
(for release build)

Updated version number and Russian translation file.
2021-06-06 09:04:59 +08:00
NovaRain a19a9eae10 Release 4.3 2021-06-01 12:00:50 +08:00
NovaRain 443a423081 Some edits to documents
Removed txt version of arrays, hookscripts, and function notes.
2021-06-01 11:05:38 +08:00
NovaRain b665c904f1 Minor code edits 2021-06-01 09:51:59 +08:00
NovaRain a9a8088775 Added a debug message about missing combat object 2021-05-30 11:49:13 +08:00
NovaRain dbe2de310c Fixed incorrect object type search when loading a game saved in combat 2021-05-29 10:36:00 +08:00
NovaRain 1a40aceea3 Added markdown version of function notes and opcode list 2021-05-28 21:38:10 +08:00
NovaRain 09ab715687 Code edits to various modules 2021-05-28 11:35:26 +08:00
NovaRain 5e3f1eeaad Removed "proto_exists" function in previous commit
Added macro for checking pid.
2021-05-26 06:58:18 +08:00
NovaRain 1b37ed5d7c Added "proto_exists" script function
Updated gl_auto_closebox example script.
2021-05-25 12:55:11 +08:00
NovaRain 0b242a770d Changed the placement algorithm for multihex critters
(Rewrote the fix in the previous commit.)
2021-05-23 09:10:37 +08:00
NovaRain 4d1371b540 Fixed the placement of multihex critters in the player's party 2021-05-23 08:07:22 +08:00
NovaRain cb70bc78a3 Fixed infinite loop in ObjCanSeeObj_ShootThru_Fix (#365) 2021-05-22 08:04:11 +08:00
NovaRain e8abb99d0e Corrected code for initializing attached script (create_object_sid, #378) 2021-05-19 10:19:00 +08:00
NovaRain aee6ed1195 Rewrote the fix for clearing floating text messages (#377) 2021-05-19 06:22:37 +08:00
NovaRain 6b368e6a69 Updated files for online documents
Fixed typos in hookscripts.md & sslc_readme.txt.
2021-05-18 11:31:20 +08:00
NovaRain 9ce3a42102 Corrected code in Animations.cpp 2021-05-17 10:43:43 +08:00
NovaRain 73a9128369 Implemented an improved animation registration process 2021-05-16 13:05:38 +08:00
NovaRain dd4ad75e4e Fixed value bounds for the redefined key code value in HOOK_KEYPRESS
Minor code & document edits.
2021-05-15 21:54:59 +08:00
NovaRain 9497fae442 Code edits to Animations.cpp to prepare new implementation
Added fill area truncation to win_fill_color.
2021-05-13 12:03:23 +08:00
NovaRain 16f8f1b92b Fixed setting the last script window when the mouse leaves (#376) 2021-05-12 10:30:38 +08:00
NovaRain 6b7e83ab15 Rewrote the code in Animations.cpp
Fixed gl_auto_closebox not closing containers in some cases.
2021-05-11 10:43:06 +08:00
NovaRain fc53df5a16 Added a new hook: HOOK_CANUSEWEAPON
Updated NPC armor appearance mod script.
2021-05-09 20:17:40 +08:00
NovaRain 4f22b5a9fa Code correction to two previous commits 2021-05-09 08:42:28 +08:00
NovaRain f3f8321415 Enabled AI to use unarmed attack when switching weapons
Added build folders to gitignore.
2021-05-08 23:11:37 +08:00
NovaRain 183b74a8fa Moved item_count function fix to Game\items.cpp
Finished the code of item_weapon_mp_cost replacement.
2021-05-08 12:42:53 +08:00
NovaRain 6d88f21028 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:48:40 +08:00
NovaRain db0b8eddba Set idle(Sleep) function for losing window focus
Some code correction.
2021-05-06 10:36:06 +08:00
NovaRain 2985c2866b Added additional code to "duplicate obj_dude script data" fix 2021-05-04 12:39:07 +08:00
NovaRain eeab5065da Reverted the change of obj_under_cursor in 4.2.9 (commit 1684395)
The game window position is now also saved when dragging the window by
the title bar.
2021-05-02 12:06:53 +08:00
NovaRain 2e337d246b Adjusted how the fix for create_object_sid works
Added CreateObjectSidFix option.
2021-05-02 10:34:16 +08:00
NovaRain 7df0407798 Rewrote the score calculation in AIBestWeaponFix (#370)
Changed FastShotFix to be disabled by default.
2021-04-29 11:54:20 +08:00
NovaRain 52af67ad3d Added DisableSpecialAreas option
Added a new "fonts" folder for language specific fonts.
2021-04-25 11:49:02 +08:00
NovaRain b72b26d292 Added language path for loading fonts (#368)
Some code fixes to support the language path.
2021-04-24 10:25:51 +08:00
NovaRain 99c95b2154 Code correction regarding string length 2021-04-23 10:50:34 +08:00
NovaRain 0cd2aa4f83 Added language path for sfall translations.ini 2021-04-22 11:45:21 +08:00
NovaRain 460bc045b9 Added language path for premade files (#368)
Added AppIface.msg file support to Hero Appearance mod.
2021-04-21 11:28:48 +08:00
NovaRain 83eee2ba1e Code correction to the previous commit 2021-04-19 11:19:07 +08:00
NovaRain c855c6db19 Fixed and improved AllowLargeTiles option (#367)
Removed the unspent skill points limit.
2021-04-18 13:09:06 +08:00
NovaRain edd60379c5 Added a new value to AIDrugUsePerfFix 2021-04-14 16:18:33 +08:00
NovaRain 45faa184d8 Reorganized/renamed the functions in IniReader 2021-04-13 13:37:23 +08:00
NovaRain fbd997e8bc Fixed cur_town function on new game start (#366) 2021-04-13 12:08:45 +08:00
NovaRain df45450394 Fixed AI behavior to prevent the unnecessary use of healing drugs 2021-04-13 12:02:39 +08:00
NovaRain ea9037e38a Moved all ini functions inside "IniReader" class 2021-04-11 21:24:33 +08:00
NovaRain 2eefeb4f23 Improved the "order to attack" function for party members 2021-04-11 19:33:38 +08:00
NovaRain 278bfdc841 Added markdown version of hookscripts.txt
Some edits to documents.
2021-04-07 21:09:55 +08:00
NovaRain acf859bebf Cosmetic edits: alignment of multi-line ternary 2021-04-07 21:05:55 +08:00
NovaRain 0fbc29e8fd Added a new hook: HOOK_BESTWEAPON 2021-04-05 12:43:11 +08:00
NovaRain 990587b145 Code changes to the previous commit 2021-04-04 09:56:31 +08:00
NovaRain 4dc5012ea5 Added a few fixes for knockout/down issues 2021-04-03 12:35:42 +08:00
NovaRain 16faac8cad 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:01:37 +08:00