YAPOG
0.0.1
Yet Another Pokemon Online Game
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Client.cpp
Go to the documentation of this file.
1
#include <iostream>
2
3
#include <boost/exception/all.hpp>
4
5
#include "
YAPOG/System/Error/Exception.hpp
"
6
7
#include "Game.hpp"
8
#include "
Configuration/GameData.hpp
"
9
10
int
main
()
11
{
12
try
13
{
14
15
#ifndef YAPOG_WIN
16
ycl::GameData::Init
(
"../Content/Configuration.xml"
);
17
# else
18
ycl::GameData::Init
(
"../../Content/Configuration.xml"
);
19
#endif // YAPOG_WIN
20
21
ycl::Game
game (
"YAPOG"
);
22
23
game.
Init
();
24
25
game.
Launch
();
26
}
27
catch
(
yap::Exception
& ex)
28
{
29
ex.
GetMessage
(std::cout) << std::endl;
30
getchar ();
31
}
32
catch
(boost::exception& ex)
33
{
34
std::cout << boost::diagnostic_information (ex) << std::endl;
35
getchar ();
36
}
37
}
YAPOG.Client
src
Client.cpp
Generated on Mon Sep 17 2012 22:24:21 for YAPOG by
1.8.1.1