aboutsummaryrefslogtreecommitdiff
path: root/advtrains_train_subway/textures/advtrains_subway_wagon.png
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2017-11-24 12:06:46 +0100
committerorwell96 <orwell@bleipb.de>2017-11-24 12:06:46 +0100
commit3d29635a8ff605459dfbf9a95e988bd0e31cc94d (patch)
tree01b206d75320f011e524cdde67dd1de8ebc2a3f5 /advtrains_train_subway/textures/advtrains_subway_wagon.png
parentd78d07589d31db62167eafafb36b9e8c0468c6d1 (diff)
downloadadvtrains-3d29635a8ff605459dfbf9a95e988bd0e31cc94d.tar.gz
advtrains-3d29635a8ff605459dfbf9a95e988bd0e31cc94d.tar.bz2
advtrains-3d29635a8ff605459dfbf9a95e988bd0e31cc94d.zip
Correct yaw to preferred rail direction calculation
Diffstat (limited to 'advtrains_train_subway/textures/advtrains_subway_wagon.png')
0 files changed, 0 insertions, 0 deletions
154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169
/*
** $Id: lstate.h,v 2.24.1.2 2008/01/03 15:20:39 roberto Exp $
** Global State
** See Copyright Notice in lua.h
*/

#ifndef lstate_h
#define lstate_h

#include "lua.h"

#include "lobject.h"
#include "ltm.h"
#include "lzio.h"



struct lua_longjmp;  /* defined in ldo.c */


/* table of globals */
#define gt(L)	(&L->l_gt)

/* registry */
#define registry(L)	(&G(L)->l_registry)


/* extra stack space to handle TM calls and some other extras */
#define EXTRA_STACK   5


#define BASIC_CI_SIZE           8

#define BASIC_STACK_SIZE        (2*LUA_MINSTACK)



typedef struct stringtable {
  GCObject **hash;
  lu_int32 nuse;  /* number of elements */
  int size;
} stringtable;


/*
** informations about a call
*/
typedef struct CallInfo {
  StkId base;  /* base for this function */
  StkId func;  /* function index in the stack */
  StkId	top;  /* top for this function */
  const Instruction *savedpc;
  int nresults;  /* expected number of results from this function */
  int tailcalls;  /* number of tail calls lost under this entry */
} CallInfo;



#define curr_func(L)	(clvalue(L->ci->func))