annotate Autonotes.h @ 1207:96a81634669e

arrays to std::arrays phase 3 - finishing global arrays undone changes in render.h, because framerate dropped by half
author Grumpy7
date Sun, 09 Jun 2013 01:30:36 +0200
parents 0dbf6c4dd029
children 0665a061132b
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
1202
0dbf6c4dd029 arrays to std::arrays phase 1
Grumpy7
parents: 981
diff changeset
2 #include <array>
0
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4
Ritor1
parents:
diff changeset
5
Ritor1
parents:
diff changeset
6 /* 351 */
Ritor1
parents:
diff changeset
7 enum AUTONOTE_TYPE : __int32
Ritor1
parents:
diff changeset
8 {
981
a6ef7125f6e4 Autonotes & GameState
Nomad
parents: 33
diff changeset
9 AUTONOTE_POTION_RECEPIE = 0,
a6ef7125f6e4 Autonotes & GameState
Nomad
parents: 33
diff changeset
10 AUTONOTE_STAT_HINT = 1,
a6ef7125f6e4 Autonotes & GameState
Nomad
parents: 33
diff changeset
11 AUTONOTE_OBELISK = 2,
a6ef7125f6e4 Autonotes & GameState
Nomad
parents: 33
diff changeset
12 AUTONOTE_SEER = 3,
a6ef7125f6e4 Autonotes & GameState
Nomad
parents: 33
diff changeset
13 AUTONOTE_MISC = 4,
a6ef7125f6e4 Autonotes & GameState
Nomad
parents: 33
diff changeset
14 AUTONOTE_TEACHER = 5,
0
Ritor1
parents:
diff changeset
15 };
Ritor1
parents:
diff changeset
16
Ritor1
parents:
diff changeset
17 /* 350 */
Ritor1
parents:
diff changeset
18 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
19 struct Autonote
Ritor1
parents:
diff changeset
20 {
981
a6ef7125f6e4 Autonotes & GameState
Nomad
parents: 33
diff changeset
21 const char *pText;
a6ef7125f6e4 Autonotes & GameState
Nomad
parents: 33
diff changeset
22 AUTONOTE_TYPE eType;
0
Ritor1
parents:
diff changeset
23 };
Ritor1
parents:
diff changeset
24 #pragma pack(pop)
1202
0dbf6c4dd029 arrays to std::arrays phase 1
Grumpy7
parents: 981
diff changeset
25 extern std::array<Autonote, 195> pAutonoteTxt; // weak