mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
o Externalized ja2_options.ini value if you want to use / or not the cleaned up version of CalcNewChanceToHitGun: USE_NEW_CTH_CALCULATION (by silversurfer)
o see: http://www.ja-galaxy-forum.com/board/ubbthreads.php/topics/322986/Re_Potential_NCTH_Code_Change_.html#Post322986 git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1710 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
@@ -123,6 +123,13 @@ MAX_ITEM_SIZE = 34
|
|||||||
MAX_WEAPON_SIZE = 9
|
MAX_WEAPON_SIZE = 9
|
||||||
OLD_INVENTORY_ITEM_NUMBER = 99
|
OLD_INVENTORY_ITEM_NUMBER = 99
|
||||||
|
|
||||||
|
;------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
; USE_NEW_CTH_CALCULATION is an experimental switch which causes the game to use a cleaned up version of NCTH calculation.
|
||||||
|
; This switch will do nothing if you play with OCTH.
|
||||||
|
; The new code is easier to read for programmers and therefore (hopefully) easier to improve. ;-)
|
||||||
|
; The switch and the old code will probably be removed in the future.
|
||||||
|
;------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
USE_NEW_CTH_CALCULATION = TRUE
|
||||||
|
|
||||||
;******************************************************************************************************************************
|
;******************************************************************************************************************************
|
||||||
;******************************************************************************************************************************
|
;******************************************************************************************************************************
|
||||||
|
|||||||
@@ -123,6 +123,13 @@ MAX_ITEM_SIZE = 34
|
|||||||
MAX_WEAPON_SIZE = 9
|
MAX_WEAPON_SIZE = 9
|
||||||
OLD_INVENTORY_ITEM_NUMBER = 99
|
OLD_INVENTORY_ITEM_NUMBER = 99
|
||||||
|
|
||||||
|
;------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
; USE_NEW_CTH_CALCULATION is an experimental switch which causes the game to use a cleaned up version of NCTH calculation.
|
||||||
|
; This switch will do nothing if you play with OCTH.
|
||||||
|
; The new code is easier to read for programmers and therefore (hopefully) easier to improve. ;-)
|
||||||
|
; The switch and the old code will probably be removed in the future.
|
||||||
|
;------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
USE_NEW_CTH_CALCULATION = TRUE
|
||||||
|
|
||||||
;******************************************************************************************************************************
|
;******************************************************************************************************************************
|
||||||
;******************************************************************************************************************************
|
;******************************************************************************************************************************
|
||||||
|
|||||||
@@ -123,6 +123,13 @@ MAX_ITEM_SIZE = 34
|
|||||||
MAX_WEAPON_SIZE = 9
|
MAX_WEAPON_SIZE = 9
|
||||||
OLD_INVENTORY_ITEM_NUMBER = 99
|
OLD_INVENTORY_ITEM_NUMBER = 99
|
||||||
|
|
||||||
|
;------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
; USE_NEW_CTH_CALCULATION is an experimental switch which causes the game to use a cleaned up version of NCTH calculation.
|
||||||
|
; This switch will do nothing if you play with OCTH.
|
||||||
|
; The new code is easier to read for programmers and therefore (hopefully) easier to improve. ;-)
|
||||||
|
; The switch and the old code will probably be removed in the future.
|
||||||
|
;------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
USE_NEW_CTH_CALCULATION = TRUE
|
||||||
|
|
||||||
;******************************************************************************************************************************
|
;******************************************************************************************************************************
|
||||||
;******************************************************************************************************************************
|
;******************************************************************************************************************************
|
||||||
|
|||||||
Reference in New Issue
Block a user