Mercurial > mm7
diff GUIWindow.h @ 437:0a1ea44b4a0a
ui mesages & spellcasting
author | Nomad |
---|---|
date | Sun, 24 Feb 2013 09:51:42 +0200 |
parents | 137c59c3dbc4 |
children | 5d2667144526 |
line wrap: on
line diff
--- a/GUIWindow.h Sun Feb 24 03:07:03 2013 +0200 +++ b/GUIWindow.h Sun Feb 24 09:51:42 2013 +0200 @@ -196,7 +196,7 @@ UIMSG_SaveGame = 0x53, UIMSG_54 = 0x54, UIMSG_55 = 0x55, - UIMSG_56 = 0x56, + UIMSG_SelectSpell = 0x56, UIMSG_57 = 0x57, UIMSG_58 = 0x58, UIMSG_5A = 0x5A, @@ -373,7 +373,7 @@ - +#define AddMessage(msg, param, a4) AddMessageImpl((msg), (param), (a4), __FILE__, __LINE__) /* 250 */ #pragma pack(push, 1) struct GUIMessageQueue @@ -383,10 +383,13 @@ {} void PopMessage(UIMessageType *pMsg, int *pParam, int *a4); - void SendMessage(UIMessageType msg, int param, unsigned int a4); + void AddMessageImpl(UIMessageType msg, int param, unsigned int a4, const char *file = nullptr, int line = 0); unsigned int uNumMessages; GUIMessage pMessages[40]; + + const char *files[40]; + int lines[40]; }; #pragma pack(pop)