mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-28 03:12:28 +00:00
petitions.cpp #include cleanup
petititons.h #include cleanup
This commit is contained in:
parent
6d52f3c02a
commit
88984a3960
@ -16,10 +16,6 @@ Copyright (C) 2001-2002 EQEMu Development Team (http://eqemu.org)
|
|||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
#include "../common/debug.h"
|
#include "../common/debug.h"
|
||||||
#include <stdlib.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdarg.h>
|
|
||||||
#include <ctype.h>
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#ifdef _WINDOWS
|
#ifdef _WINDOWS
|
||||||
#include <process.h>
|
#include <process.h>
|
||||||
@ -32,16 +28,12 @@ Copyright (C) 2001-2002 EQEMu Development Team (http://eqemu.org)
|
|||||||
#define strncasecmp _strnicmp
|
#define strncasecmp _strnicmp
|
||||||
#define strcasecmp _stricmp
|
#define strcasecmp _stricmp
|
||||||
#endif
|
#endif
|
||||||
#include "../common/string_util.h"
|
|
||||||
#include "../common/packet_functions.h"
|
|
||||||
#include "../common/packet_dump.h"
|
|
||||||
#include "../common/packet_dump_file.h"
|
|
||||||
#include "../common/emu_opcodes.h"
|
|
||||||
#include "../common/eq_packet_structs.h"
|
#include "../common/eq_packet_structs.h"
|
||||||
#include "../common/servertalk.h"
|
#include "../common/servertalk.h"
|
||||||
|
#include "../common/string_util.h"
|
||||||
#include "entity.h"
|
#include "entity.h"
|
||||||
#include "masterentity.h"
|
|
||||||
|
|
||||||
#include "petitions.h"
|
#include "petitions.h"
|
||||||
#include "worldserver.h"
|
#include "worldserver.h"
|
||||||
|
|
||||||
@ -49,7 +41,6 @@ PetitionList petition_list;
|
|||||||
|
|
||||||
extern WorldServer worldserver;
|
extern WorldServer worldserver;
|
||||||
|
|
||||||
|
|
||||||
void Petition::SendPetitionToPlayer(Client* clientto) {
|
void Petition::SendPetitionToPlayer(Client* clientto) {
|
||||||
EQApplicationPacket* outapp = new EQApplicationPacket(OP_PetitionCheckout,sizeof(Petition_Struct));
|
EQApplicationPacket* outapp = new EQApplicationPacket(OP_PetitionCheckout,sizeof(Petition_Struct));
|
||||||
Petition_Struct* pet = (Petition_Struct*) outapp->pBuffer;
|
Petition_Struct* pet = (Petition_Struct*) outapp->pBuffer;
|
||||||
|
|||||||
@ -19,11 +19,13 @@
|
|||||||
#define PETITIONS_H
|
#define PETITIONS_H
|
||||||
|
|
||||||
#include "../common/linked_list.h"
|
#include "../common/linked_list.h"
|
||||||
#include "../common/types.h"
|
|
||||||
#include "zonedb.h"
|
|
||||||
#include "client.h"
|
|
||||||
#include "../common/mutex.h"
|
|
||||||
#include "../common/misc_functions.h"
|
#include "../common/misc_functions.h"
|
||||||
|
#include "../common/mutex.h"
|
||||||
|
#include "../common/types.h"
|
||||||
|
#include "client.h"
|
||||||
|
#include "zonedb.h"
|
||||||
|
|
||||||
|
class Client;
|
||||||
|
|
||||||
class Petition
|
class Petition
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user