mirror of
https://github.com/LostArtefacts/TRX.git
synced 2025-04-28 20:58:07 +03:00
config: add option to control dynamic light
This adds an option to control enabling dynamic light in both TR1 and TR2.
This commit is contained in:
parent
22374ad254
commit
44b311037d
11 changed files with 34 additions and 0 deletions
|
@ -6,6 +6,7 @@ CFG_BOOL(g_Config, gameplay.disable_shotgun, false)
|
|||
CFG_BOOL(g_Config, gameplay.enable_detailed_stats, true)
|
||||
CFG_BOOL(g_Config, gameplay.enable_deaths_counter, true)
|
||||
CFG_BOOL(g_Config, gameplay.enable_enhanced_look, true)
|
||||
CFG_BOOL(g_Config, visuals.enable_gun_lighting, true)
|
||||
CFG_BOOL(g_Config, visuals.enable_shotgun_flash, true)
|
||||
CFG_BOOL(g_Config, gameplay.fix_shotgun_targeting, true)
|
||||
CFG_BOOL(g_Config, gameplay.enable_cheats, false)
|
||||
|
|
|
@ -14,6 +14,7 @@ CFG_BOOL(g_Config, input.enable_tr3_sidesteps, true)
|
|||
CFG_BOOL(g_Config, gameplay.enable_auto_item_selection, true)
|
||||
CFG_INT32(g_Config, gameplay.turbo_speed, 0)
|
||||
CFG_BOOL(g_Config, visuals.enable_3d_pickups, true)
|
||||
CFG_BOOL(g_Config, visuals.enable_gun_lighting, true)
|
||||
CFG_BOOL(g_Config, visuals.enable_fade_effects, true)
|
||||
CFG_BOOL(g_Config, visuals.enable_exit_fade_effects, true)
|
||||
CFG_BOOL(g_Config, visuals.fix_item_rots, true)
|
||||
|
|
|
@ -84,6 +84,7 @@ typedef struct {
|
|||
bool enable_reflections;
|
||||
bool enable_3d_pickups;
|
||||
bool enable_braid;
|
||||
bool enable_gun_lighting;
|
||||
bool enable_shotgun_flash;
|
||||
bool enable_round_shadow;
|
||||
bool enable_skybox;
|
||||
|
|
|
@ -43,6 +43,7 @@ typedef struct {
|
|||
|
||||
struct {
|
||||
bool enable_3d_pickups;
|
||||
bool enable_gun_lighting;
|
||||
bool enable_fade_effects;
|
||||
bool enable_exit_fade_effects;
|
||||
bool fix_item_rots;
|
||||
|
|
|
@ -337,6 +337,10 @@
|
|||
"Title": "Rounded shadows",
|
||||
"Description": "Enables round shadows instead of the default octagonal ones."
|
||||
},
|
||||
"enable_gun_lighting": {
|
||||
"Title": "Gun/explosion lighting",
|
||||
"Description": "Enables dynamic lighting to be generated for gunshots and explosions, similar to TR2+."
|
||||
},
|
||||
"enable_shotgun_flash": {
|
||||
"Title": "Shotgun flash",
|
||||
"Description": "Draws flames when firing the shotgun, like for other guns."
|
||||
|
|
|
@ -284,6 +284,10 @@
|
|||
"Title": "Sombras redondeadas",
|
||||
"Description": "Habilita sombras redondas en lugar de las octogonales predeterminadas."
|
||||
},
|
||||
"enable_gun_lighting": {
|
||||
"Title": "Iluminación de pistola/explosión",
|
||||
"Description": "Permite generar iluminación dinámica para disparos y explosiones, similar a TR2+."
|
||||
},
|
||||
"enable_shotgun_flash": {
|
||||
"Title": "Destello de escopeta",
|
||||
"Description": "Muestra llamas al disparar la escopeta, al igual que en otras armas."
|
||||
|
|
|
@ -348,6 +348,10 @@
|
|||
"Title": "Ombres rondes",
|
||||
"Description": "Active les ombres rondes au lieu d'ombres octagonales."
|
||||
},
|
||||
"enable_gun_lighting": {
|
||||
"Title": "Éclairage de pistolet/explosion",
|
||||
"Description": "Permet de générer un éclairage dynamique pour les coups de feu et les explosions, similaire au TR2+."
|
||||
},
|
||||
"enable_shotgun_flash": {
|
||||
"Title": "Flash du fusil à pompe",
|
||||
"Description": "Affiche un flash lorsque Lara tire avec le fusil à pompe, tout comme les autres armes."
|
||||
|
|
|
@ -348,6 +348,10 @@
|
|||
"Title": "Ombre arrotondate",
|
||||
"Description": "Abilita le ombre arrotondate invece di quelle ottagonali predefinite."
|
||||
},
|
||||
"enable_gun_lighting": {
|
||||
"Title": "Illuminazione di armi/esplosioni",
|
||||
"Description": "Consente di generare un'illuminazione dinamica per spari ed esplosioni, simile a TR2+."
|
||||
},
|
||||
"enable_shotgun_flash": {
|
||||
"Title": "Lampo dello sparo del fucile",
|
||||
"Description": "Mostra il lampo dello sparo quando Lara fa fuoco con il fucile a pompa, come per le altre armi."
|
||||
|
|
|
@ -451,6 +451,11 @@
|
|||
"DataType": "Bool",
|
||||
"DefaultValue": true
|
||||
},
|
||||
{
|
||||
"Field": "enable_gun_lighting",
|
||||
"DataType": "Bool",
|
||||
"DefaultValue": true
|
||||
},
|
||||
{
|
||||
"Field": "enable_shotgun_flash",
|
||||
"DataType": "Bool",
|
||||
|
|
|
@ -86,6 +86,10 @@
|
|||
"Title": "Screenshot format",
|
||||
"Description": "Screenshot file format."
|
||||
},
|
||||
"enable_gun_lighting": {
|
||||
"Title": "Gun/explosion lighting",
|
||||
"Description": "Enables dynamic lighting to be generated for gunshots and explosions."
|
||||
},
|
||||
"enable_lara_mic" : {
|
||||
"Title": "Microphone at Lara",
|
||||
"Description": "Set the microphone to be at Lara's position. If disabled, the microphone will be at the camera's position."
|
||||
|
|
|
@ -137,6 +137,11 @@
|
|||
"DataType": "Enum",
|
||||
"EnumKey": "screenshot_format",
|
||||
"DefaultValue": "jpg"
|
||||
},
|
||||
{
|
||||
"Field": "enable_gun_lighting",
|
||||
"DataType": "Bool",
|
||||
"DefaultValue": true
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue