mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[saco] Implement radar color functions
This commit is contained in:
parent
27cbd475c5
commit
3c409b1db0
@ -1,5 +1,6 @@
|
||||
|
||||
#include "../main.h"
|
||||
#include "util.h"
|
||||
#include "keystuff.h"
|
||||
#include "aimstuff.h"
|
||||
|
||||
@ -37,5 +38,8 @@ void CGame::InitGame()
|
||||
|
||||
// Init the aim stuff.
|
||||
GameAimSyncInit();
|
||||
|
||||
// Init radar colors
|
||||
GameResetRadarColors();
|
||||
}
|
||||
|
||||
|
1034
saco/game/util.cpp
Normal file
1034
saco/game/util.cpp
Normal file
File diff suppressed because it is too large
Load Diff
8
saco/game/util.h
Normal file
8
saco/game/util.h
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
void __stdcall SetRadarColor(int nIndex,DWORD dwColor);
|
||||
|
||||
DWORD __stdcall TranslateColorCodeToRGBA(int iCode);
|
||||
|
||||
void GameResetRadarColors();
|
Loading…
Reference in New Issue
Block a user