Commit Graph

49 Commits

Author SHA1 Message Date
jonpas
04831267f2 Use lazy evaluation 2016-04-14 13:55:15 +02:00
jonpas
dec266a546 Fix ship view distance using foot instead of vehicle setting, Cleanup view distance component 2016-04-14 13:52:20 +02:00
PabstMirror
c0eccc67c3 Change all SCALAR to NUMBER in headers 2016-01-28 18:19:15 -06:00
Glowbal
c1fa81f28b Fix tabs in sqf files 2015-12-21 17:05:48 +01:00
Thomas Kooi
c132ef86cf Merge pull request #2133 from jonpas/dynamicViewDistance
Mk 1 eyeballs Integration
2015-11-28 20:40:29 +01:00
Michael Braun
5047d4de1c Switched to ACE_LOG<LEVEL>_# variation 2015-08-26 17:39:44 +02:00
Michael Braun
097506076f Fixed format usage in macros requiring ARR_# for it to work 2015-08-26 16:48:55 +02:00
Michael Braun
9e10aa86d7 Standardize logging format through ACE_LOG macros 2015-08-26 15:32:54 +02:00
jonpas
f43282024a Updated FoV Based PFH function header 2015-08-22 22:26:04 +02:00
jonpas
a24da99722 Merge branch 'master' into dynamicViewDistance
Conflicts:
	addons/viewdistance/README.md
	addons/viewdistance/XEH_clientInit.sqf
2015-08-22 00:49:57 +02:00
jonpas
64c1a93517 Renamed macro, removed debug 2015-08-17 18:50:02 +02:00
jonpas
f14830624b Added separate handling for Air vehicles (longer view distances), Fixed normal zoom level to actual A3 value 2015-08-17 18:46:14 +02:00
jonpas
3147cb038b Removed unnecessary param assignment, fixed comment example 2015-08-17 18:22:03 +02:00
jonpas
fe9e4fee07 Fixed viewdistance limit not applied when Video Settings option is selected, Removed unnecessary EHs 2015-08-17 18:12:00 +02:00
jonpas
b1408af43a Mk 1 eyeballs integration 2015-08-12 22:09:59 +02:00
jonpas
e20811c0f2 Cleaned up headers, newlines in viewdistance 2015-08-12 20:16:01 +02:00
Glowbal
bd0593f8f4 fixed missing semi-column 2015-08-08 17:49:43 +02:00
Michael Braun
ade6c99dac Updated parameterization in Viewdistance module. 2015-08-04 23:33:03 +02:00
gienkov
00c5abecc2 Merge remote-tracking branch 'origin' into module-translations-2
Conflicts:
	addons/viewdistance/ACE_Settings.hpp
	addons/viewdistance/functions/fnc_changeViewDistance.sqf
2015-05-23 17:55:06 +02:00
esteldunedain
23117db401 - Default viewDistance to video settings - Add 500m and 100m as optional view distances 2015-05-20 17:17:08 +02:00
gienkov
4bebedf73e Stringtable Zeus and View Distance
* Stringtabled ACE Zeus module
* Stringtabled ACE View Distance
* Lowered default view distance to 1500 because default value (10000)
makes enormous FPS drop at start for low end machines
2015-05-17 00:53:55 +02:00
esteldunedain
a9197a8e33 Make viewdistance disabable through settings and module 2015-05-14 16:36:12 -03:00
esteldunedain
195643d557 Handle player not existing 2015-05-14 15:24:35 -03:00
esteldunedain
2027a28959 Modify changeViewDistance so:
- Displays objects distance percentage instead of coeficient
- Only display that if not off
2015-05-14 15:16:02 -03:00
SAM
8c7d752fcc Made final adjustments
Centred prompts, fixed erroneous if statement, adjusted function
headers.
2015-05-14 18:25:41 +02:00
SAM
3480168e05 Integrated new function into module 2015-05-14 17:44:35 +02:00
SAM
853333ac49 Added new function, updated settings 2015-05-14 17:19:14 +02:00
SAM
495e94f3f0 Merged fnc_init.sqf into XEH_postInit.sqf 2015-05-10 13:04:08 +02:00
SAM
283768fabb Fixed code style in switch statement 2015-05-10 12:56:05 +02:00
SAM
6a6681872c Replaced player with ACE_player 2015-05-10 12:54:53 +02:00
SAM
c05a91f530 Suppress prompts when changing vehicle.
They're only shown when the player changes the setting.
2015-05-10 12:15:34 +02:00
SAM
69648f0e1b Added adaptive view distance depending on vehicle 2015-05-10 12:00:19 +02:00
SAM
737b1cc216 Renamed variable limit to limitViewDistance
For future limiting of terraingrid
2015-05-09 18:42:02 +02:00
SAM
cad86280c1 Fixed module value not overriding. 2015-05-09 14:51:23 +02:00
SAM
f4d7c6818b Attempted fix #2 2015-05-09 13:05:36 +02:00
SAM
a9d6fbd841 Attempting to fix module value not being read 2015-05-09 12:36:11 +02:00
SAM
f64f76e92f Fixed wrong file name 2015-05-09 12:07:05 +02:00
SAM
2dfaaa047a Reworked limiting system
Module limit still not being set properly.
2015-05-09 11:56:27 +02:00
SAM
bba216ebd2 Rewrote switch statement
Per @Glowbal's comment
2015-05-09 10:53:09 +02:00
SAM
ae1628ef03 Renamed init file for neatness 2015-05-09 10:41:55 +02:00
SAM
0b4137763d Cleaned up code 2015-05-08 18:41:32 +02:00
SAM
45992e5e7f All working except module returning any.
ace_viewdistance_moduleViewDistanceLimit always returning as any. No
error in the RPT relating to readSettingfromModule failing
2015-05-08 18:30:28 +02:00
SAM
6cda97e3a0 Adding required files for module integration 2015-05-08 16:07:57 +02:00
SAM
5732015370 Added moduleViewDistance file 2015-05-08 15:36:47 +02:00
SAM
bb625aac58 Used ACE common function instead of hint 2015-05-08 15:27:13 +02:00
SAM
a5d68f122d Added working limiter (config based) 2015-05-08 14:49:52 +02:00
SAM
6b604c101c First working version 2015-05-08 14:14:15 +02:00
SAM
2c8dddfc47 Adding required files 2015-05-08 09:28:48 +02:00
SAM
c2bb6386af Added required files for new module 2015-05-07 22:41:44 +02:00