fd320767c5
The server's changes were easy. The clients means that the constructors for each scene have one less argument, and each scene has one less member. The exception to this is LobbyMenu, where the config is used in multiple places, so it was easier to have the config's reference as a member. To replace the config's usage, I added this line in most cases: ConfigUtility& config = ConfigUtility::GetSingleton(); The only requirement is that ConfigUtility::Create() and ConfigUtility::Delete() are called from the main() function.
32 lines
629 B
INI
32 lines
629 B
INI
#configuration of the programs
|
|
|
|
#server specific settings
|
|
server.host = 255.255.255.255
|
|
server.port = 21795
|
|
server.name = local
|
|
|
|
server.dbname = database.db
|
|
|
|
#client specific settings
|
|
#client.screen.w = 800
|
|
#client.screen.h = 600
|
|
client.screen.f = false
|
|
|
|
client.username = Kayne Ruse
|
|
client.handle = Ratstail91
|
|
client.avatar = elliot2.bmp
|
|
|
|
#directories
|
|
dir.fonts = rsc/graphics/fonts/
|
|
dir.logos = rsc/graphics/logos/
|
|
dir.sprites = rsc/graphics/sprites/
|
|
dir.tilesets = rsc/graphics/tilesets/
|
|
dir.interface = rsc/graphics/interface/
|
|
dir.scripts = rsc/scripts/
|
|
dir.maps = rsc/maps/
|
|
|
|
#map system
|
|
map.savename = servermap
|
|
|
|
#debugging
|