22 #ifndef ULTIMA4_CORE_SETTINGS_H 23 #define ULTIMA4_CORE_SETTINGS_H 25 #include "ultima/ultima4/core/observable.h" 26 #include "ultima/ultima4/core/types.h" 27 #include "ultima/shared/conf/conf_serializer.h" 28 #include "common/hash-str.h" 33 #define MIN_SHAKE_INTERVAL 50 35 #define MAX_BATTLE_SPEED 10 36 #define MAX_KEY_DELAY 1000 37 #define MAX_KEY_INTERVAL 100 38 #define MAX_CYCLES_PER_SECOND 20 39 #define MAX_SPELL_EFFECT_SPEED 10 40 #define MAX_CAMP_TIME 10 41 #define MAX_INN_TIME 10 42 #define MAX_SHRINE_TIME 20 43 #define MAX_SHAKE_INTERVAL 200 46 #define DEFAULT_GEM_LAYOUT "Standard" 47 #define DEFAULT_LINEOFSIGHT "DOS" 48 #define DEFAULT_SCREEN_SHAKES 1 49 #define DEFAULT_GAMMA 100 50 #define DEFAULT_VOLUME_FADES 1 51 #define DEFAULT_SHORTCUT_COMMANDS 0 52 #define DEFAULT_KEY_DELAY 500 53 #define DEFAULT_KEY_INTERVAL 30 54 #define DEFAULT_FILTER_MOVE_MESSAGES 0 55 #define DEFAULT_BATTLE_SPEED 5 56 #define DEFAULT_ENHANCEMENTS 1 57 #define DEFAULT_CYCLES_PER_SECOND 4 58 #define DEFAULT_ANIMATION_FRAMES_PER_SECOND 24 59 #define DEFAULT_DEBUG 0 60 #define DEFAULT_VALIDATE_XML 1 61 #define DEFAULT_SPELL_EFFECT_SPEED 10 62 #define DEFAULT_CAMP_TIME 10 63 #define DEFAULT_INN_TIME 8 64 #define DEFAULT_SHRINE_TIME 16 65 #define DEFAULT_SHAKE_INTERVAL 100 66 #define DEFAULT_BATTLE_DIFFICULTY "Normal" 67 #define DEFAULT_LOGGING "" 68 #define DEFAULT_TITLE_SPEED_RANDOM 150 69 #define DEFAULT_TITLE_SPEED_OTHER 30 72 #define DEFAULT_SHADOW_PIXEL_OPACITY 64 73 #define DEFAULT_SHADOW_PIXEL_SIZE 2 81 bool _gazerSpawnsInsects;
82 bool _textColorization;
85 bool _peerShowsObjects;
86 bool _u4TileTransparencyHack;
87 int _u4TileTransparencyHackPixelShadowOpacity;
88 int _u4TrileTransparencyHackShadowBreadth;
97 return _enabled == s._enabled;
110 bool _campingAlwaysCombat;
115 bool _filterMoveMessages;
116 int _gameCyclesPerSecond;
117 int _screenAnimationFramesPerSecond;
118 bool _innAlwaysCombat;
125 bool _shortcutCommands;
127 int _spellEffectSpeed;
130 int _titleSpeedRandom;
131 int _titleSpeedOther;
133 int _eventTimerGranularity;
181 #define settings (Settings::getInstance()) Definition: conf_serializer.h:33
Definition: settings.h:147
Definition: detection.h:27
Definition: settings.h:104
Definition: observable.h:45
Definition: settings.h:75
Definition: settings.h:93