-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathUserconst.d
134 lines (112 loc) · 5.1 KB
/
Userconst.d
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
/***********************************\
READ-ONLY
\***********************************/
// Folgende Konstanten dürfen NICHT verändert, nur verwendet werden.
//========================================
// Anim8
//========================================
// Bewegungsformen
const int A8_Constant = 1;
const int A8_SlowEnd = 2;
const int A8_SlowStart = 3;
const int A8_Wait = 4;
//========================================
// Buttons
//========================================
const int BUTTON_ACTIVE = 1;
const int BUTTON_ENTERED = 2;
//========================================
// Aligns (benutzt in View)
//========================================
const int ALIGN_CENTER = 0;
const int ALIGN_LEFT = 1;
const int ALIGN_RIGHT = 2;
const int ALIGN_TOP = 3;
const int ALIGN_BOTTOM = 4;
//========================================
// Interface
//========================================
// R G B A R G B
const int COL_Aqua = (255<<8) | (255<<0) | (255<<24); //#00FFFF
const int COL_Black = (255<<24); //#000000
const int COL_Blue = (255<<0) | (255<<24); //#0000FF
const int COL_Fuchsia = (255<<16) | (255<<0) | (255<<24); //#FF00FF
const int COL_Gray = (128<<16) | (128<<8) | (128<<0) | (255<<24); //#808080
const int COL_Green = (128<<8) | (255<<24); //#008000
const int COL_Lime = (255<<8) | (255<<24); //#00FF00
const int COL_Maroon = (128<<16) | (255<<24); //#800000
const int COL_Navy = (128<<0) | (255<<24); //#000080
const int COL_Olive = (128<<16) | (128<<8) | (255<<24); //#808000
const int COL_Purple = (128<<16) | (128<<0) | (255<<24); //#800080
const int COL_Red = (255<<16) | (255<<24); //#FF0000
const int COL_Silver = (192<<16) | (192<<8) | (192<<0) | (255<<24); //#C0C0C0
const int COL_Teal = (128<<8) | (128<<0) | (255<<24); //#008080
const int COL_White = (255<<16) | (255<<8) | (255<<0) | (255<<24); //#FFFFFF
const int COL_Yellow = (255<<16) | (255<<8) | (255<<24); //#FFFF00
const int PS_X = 0;
const int PS_Y = 1;
const int PS_VMax = 8192;
//========================================
// Gamestate
//========================================
const int Gamestate_NewGame = 0;
const int Gamestate_Loaded = 1;
const int Gamestate_WorldChange = 2;
const int Gamestate_Saving = 3;
//========================================
// Cursor
//========================================
const int CUR_LeftClick = 0;
const int CUR_RightClick = 1;
const int CUR_MidClick = 2;
const int CUR_WheelUp = 3;
const int CUR_WheelDown = 4;
/***********************************\
MODIFY
\***********************************/
// Folgende Konstanten dienen nicht als Parameter sondern als Vorgaben.
// Sie dürfen frei verändert werden.
//========================================
// Bloodsplats
//========================================
const int BLOODSPLAT_NUM = 15; // Maximale Anzahl auf dem Screen
const int BLOODSPLAT_TEX = 6; // Maximale Anzahl an Texturen ( "BLOODSPLAT" + texID + ".TGA" )
const int BLOODSPLAT_DAM = 7; // Schadensmultiplikator bzgl. der Texturgröße ( damage * 2^BLOODSPLAT_DAM )
//========================================
// Cursor
//========================================
const string Cursor_Texture = "CURSOR.TGA"; // Genutzte Textur, LeGo stellt eine "CURSOR.TGA" bereit
//========================================
// Buffs
//========================================
const int Buffs_DisplayForHero = 1;
//========================================
// Interface
//========================================
const string Print_LineSeperator = "~"; // Sollte man lieber nicht ändern
/* ==== PrintS ==== */
// <<Virtuelle Positionen>>
const int PF_PrintX = 200; // Startposition X
const int PF_PrintY = 5000; // Startposition Y
const int PF_TextHeight = 170; // Abstand zwischen einzelnen Zeilen
// <<Milisekunden>>
const int PF_FadeInTime = 300; // Zeit zum einblenden der Textzeilen
const int PF_FadeOutTime = 1000; // Zeit zum ausblenden der Textzeilen
const int PF_MoveYTime = 300; // Zeit zum verschieben einer Zeile
const int PF_WaitTime = 3000; // Zeit die gewartet wird, bis wieder ausgeblendet wird
const string PF_Font = "FONT_OLD_10_WHITE.TGA"; //Verwendete Schriftart
//========================================
// Talents
//========================================
const int AIV_TALENT = AIV_TALENT_INDEX; // Genutzte AI-Var
//========================================
// Dialoggestures
//========================================
// Die abgespielte Animation kann so beschrieben werden:
// DIAG_Prefix + AniName + DIAG_Suffix + ((rand() % (Max - (Min - 1))) + Min).ToString("00");
const string DIAG_Prefix = "DG_";
const string DIAG_Suffix = "_";
//========================================
// Buffs
//========================================
const int Buff_FadeOut = 1; // Deactivate fade-out by setting this to 0