mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-02-03 09:10:35 +03:00
reformatted file a bit
This commit is contained in:
parent
f1a4cfee61
commit
13360bec73
Binary file not shown.
@ -6,7 +6,7 @@ MM_ROOT = ../metamod/metamod
|
|||||||
|
|
||||||
### EDIT BELOW FOR OTHER PROJECTS ###
|
### 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
|
DEBUG_FLAGS = -g -ggdb3
|
||||||
CPP = gcc
|
CPP = gcc
|
||||||
NAME = amxmodx_mm
|
NAME = amxmodx_mm
|
||||||
|
@ -3602,15 +3602,6 @@ static cell AMX_NATIVE_CALL amx_abort(AMX *amx, cell *params)
|
|||||||
return 1;
|
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)
|
static cell AMX_NATIVE_CALL module_exists(AMX *amx, cell *params)
|
||||||
{
|
{
|
||||||
int len;
|
int len;
|
||||||
@ -3844,7 +3835,6 @@ AMX_NATIVE_INFO amxmodx_Natives[] =
|
|||||||
{"get_systime", get_systime},
|
{"get_systime", get_systime},
|
||||||
{"get_time", get_time},
|
{"get_time", get_time},
|
||||||
{"get_timeleft", get_timeleft},
|
{"get_timeleft", get_timeleft},
|
||||||
{"get_tick_count", get_tick_count},
|
|
||||||
{"get_user_aiming", get_user_aiming},
|
{"get_user_aiming", get_user_aiming},
|
||||||
{"get_user_ammo", get_user_ammo},
|
{"get_user_ammo", get_user_ammo},
|
||||||
{"get_user_armor", get_user_armor},
|
{"get_user_armor", get_user_armor},
|
||||||
|
@ -75,7 +75,7 @@ format_parameter:
|
|||||||
lea ebx, [g_chartbl]
|
lea ebx, [g_chartbl]
|
||||||
;start looping
|
;start looping
|
||||||
.fmtloop
|
.fmtloop
|
||||||
mov edx, [ebx+eax*4];get char flag
|
mov edx, [ebx+eax*4] ;get char flag
|
||||||
test edx, edx ;is it zero?
|
test edx, edx ;is it zero?
|
||||||
jnz .fmtdone ;yes, we've got a format code
|
jnz .fmtdone ;yes, we've got a format code
|
||||||
test ecx, ecx ;are we over maxlen?
|
test ecx, ecx ;are we over maxlen?
|
||||||
@ -311,8 +311,8 @@ _do_amx_format:
|
|||||||
.next
|
.next
|
||||||
mov al, [esi]
|
mov al, [esi]
|
||||||
test al, al
|
test al, al
|
||||||
jz .done
|
jnz .loop
|
||||||
jmp .loop
|
jmp .done
|
||||||
|
|
||||||
;we got a '^'
|
;we got a '^'
|
||||||
.esc:
|
.esc:
|
||||||
@ -416,7 +416,3 @@ section .data
|
|||||||
|
|
||||||
;end
|
;end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user