Minor fixes...

git-svn-id: https://svn.eduke32.com/eduke32@297 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2006-09-20 07:23:25 +00:00
parent 4f021f4736
commit ac7ca6aa75
3 changed files with 5 additions and 6 deletions

View file

@ -6,7 +6,7 @@
# ifdef _WIN32
# define PR_CALLBACK __stdcall
# else
# defube PR_CALLBACK
# define PR_CALLBACK
# endif
# include "compat.h"

View file

@ -9876,8 +9876,6 @@ void fakedomovethings(void)
syn = (input *)&inputfifo[fakemovefifoplc&(MOVEFIFOSIZ-1)][myconnectindex];
OnEvent(EVENT_FAKEDOMOVETHINGS, ps[myconnectindex].i, myconnectindex, -1);
p = &ps[myconnectindex];
backcstat = sprite[p->i].cstat;
@ -10292,9 +10290,10 @@ FAKEHORIZONLY:
myreturntocenter = 9;
}
ENDFAKEPROCESSINPUT:
OnEvent(EVENT_FAKEDOMOVETHINGS, ps[myconnectindex].i, myconnectindex, -1);
myxbak[fakemovefifoplc&(MOVEFIFOSIZ-1)] = myx;
myybak[fakemovefifoplc&(MOVEFIFOSIZ-1)] = myy;
myzbak[fakemovefifoplc&(MOVEFIFOSIZ-1)] = myz;

View file

@ -31,13 +31,13 @@ static char compilefile[BMAX_PATH] = "(none)"; // file we're currently compilin
static char parsing_item_name[MAXVARLABEL] = "(none)", previous_item_name[MAXVARLABEL] = "NULL";
static short total_lines,line_number;
static char checking_ifelse,parsing_state;
static short checking_ifelse,parsing_state;
char g_szBuf[1024];
long *casescriptptr=NULL; // the pointer to the start of the case table in a switch statement
// first entry is 'default' code.
int casecount = 0;
signed char checking_switch = 0, current_event = -1;
signed short checking_switch = 0, current_event = -1;
char labelsonly = 0, nokeywordcheck = 0, dynamicremap = 0;
static short num_braces = 0; // init to some sensible defaults