misc/liblua/ldebug.h
author Wuzzy <Wuzzy2@mail.ru>
Thu, 03 May 2018 15:18:28 +0200
changeset 13360 e27540ad33bd
parent 10017 de822cd3df3a
permissions -rw-r--r--
Massive Continental supplies update List of changes: * Invulnerability protects from sabotage damage * Sabotage kills hog instantly when health reaches 0 * Reliably prevent using of Lonely Cries and baseball bat specials when usage not allowed * Don't explode Anno 1302 and Medicine if drowning * Don't play “Missed” and “Laugh” taunt when those don't make sense * Major rewrite of ALL strings for better usability * Add custom weapon tooltips * Major refactoring * Improve audiovisual effects * Show message when hog receives new continent ammo * Sabotaged hedgehogs also emit smoke when it's not their turn * Can switch continent in reverse order with [Precise]+[Switch] * Fix retreat timer not turning red for some weapons
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2812
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
     1
/*
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
     2
** $Id: ldebug.h,v 2.3.1.1 2007/12/27 13:02:25 roberto Exp $
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
     3
** Auxiliary functions from Debug Interface module
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
     4
** See Copyright Notice in lua.h
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
     5
*/
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
     6
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
     7
#ifndef ldebug_h
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
     8
#define ldebug_h
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
     9
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    10
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    11
#include "lstate.h"
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    12
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    13
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 2812
diff changeset
    14
#define pcRel(pc, p)    (cast(int, (pc) - (p)->code) - 1)
2812
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    15
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 2812
diff changeset
    16
#define getline(f,pc)   (((f)->lineinfo) ? (f)->lineinfo[pc] : 0)
2812
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    17
10017
de822cd3df3a fixwhitespace and dos2unix
koda
parents: 2812
diff changeset
    18
#define resethookcount(L)   (L->hookcount = L->basehookcount)
2812
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    19
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    20
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    21
LUAI_FUNC void luaG_typeerror (lua_State *L, const TValue *o,
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    22
                                             const char *opname);
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    23
LUAI_FUNC void luaG_concaterror (lua_State *L, StkId p1, StkId p2);
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    24
LUAI_FUNC void luaG_aritherror (lua_State *L, const TValue *p1,
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    25
                                              const TValue *p2);
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    26
LUAI_FUNC int luaG_ordererror (lua_State *L, const TValue *p1,
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    27
                                             const TValue *p2);
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    28
LUAI_FUNC void luaG_runerror (lua_State *L, const char *fmt, ...);
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    29
LUAI_FUNC void luaG_errormsg (lua_State *L);
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    30
LUAI_FUNC int luaG_checkcode (const Proto *pt);
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    31
LUAI_FUNC int luaG_checkopenop (Instruction i);
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    32
0a24853de796 add liblua to sources for macosx
koda
parents:
diff changeset
    33
#endif