Planeshift
globals.h
Go to the documentation of this file.
1
/*
2
* globals.h
3
*
4
* Copyright (C) 2001 Atomic Blue (info@planeshift.it, http://www.atomicblue.org)
5
*
6
*
7
* This program is free software; you can redistribute it and/or
8
* modify it under the terms of the GNU General Public License
9
* as published by the Free Software Foundation (version 2 of the License)
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
*
18
*/
19
20
/* This file holds definitions for ALL global variables in the planeshift
21
* server, normally you should move global variables into the psServer class
22
*/
23
#ifndef __GLOBALS_H__
24
#define __GLOBALS_H__
25
26
#include "
psserver.h
"
27
#include <idal.h>
28
29
class
NPCDialogDict
;
30
31
extern
psServer
*
psserver
;
32
extern
iDataConnection*
db
;
33
extern
NPCDialogDict
*
dict
;
// Defined in dictionary.cpp
34
35
#endif
36
NPCDialogDict
Definition:
dictionary.h:74
psServer
The main server class.
Definition:
psserver.h:102
db
iDataConnection * db
Global connection to the Database. Set from the psDatabase class.
psserver.h
dict
NPCDialogDict * dict
psserver
psServer * psserver
server
globals.h
Generated on Sat Jun 19 2021 05:00:22 for Planeshift by
1.8.11