diff options
| author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-30 20:30:17 +0000 | 
|---|---|---|
| committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2005-08-30 20:30:17 +0000 | 
| commit | c3f255e38a077ac61bed4e2a1cec41ea05ca26a0 (patch) | |
| tree | 5f95d0afa9208cf2e964565b7065d3f014a553c2 /code/client | |
| parent | cb550ebf221dbdf9d341b3f69b132088eb827304 (diff) | |
| download | ioquake3-aero-c3f255e38a077ac61bed4e2a1cec41ea05ca26a0.tar.gz ioquake3-aero-c3f255e38a077ac61bed4e2a1cec41ea05ca26a0.zip  | |
support for 64bit native mods
git-svn-id: svn://svn.icculus.org/quake3/trunk@34 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/client')
| -rw-r--r-- | code/client/cl_cgame.c | 4 | ||||
| -rw-r--r-- | code/client/cl_ui.c | 6 | 
2 files changed, 2 insertions, 8 deletions
diff --git a/code/client/cl_cgame.c b/code/client/cl_cgame.c index c2f6df7..b6c0855 100644 --- a/code/client/cl_cgame.c +++ b/code/client/cl_cgame.c @@ -412,9 +412,7 @@ CL_CgameSystemCalls  The cgame module is making a system call  ====================  */ -#define	VMA(x) VM_ArgPtr(args[x]) -#define	VMF(x)	((float *)args)[x] -int CL_CgameSystemCalls( int *args ) { +long CL_CgameSystemCalls( long *args ) {  	switch( args[0] ) {  	case CG_PRINT:  		Com_Printf( "%s", VMA(1) ); diff --git a/code/client/cl_ui.c b/code/client/cl_ui.c index 66e6265..d1fdd37 100644 --- a/code/client/cl_ui.c +++ b/code/client/cl_ui.c @@ -757,10 +757,6 @@ static int FloatAsInt( float f ) {  	return temp;  } -void *VM_ArgPtr( int intValue ); -#define	VMA(x) VM_ArgPtr(args[x]) -#define	VMF(x)	((float *)args)[x] -  /*  ====================  CL_UISystemCalls @@ -768,7 +764,7 @@ CL_UISystemCalls  The ui module is making a system call  ====================  */ -int CL_UISystemCalls( int *args ) { +long CL_UISystemCalls( long *args ) {  	switch( args[0] ) {  	case UI_ERROR:  		Com_Error( ERR_DROP, "%s", VMA(1) );  | 
