-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.lua
70 lines (43 loc) · 1.51 KB
/
constants.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
TEST_VALUE = 123344334
TEST_GLOBAL = nil
---------- UI PALETTE ------------
COLOR_GREEN = rgbm(0.1, 0.5, 0.1, 0.5)
---------- PATHS ----------
STEEL_STUDIO_FOLDER_NAME = 'steelstudio'
TRACK_PATH = ac.getFolder(ac.FolderID.ContentTracks) .. "\\" .. ac.getTrackID()
TRACK_EXTENSION_PATH = TRACK_PATH .. "\\extension\\"
STEEL_STUDIO_FOLDER_PATH = TRACK_EXTENSION_PATH .. STEEL_STUDIO_FOLDER_NAME
---------- LOGS ------------
LOGS_FILE_NAME = 'steelstudio_logs.txt'
LOGS_FILE_PATH = TRACK_EXTENSION_PATH .. STEEL_STUDIO_FOLDER_NAME .. '\\' .. LOGS_FILE_NAME
---------- THEMES ----------
THEMES_PREFIX = 'theme_'
LOADED_THEMES = {}
CURRENT_THEME = {}
FETCHED_THEMES = false
REQUIRED_THEME_CHANGE = false
---------- LOCATIONS ----------
LOCATIONS_FILE_NAME = 'locations.json'
LOCATIONS_FILE_PATH = TRACK_EXTENSION_PATH .. STEEL_STUDIO_FOLDER_NAME .. '\\' .. LOCATIONS_FILE_NAME
FOUND_LOCATIONS_FILE = nil
LOCATIONS = {}
FETCHED_LOCATIONS = false
INITIALIZED_CARS = false
CARS = {}
SELECTED_CAR = 1
---------- BACKGROUNDS ----------
INITIALIZED_BACKGROUNDS = false
---------- OBJECTS ----------
OBJECTS_FILE_NAME = 'objects.json'
OBJECTS_FILE_PATH = TRACK_EXTENSION_PATH .. STEEL_STUDIO_FOLDER_NAME .. '\\' .. OBJECTS_FILE_NAME
FOUND_OBJECTS_FILE = nil
OBJECTS = {}
FETCHED_OBJECTS = false
---------- AUDIO ----------
INITIALIZED_AUDIO = false
GAME_AUDIO_CHANNELS = ac.AudioChannel
DISABLE_AUDIO = false
AUDIO_VOLUME = {}
INITIAL_AUDIO_VOLUME = {}
ac.debug("Audio Volume", AUDIO_VOLUME)
ac.debug("Disable Audio", DISABLE_AUDIO)