Browse Source

Formaaaat.

Florian DORMONT 10 years ago
parent
commit
b8d35f5647
2 changed files with 3 additions and 5 deletions
  1. 1 1
      src/engine/StateMachine.cpp
  2. 2 4
      src/map/StateMap.cpp

+ 1 - 1
src/engine/StateMachine.cpp

@@ -56,7 +56,7 @@ void STATEMACHINE::run()
 
             Text::print_format(0, 0, "WalrusRPG test build %s", git_version);
             Text::print_format(0, 240 - 8, "%ufps, %uups", 32768 / frame_time,
-                                         32768 / update_time);
+                               32768 / update_time);
             Graphics::buffer_swap_render();
         }
 

+ 2 - 4
src/map/StateMap.cpp

@@ -14,14 +14,12 @@ namespace
 {
     void print_debug_camera_data(const Camera &camera)
     {
-        Text::print_format(0, 8, "CAM : X : %d Y: %d", camera.get_x(),
-                                     camera.get_y());
+        Text::print_format(0, 8, "CAM : X : %d Y: %d", camera.get_x(), camera.get_y());
     }
 
     void print_debug_map_data(const Map &map)
     {
-        Text::print_format(0, 16, "MAP : W: %d, H:%d", map.get_width(),
-                                     map.get_height());
+        Text::print_format(0, 16, "MAP : W: %d, H:%d", map.get_width(), map.get_height());
     }
 }