1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU General Public License
9  * as published by the Free Software Foundation; either version 2
10  * of the License, or (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20  *
21  */
22 
23 //=============================================================================
24 //
25 // Game version constants and information
26 //
27 //=============================================================================
28 
29 #ifndef AGS_SHARED_AC_GAME_VERSION_H
30 #define AGS_SHARED_AC_GAME_VERSION_H
31 
32 namespace AGS3 {
33 
34 /*
35 
36 Game data versions and changes:
37 -------------------------------
38 
39 12 : 2.3 + 2.4
40 
41 Versions above are incompatible at the moment.
42 
43 18 : 2.5.0
44 19 : 2.5.1 + 2.52
45 20 : 2.5.3
46 
47 Lip sync data added.
48 21 : 2.5.4
49 22 : 2.5.5
50 
51 Variable number of sprites.
52 24 : 2.5.6
53 25 : 2.6.0
54 
55 Encrypted global messages and dialogs.
56 26 : 2.6.1
57 
58 Wait() must be called with parameter > 0
59 GetRegionAt() clips the input values to the screen size
60 Color 0 now means transparent instead of black for text windows
61 SetPlayerCharacter() does nothing if the new character is already the player character.
62 27 : 2.6.2
63 
64 Script modules. Fixes bug in the inventory display.
65 Clickable GUI is selected with regard for the drawing order.
66 Pointer to the "player" variable is now accessed via a dynamic object.
67 31 : 2.7.0
68 32 : 2.7.2
69 
70 35 : 3.0.0
71 
72 Room names are serialized when game is compiled in "debug" mode.
73 36 : 3.0.1
74 
75 Interactions are now scripts. The number for "not set" changed from 0 to -1 for
76 a lot of variables (views, sounds).
77 Deprecated switch between low-res and high-res native coordinates.
78 37 : 3.1.0
79 
80 Dialogs are now scripts. New character animation speed.
81 39 : 3.1.1
82 
83 Individual character speech animation speed.
84 40 : 3.1.2
85 
86 Audio clips
87 41 : 3.2.0
88 42 : 3.2.1
89 
90 43 : 3.3.0
91 Added few more game options.
92 
93 44 : 3.3.1
94 Added custom dialog option highlight colour.
95 
96 45 : 3.4.0.1
97 Support for custom game resolution.
98 
99 46 : 3.4.0.2-.3
100 Audio playback speed.
101 Custom dialog option rendering extension.
102 
103 47 : 3.4.0.4
104 Custom properties changed at runtime.
105 Ambient lighting
106 
107 48 : 3.4.1
108 OPT_RENDERATSCREENRES, extended engine caps check, font vertical offset.
109 
110 49 : 3.4.1.2
111 Font custom line spacing.
112 
113 50 : 3.5.0.8
114 Sprites have "real" resolution. Expanded FontInfo data format.
115 Option to allow legacy relative asset resolutions.
116 
117 */
118 
119 enum GameDataVersion {
120 	kGameVersion_Undefined = 0,
121 	kGameVersion_230 = 12,
122 	kGameVersion_240 = 12,
123 	kGameVersion_250 = 18,
124 	kGameVersion_251 = 19, // same as 2.52
125 	kGameVersion_253 = 20,
126 	kGameVersion_254 = 21,
127 	kGameVersion_255 = 22,
128 	kGameVersion_256 = 24,
129 	kGameVersion_260 = 25,
130 	kGameVersion_261 = 26,
131 	kGameVersion_262 = 27,
132 	kGameVersion_270 = 31,
133 	kGameVersion_272 = 32,
134 	kGameVersion_300 = 35,
135 	kGameVersion_301 = 36,
136 	kGameVersion_310 = 37,
137 	kGameVersion_311 = 39,
138 	kGameVersion_312 = 40,
139 	kGameVersion_320 = 41,
140 	kGameVersion_321 = 42,
141 	kGameVersion_330 = 43,
142 	kGameVersion_331 = 44,
143 	kGameVersion_340_1 = 45,
144 	kGameVersion_340_2 = 46,
145 	kGameVersion_340_4 = 47,
146 	kGameVersion_341 = 48,
147 	kGameVersion_341_2 = 49,
148 	kGameVersion_350 = 50,
149 	kGameVersion_Current = kGameVersion_350
150 };
151 
152 } // namespace AGS3
153 
154 #endif
155