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
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