reformatted file a bit
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							| @@ -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 | ||||
|   | ||||
| @@ -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}, | ||||
|   | ||||
| @@ -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 | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user