Mercurial > mm7
diff Arcomage.cpp @ 1401:3161094869e0
Слияние
author | Ritor1 |
---|---|
date | Fri, 19 Jul 2013 12:50:44 +0600 |
parents | 28f87f5234a1 |
children | 934074e7fcc1 ff2118028c71 |
line wrap: on
line diff
--- a/Arcomage.cpp Fri Jul 19 12:50:29 2013 +0600 +++ b/Arcomage.cpp Fri Jul 19 12:50:44 2013 +0600 @@ -68,6 +68,12 @@ int rand_interval(int min, int max); // idb void __fastcall intToString(int val, char *pOut); +//----- (0040DEDB) -------------------------------------------------------- +unsigned int R8G8B8_to_TargetFormat(int uColor) +{ + return TargetColor(LOBYTE(uColor), BYTE1(uColor), BYTE2(uColor)); +} + /* 388 */ #pragma pack(push, 1) struct ArcomageStartConditions