annotate Engine/Autonotes.h @ 2553:48708da03b7f

Party Creation UI logic separated from MainMenu
author a.parshin
date Wed, 13 May 2015 02:20:05 +0200
parents 68cdef6879a0
children
rev   line source
2499
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
1 #pragma once
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
2 #include <array>
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
3
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
4
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
5
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
6 /* 351 */
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
7 enum AUTONOTE_TYPE : __int32
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
8 {
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
9 AUTONOTE_POTION_RECEPIE = 0,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
10 AUTONOTE_STAT_HINT = 1,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
11 AUTONOTE_OBELISK = 2,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
12 AUTONOTE_SEER = 3,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
13 AUTONOTE_MISC = 4,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
14 AUTONOTE_TEACHER = 5,
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
15 };
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
16
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
17 /* 350 */
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
18 #pragma pack(push, 1)
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
19 struct Autonote
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
20 {
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
21 const char *pText;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
22 AUTONOTE_TYPE eType;
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
23 };
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
24 #pragma pack(pop)
68cdef6879a0 engine folder
Ritor1
parents:
diff changeset
25 extern std::array<Autonote, 196> pAutonoteTxt; // weak