Pol  Revision:cb584c9
clfunc.h
Go to the documentation of this file.
1 // History
2 
3 #ifndef __CLFUNC_H
4 #define __CLFUNC_H
5 
6 
7 // this is for nullptrs found..
8 #include <cstddef>
9 
10 #include "../clib/rawtypes.h"
11 #include "network/packets.h"
12 #include "uconst.h"
13 
14 namespace Pol
15 {
16 namespace Network
17 {
18 class Client;
19 }
20 namespace Mobile
21 {
22 class Character;
23 }
24 namespace Core
25 {
26 class UObject;
27 
28 void send_sysmessage_cl( Network::Client* client, // System message (lower left corner)
29  // Character *chr_from,
30  unsigned int cliloc_num, const u16* arguments = 0,
31  unsigned short font = DEFAULT_TEXT_FONT,
32  unsigned short color = DEFAULT_TEXT_COLOR );
33 
34 void say_above_cl( UObject* obj, unsigned int cliloc_num, const u16* arguments = 0,
35  unsigned short font = DEFAULT_TEXT_FONT,
36  unsigned short color = DEFAULT_TEXT_COLOR );
37 
38 void private_say_above_cl( Mobile::Character* chr, const UObject* obj, unsigned int cliloc_num,
39  const u16* arguments = 0, unsigned short font = DEFAULT_TEXT_FONT,
40  unsigned short color = DEFAULT_TEXT_COLOR );
41 
42 void send_sysmessage_cl_affix( Network::Client* client, unsigned int cliloc_num, const char* affix,
43  bool prepend = false, const u16* arguments = 0,
44  unsigned short font = DEFAULT_TEXT_COLOR,
45  unsigned short color = DEFAULT_TEXT_COLOR );
46 void say_above_cl_affix( UObject* obj, unsigned int cliloc_num, const char* affix,
47  bool prepend = false, const u16* arguments = 0,
48  unsigned short font = DEFAULT_TEXT_FONT,
49  unsigned short color = DEFAULT_TEXT_COLOR );
50 
51 void private_say_above_cl_affix( Mobile::Character* chr, const UObject* obj,
52  unsigned int cliloc_num, const char* affix, bool prepend = false,
53  const u16* arguments = 0, unsigned short font = DEFAULT_TEXT_FONT,
54  unsigned short color = DEFAULT_TEXT_COLOR );
55 
56 void build_sysmessage_cl( Network::PktOut_C1* msg, unsigned int cliloc_num,
57  const u16* arguments = 0, unsigned short font = DEFAULT_TEXT_FONT,
58  unsigned short color = DEFAULT_TEXT_COLOR );
59 void build_sysmessage_cl_affix( Network::PktOut_CC* msg, unsigned int cliloc_num, const char* affix,
60  bool prepend, const u16* arguments = 0,
61  unsigned short font = DEFAULT_TEXT_FONT,
62  unsigned short color = DEFAULT_TEXT_COLOR );
63 }
64 }
65 #endif
void private_say_above_cl_affix(Mobile::Character *chr, const UObject *obj, unsigned int cliloc_num, const char *affix, bool prepend, const u16 *arguments, unsigned short font, unsigned short color)
Definition: clfunc.cpp:207
void build_sysmessage_cl_affix(PktOut_CC *msg, unsigned int cliloc_num, const char *affix, bool prepend, const u16 *arguments, unsigned short font, unsigned short color)
Definition: clfunc.cpp:279
void send_sysmessage_cl(Client *client, unsigned int cliloc_num, const u16 *arguments, unsigned short font, unsigned short color)
Definition: clfunc.cpp:26
const unsigned short DEFAULT_TEXT_COLOR
Definition: uconst.h:97
const unsigned short DEFAULT_TEXT_FONT
Definition: uconst.h:96
unsigned short u16
Definition: rawtypes.h:26
void build_sysmessage_cl(PktOut_C1 *msg, unsigned int cliloc_num, const u16 *arguments, unsigned short font, unsigned short color)
Definition: clfunc.cpp:247
void say_above_cl_affix(UObject *obj, unsigned int cliloc_num, const char *affix, bool prepend, const u16 *arguments, unsigned short font, unsigned short color)
Definition: clfunc.cpp:167
void send_sysmessage_cl_affix(Client *client, unsigned int cliloc_num, const char *affix, bool prepend, const u16 *arguments, unsigned short font, unsigned short color)
Definition: clfunc.cpp:128
void say_above_cl(UObject *obj, unsigned int cliloc_num, const u16 *arguments, unsigned short font, unsigned short color)
Definition: clfunc.cpp:60
void private_say_above_cl(Mobile::Character *chr, const UObject *obj, unsigned int cliloc_num, const u16 *arguments, unsigned short font, unsigned short color)
Definition: clfunc.cpp:94
Definition: berror.cpp:12