reformatted file a bit

This commit is contained in:
David Anderson 2006-02-14 16:57:44 +00:00
parent f1a4cfee61
commit 13360bec73
4 changed files with 203 additions and 217 deletions

Binary file not shown.

View File

@ -6,7 +6,7 @@ MM_ROOT = ../metamod/metamod
### EDIT BELOW FOR OTHER PROJECTS ###
OPT_FLAGS = -O2 -funroll-loops -s -pipe
OPT_FLAGS = -O2 -funroll-loops -s -fomit-frame-pointer -pipe
DEBUG_FLAGS = -g -ggdb3
CPP = gcc
NAME = amxmodx_mm

View File

@ -3602,15 +3602,6 @@ static cell AMX_NATIVE_CALL amx_abort(AMX *amx, cell *params)
return 1;
}
static cell AMX_NATIVE_CALL get_tick_count(AMX *amx, cell *params)
{
#if defined WIN32
return GetTickCount();
#else
return 0;
#endif
}
static cell AMX_NATIVE_CALL module_exists(AMX *amx, cell *params)
{
int len;
@ -3844,7 +3835,6 @@ AMX_NATIVE_INFO amxmodx_Natives[] =
{"get_systime", get_systime},
{"get_time", get_time},
{"get_timeleft", get_timeleft},
{"get_tick_count", get_tick_count},
{"get_user_aiming", get_user_aiming},
{"get_user_ammo", get_user_ammo},
{"get_user_armor", get_user_armor},

View File

@ -75,7 +75,7 @@ format_parameter:
lea ebx, [g_chartbl]
;start looping
.fmtloop
mov edx, [ebx+eax*4];get char flag
mov edx, [ebx+eax*4] ;get char flag
test edx, edx ;is it zero?
jnz .fmtdone ;yes, we've got a format code
test ecx, ecx ;are we over maxlen?
@ -311,8 +311,8 @@ _do_amx_format:
.next
mov al, [esi]
test al, al
jz .done
jmp .loop
jnz .loop
jmp .done
;we got a '^'
.esc:
@ -416,7 +416,3 @@ section .data
;end