equal
deleted
inserted
replaced
10 is_running(true), resources(resource_xml_path) |
10 is_running(true), resources(resource_xml_path) |
11 { |
11 { |
12 |
12 |
13 } |
13 } |
14 |
14 |
15 void Engine::setupGraphics (void) { |
15 void Engine::setupGraphics (PixelCoordinate resolution, bool fullscreen) { |
16 // create the graphics |
16 // create the graphics |
17 graphics = new Graphics(*this, game_state); |
17 graphics = new Graphics(*this, game_state, resolution, fullscreen); |
18 } |
18 } |
19 |
19 |
20 void Engine::setupNetworkServer (const std::string &listen_port) { |
20 void Engine::setupNetworkServer (const std::string &listen_port) { |
21 NetworkEndpoint listen_addr(listen_port); |
21 NetworkEndpoint listen_addr(listen_port); |
22 |
22 |