support for 64bit native mods
This commit is contained in:
1 parent
334fa9c48c
commit
88171d6bb7
14 files changed
+50
-51
No files matched your search
@@ -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) );
|
||||
|
||||
+1
-5
@@ -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) );
|
||||
|
||||
Reference in new issue
Block a user