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
NovaRain
69633e96d5
Added DL_FIX for logging
...
Edits to ddraw.ini and arrays.md.
2021-04-02 01:19:29 +08:00
NovaRain
f90c613107
Improved some combat-related fixes
...
Changed the search of localized res file to two letter-code.
2021-04-01 13:40:00 +08:00
NovaRain
4244ebd8c5
Improved the implementation of tile_num_beyond function
2021-03-29 11:54:56 +08:00
NovaRain
b37b5a2e76
Corrected the code in the previous commit
2021-03-28 08:43:26 +08:00
NovaRain
454e9bde73
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:54:04 +08:00
NovaRain
59a1332af5
Removed DataLoadOrderPatch from ddraw.ini (always enabled)
2021-03-26 12:16:20 +08:00
NovaRain
a7b95e0948
Added a fix for multihex critter self-hit issue
2021-03-25 21:28:56 +08:00
NovaRain
78d8f46af6
Added "set_quest_failure_value" script function
2021-03-24 12:52:00 +08:00
NovaRain
d56de64913
Added a search for localized sfall resource files
2021-03-23 11:03:20 +08:00
NovaRain
561632fdca
Code correction to the previous commit
2021-03-23 09:44:17 +08:00
NovaRain
1cc978c0b1
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 d95e439 .
2021-03-22 14:24:45 +08:00
NovaRain
438bc6f78f
Code edits to the weapon switching fix in AI.cpp
...
Added more struct defines and corrected related code.
2021-03-19 11:24:15 +08:00
NovaRain
9657731441
Fixed the error handling in create_object_sid
...
* also added a debug message about the missing pid.
2021-03-17 09:44:42 +08:00
NovaRain
a343e5d6e1
Fixed a possible crash in commit d76f513
...
* when the proto does not exist, leading to null object pointer.
2021-03-16 09:20:53 +08:00
NovaRain
bdebed85b7
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:56:44 +08:00
NovaRain
d76f513873
Fixed the script attached to an object not running upon object creation ( #359 )
...
Minor code style edits.
2021-03-14 11:01:03 +08:00
NovaRain
e99fe09137
Moved INI reading functions from main.cpp to IniReader.cpp
2021-03-13 13:47:27 +08:00
NovaRain
21ff9238a0
Edited description of CheckWeaponAmmoCost and HOOK_AMMOCOST
2021-03-12 09:34:57 +08:00
NovaRain
4d04cae5a6
Fixed the check of the ammo cost for a shot in CheckWeaponAmmoCost ( #360 )
2021-03-11 14:39:21 +08:00
NovaRain
d95e43956d
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:52:09 +08:00
NovaRain
6b49c0dbaf
Added markdown version of arrays.txt (test)
2021-03-05 23:44:38 +08:00
NovaRain
f8447ba3b1
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:07:34 +08:00
NovaRain
af90444f9b
Some code edits regarding BodyPart enums
2021-03-03 10:38:32 +08:00
NovaRain
db94b8e6a7
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:10:14 +08:00
NovaRain
1f5871fdb7
Removed the fix added in commit 2efa4a9
...
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.
2021-02-26 10:30:56 +08:00
NovaRain
5b3a83df91
Edits to hookscripts.txt
...
Added weapon argument to HOOK_CALCAPCOST.
2021-02-24 11:59:04 +08:00
NovaRain
797de4bc0e
Fixed gl_auto_closebox for gravesites
2021-02-24 10:41:27 +08:00
NovaRain
cf8981b267
Added more checks to weapon ammo script functions
2021-02-24 10:40:01 +08:00