NovaRain
d26a06872a
Backported the advanced BarBoxes features from 4.x:
...
* Added BoxBarCount option.
* Added "set_iface_tag_text" and "add_iface_tag" script functions.
* Now number of simultaneously displayed boxes depends on game res.
* Updated documents.
2019-11-01 21:14:03 +08:00
NovaRain
3ef6056a77
Added "add_trait" script function
...
Replaced some C-style casting with pre-defined ptr_* variables.
2019-10-20 19:31:08 +08:00
NovaRain
37acec7115
Added "unwield_slot" script function
...
Re-fixed obj_art_fid for player's FID (commit 36523d8 )
2019-10-08 10:56:49 +08:00
NovaRain
5cfd5f99e3
Moved object unique id code from ScriptExtender to new Objects.cpp/h
...
Backported set_unjam_locks_time function from 4.0.
2019-10-07 09:36:46 +08:00
NovaRain
a6a8e2e42f
Backported HEROWIN, DIALOGVIEW, COUNTERWIN game mode flags from 4.x
...
Updated UI hotkeys example mod.
2019-09-13 08:09:07 +08:00
NovaRain
81ba15d451
Rewrote the code of force_encounter functions
...
Added a new flag to force_encounter_with_flags.
2019-08-12 21:12:28 +08:00
NovaRain
c0f9f142c4
Added a tweak for weapon perk modifier to AIBestWeaponFix
...
Minor edits to code/documents.
Updated version number.
2019-08-09 11:59:45 +08:00
NovaRain
5ccd1534f4
Added "metarule_exist" script function.
...
Limited the maximum number of extra game msg files to 4096 (from 4.x).
Code edit to Message.cpp and ScriptUtils.hpp.
2019-06-14 23:32:01 +08:00
NovaRain
6db496e66c
Code edits to Perks.cpp/PerksOp.hpp/ScriptExtender.cpp.
2019-05-27 12:10:34 +08:00
NovaRain
2c7548f164
Fixed getting perks/traits from the real dude_obj while controlling other NPCs.
...
Added "real_dude_obj" script function and updated documents.
2019-05-22 12:59:27 +08:00
NovaRain
2059a3da8c
Backported 3 script functions from 4.1:
...
* dialog_obj, loot_obj, and npc_engine_level_up.
2019-05-08 21:04:18 +08:00
NovaRain
7500e6b637
Updated set_unique_id defines in sfall.h.
2019-04-24 20:26:26 +08:00
NovaRain
6791b15af1
Added "set_unique_id" script function.
...
Minor edit to Perks.cpp.
Added DevXP config to project files.
2019-04-14 07:35:52 +08:00
NovaRain
bc8f7477c7
Fixed the reserved item FRM being displayed in the top-left corner when in the loot/barter screens.
2019-02-20 10:04:54 +08:00
NovaRain
120888e5ed
Added "art_cache_clear" script function.
2019-01-20 09:10:58 +08:00
NovaRain
e320acce0b
Expanded create/temp_array functions to allow creating a new "lookup" type of associative array (from Mr.Stalin)
2019-01-08 06:52:00 +08:00
NovaRain
4f48926105
Added support for sorting associative arrays by keys or values (from Mr.Stalin)
2019-01-07 15:13:22 +08:00
NovaRain
d7d8de5e1a
Added "get/set_object_data" script functions (from Mr.Stalin)
...
Changed read_byte, read_short, read_int, and read_string functions to not require AllowUnsafeScripting.
2018-12-05 10:17:26 +08:00
NovaRain
08a891a0fc
Added "obj_under_cursor" script function.
...
Backported some script functions from 4.0: lock_is_jammed, unjam_lock.
2018-11-04 09:14:02 +08:00
NovaRain
5eda8dd7a0
Backported a new mode of metarule2_explosions from 4.0.
2018-10-17 22:30:07 +08:00
NovaRain
e1aefcc1ed
Refactored BonusHtHDamageFix/DisplayBonusDamage code in AmmoMod.cpp (from Mr.Stalin)
...
Fixed DisplayBonusDamage not being applied on Melee Damage stat in the character screen when BonusHtHDamageFix is enabled.
Reimplemented INTFACEUSE/INTFACELOOT/BARTER game mode flags, and backported inventory_redraw script function from 4.0.
2018-10-11 11:19:22 +08:00
NovaRain
dad0860d6e
Changed implementation of StartGDialogFix, additionally fixed the game crash if calling start_gdialog function outside of talk_p_proc procedure for talking heads.
...
Fixed "Heave Ho!" perk increasing strength stat above 10 when determining the max range of thrown weapons.
Moved SpecialUnarmedAttacksFix to BugFixes.cpp and simplified the code.
Added comments to old ApplyHeaveHoFix in Perks.cpp.
Backported some non-hook related script functions from 4.0: item_weight, get/set_outline, get/set_flags, tile_refresh_display, outlined_object, get/set_cursor_mode, display_stats, get/set_map_enter_position, attack_is_aimed.
2018-10-10 17:24:05 +08:00
NovaRain
d117296990
Backported "create_win" script function and InterfaceDontMoveOnTop option from the developt branch.
...
Updated version number.
2018-10-02 12:15:48 +08:00
NovaRain
2e30c86467
Added "get_current_inven_size" script function.
2018-09-21 19:27:57 +08:00
NovaRain
e92ded34e4
Added "floor2" script function to work with ceil ( #109 )
...
Added the missing description of ceil to notes.txt.
Disabled ceil marco in lib.math.h.
Removed duplications in Utils.h.
2018-04-28 11:16:10 +08:00