ScummVM API documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
room_version.h
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 modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (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, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 //=============================================================================
23 //
24 // Room version constants and information
25 //
26 //=============================================================================
27 
28 #ifndef AGS_SHARED_GAME_ROOM_VERSION_H
29 #define AGS_SHARED_GAME_ROOM_VERSION_H
30 
31 namespace AGS3 {
32 
33 /* room file versions history
34 8: final v1.14 release
35 9: intermediate v2 alpha releases
36 10: v2 alpha-7 release
37 11: final v2.00 release
38 12: v2.08, to add colour depth byte
39 13: v2.14, add walkarea light levels
40 14: v2.4, fixed so it saves walkable area 15
41 15: v2.41, supports NewInteraction
42 16: v2.5
43 17: v2.5 - just version change to force room re-compile for new charctr struct
44 18: v2.51 - vector scaling
45 19: v2.53 - interaction variables
46 20: v2.55 - shared palette backgrounds
47 21: v2.55 - regions
48 22: v2.61 - encrypt room messages
49 23: v2.62 - object flags
50 24: v2.7 - hotspot script names
51 25: v2.72 - game id embedded
52 26: v3.0 - new interaction format, and no script source
53 27: v3.0 - store Y of bottom of object, not top
54 28: v3.0.3 - remove hotspot name length limit
55 29: v3.0.3 - high-res coords for object x/y, edges and hotspot walk-to point
56 30: v3.4.0.4 - tint luminance for regions
57 31: v3.4.1.5 - removed room object and hotspot name length limits
58 32: v3.5.0 - 64-bit file offsets
59 33: v3.5.0.8 - deprecated room resolution, added mask resolution
60 Since then format value is defined as AGS version represented as NN,NN,NN,NN.
61 */
62 enum RoomFileVersion {
63  kRoomVersion_Undefined = 0,
64  kRoomVersion_pre114_3 = 3, // exact version unknown
65  kRoomVersion_pre114_4 = 4, // exact version unknown
66  kRoomVersion_pre114_5 = 5, // exact version unknown
67  kRoomVersion_pre114_6 = 6, // exact version unknown
68  kRoomVersion_114 = 8,
69  kRoomVersion_200_alpha = 9,
70  kRoomVersion_200_alpha7 = 10,
71  kRoomVersion_200_final = 11,
72  kRoomVersion_208 = 12,
73  kRoomVersion_214 = 13,
74  kRoomVersion_240 = 14,
75  kRoomVersion_241 = 15,
76  kRoomVersion_250a = 16,
77  kRoomVersion_250b = 17,
78  kRoomVersion_251 = 18,
79  kRoomVersion_253 = 19,
80  kRoomVersion_255a = 20,
81  kRoomVersion_255b = 21,
82  kRoomVersion_261 = 22,
83  kRoomVersion_262 = 23,
84  kRoomVersion_270 = 24,
85  kRoomVersion_272 = 25,
86  kRoomVersion_300a = 26,
87  kRoomVersion_300b = 27,
88  kRoomVersion_303a = 28,
89  kRoomVersion_303b = 29,
90  kRoomVersion_3404 = 30,
91  kRoomVersion_3415 = 31,
92  kRoomVersion_350 = 32,
93  kRoomVersion_3508 = 33,
94  kRoomVersion_Current = kRoomVersion_3508
95 };
96 
97 } // namespace AGS3
98 
99 #endif
Definition: ags.h:40