equal
deleted
inserted
replaced
1 |
1 |
2 #include "Engine.hh" |
2 #include "Engine.hh" |
3 #include "GameState.hh" |
3 #include "GameState.hh" |
4 #include "NetworkServer.hh" |
4 #include "NetworkServer.hh" |
5 #include "NetworkClient.hh" |
5 #include "NetworkClient.hh" |
|
6 |
|
7 #include <iostream> |
6 |
8 |
7 Engine::Engine (void) : is_running(true) { |
9 Engine::Engine (void) : is_running(true) { |
8 |
10 |
9 } |
11 } |
10 |
12 |
64 // but as far as I can tell, ClanLib doesn't have anything like that |
66 // but as far as I can tell, ClanLib doesn't have anything like that |
65 CL_System::sleep(100); |
67 CL_System::sleep(100); |
66 |
68 |
67 } |
69 } |
68 } |
70 } |
|
71 |
|
72 void Engine::log (const std::string &level, const std::string &type, const std::string &message) { |
|
73 std::cout << level << " [" << type << "] " << message << std::endl; |
|
74 } |
|
75 |