11 |
#endif |
#endif |
12 |
#define _amxconst_included |
#define _amxconst_included |
13 |
|
|
14 |
#define AMXX_VERSION 1.764 |
#include <svn_version> |
|
#define AMXX_VERSION_NUM 176 |
|
|
stock const AMXX_VERSION_STR[]="1.76d"; |
|
15 |
|
|
16 |
#define M_PI 3.1415926535 |
#define M_PI 3.1415926535 |
17 |
|
|
171 |
print_console, |
print_console, |
172 |
print_chat, |
print_chat, |
173 |
print_center, |
print_center, |
174 |
} |
}; |
175 |
|
|
176 |
/* Destination types for engclient_print() */ |
/* Destination types for engclient_print() */ |
177 |
enum { |
enum { |
178 |
engprint_console = 0, |
engprint_console = 0, |
179 |
engprint_center, |
engprint_center, |
180 |
engprint_chat, |
engprint_chat, |
181 |
} |
}; |
182 |
|
|
183 |
/* Render for set_user_rendering() */ |
/* Render for set_user_rendering() */ |
184 |
enum { |
enum { |
188 |
kRenderGlow, /* src*a+dest -- No Z buffer checks */ |
kRenderGlow, /* src*a+dest -- No Z buffer checks */ |
189 |
kRenderTransAlpha, /* src*srca+dest*(1-srca) */ |
kRenderTransAlpha, /* src*srca+dest*(1-srca) */ |
190 |
kRenderTransAdd, /* src*a+dest */ |
kRenderTransAdd, /* src*a+dest */ |
191 |
} |
}; |
192 |
|
|
193 |
/* Fx for set_user_rendering() */ |
/* Fx for set_user_rendering() */ |
194 |
enum { |
enum { |
213 |
kRenderFxExplode, /* Scale up really big! */ |
kRenderFxExplode, /* Scale up really big! */ |
214 |
kRenderFxGlowShell, /* Glowing Shell */ |
kRenderFxGlowShell, /* Glowing Shell */ |
215 |
kRenderFxClampMinScale, /* Keep this sprite from getting very small (SPRITES only!) */ |
kRenderFxClampMinScale, /* Keep this sprite from getting very small (SPRITES only!) */ |
216 |
} |
}; |
217 |
|
|
218 |
/* Type for force_unmodified() */ |
/* Type for force_unmodified() */ |
219 |
enum { |
enum { |
220 |
force_exactfile = 0, /* File on client must exactly match server's file */ |
force_exactfile = 0, /* File on client must exactly match server's file */ |
221 |
force_model_samebounds, /* For model files only, the geometry must fit in the same bbox */ |
force_model_samebounds, /* For model files only, the geometry must fit in the same bbox */ |
222 |
force_model_specifybounds, /* For model files only, the geometry must fit in the specified bbox */ |
force_model_specifybounds, /* For model files only, the geometry must fit in the specified bbox */ |
223 |
} |
}; |
224 |
|
|
225 |
/* Status for get_module() */ |
/* Status for get_module() */ |
226 |
enum { |
enum { |
238 |
#define AMX_FLAG_COMPACT 0x04 /* compact encoding */ |
#define AMX_FLAG_COMPACT 0x04 /* compact encoding */ |
239 |
#define AMX_FLAG_BYTEOPC 0x08 /* opcode is a byte (not a cell) */ |
#define AMX_FLAG_BYTEOPC 0x08 /* opcode is a byte (not a cell) */ |
240 |
#define AMX_FLAG_NOCHECKS 0x10 /* no array bounds checking; no STMT opcode */ |
#define AMX_FLAG_NOCHECKS 0x10 /* no array bounds checking; no STMT opcode */ |
241 |
|
#define AMX_FLAG_OLDFILE 0x20 /* Old AMX Mod plugin */ |
242 |
#define AMX_FLAG_NTVREG 0x1000 /* all native functions are registered */ |
#define AMX_FLAG_NTVREG 0x1000 /* all native functions are registered */ |
243 |
#define AMX_FLAG_JITC 0x2000 /* abstract machine is JIT compiled */ |
#define AMX_FLAG_JITC 0x2000 /* abstract machine is JIT compiled */ |
244 |
#define AMX_FLAG_BROWSE 0x4000 /* busy browsing */ |
#define AMX_FLAG_BROWSE 0x4000 /* busy browsing */ |
281 |
#define FORWARD_ONLY_NEW 2 |
#define FORWARD_ONLY_NEW 2 |
282 |
#define FORWARD_ALL 3 |
#define FORWARD_ALL 3 |
283 |
|
|
|
#define MEXIT_ALL 1 |
|
|
#define MEXIT_NORMAL 0 |
|
|
#define MEXIT_NEVER -1 |
|
|
|
|
|
#define MENUPAD_NONE 0 //no padding (default) |
|
|
#define MENUPAD_PAGE 1 //pads based on items per page |
|
|
|
|
|
#define MPROP_PERPAGE 1 //NUM - items per page. 0=no paginating, 7=default |
|
|
#define MPROP_BACKNAME 2 //STRING - name of "back" button |
|
|
#define MPROP_NEXTNAME 3 //STRING - name of "more" button |
|
|
#define MPROP_EXITNAME 4 //STRING - name of "exit" button |
|
|
#define MPROP_TITLE 5 //STRING - sets menu title |
|
|
#define MPROP_EXIT 6 //NUM - sets how "Exit" appears on the menu |
|
|
#define MPROP_ORDER 7 //Sets the back/next/exit order |
|
|
//Send an 3-cell array with MENU_EXIT etc in the order |
|
|
//(from 0-2), 0 being first |
|
|
#define MPROP_NOCOLORS 8 //NUM - sets whether colors are not auto (0=default) |
|
|
#define MPROP_PADMENU 9 //NUM - sets how the ending portions of a menu are padded |
|
|
//i.e. 2 items, 7 per page, with endings at slots 5/6/7. |
|
|
|
|
284 |
#define SND_SPAWNING (1<<8) // we're spawing, used in some cases for ambients |
#define SND_SPAWNING (1<<8) // we're spawing, used in some cases for ambients |
285 |
#define SND_STOP (1<<5) // stop sound |
#define SND_STOP (1<<5) // stop sound |
286 |
#define SND_CHANGE_VOL (1<<6) // change sound vol |
#define SND_CHANGE_VOL (1<<6) // change sound vol |
291 |
LibType_Library, |
LibType_Library, |
292 |
LibType_Class |
LibType_Class |
293 |
}; |
}; |
294 |
|
|
295 |
|
enum AdminProp |
296 |
|
{ |
297 |
|
AdminProp_Auth = 0, |
298 |
|
AdminProp_Password, |
299 |
|
AdminProp_Access, |
300 |
|
AdminProp_Flags |
301 |
|
}; |