Apply clang-format

This commit is contained in:
duncanspumpkin 2018-01-26 06:23:06 +00:00
parent fb375d1560
commit ec41e77a21
8 changed files with 162 additions and 163 deletions

View File

@ -60,8 +60,7 @@ namespace openloco::objectmgr
size_t get_max_objects(object_type type)
{
static size_t counts[] =
{
static size_t counts[] = {
1, // interface,
128, // sound,
1, // currency,

View File

@ -1,7 +1,7 @@
#pragma once
#include <cstdio>
#include <cstdint>
#include <cstdio>
namespace openloco
{

View File

@ -1,8 +1,8 @@
#include <algorithm>
#include "thing.h"
#include "../graphics/gfx.h"
#include "../interop/interop.hpp"
#include "../viewportmgr.h"
#include "thing.h"
#include <algorithm>
using namespace openloco;
using namespace openloco::interop;

View File

@ -1,15 +1,15 @@
#include "vehicle.h"
#include <algorithm>
#include "../audio/audio.h"
#include "../config.h"
#include "../graphics/gfx.h"
#include "../interop/interop.hpp"
#include "../openloco.h"
#include "../objects/vehicle_object.h"
#include "../objects/objectmgr.h"
#include "../objects/vehicle_object.h"
#include "../openloco.h"
#include "../utility/numeric.hpp"
#include "../viewportmgr.h"
#include "thingmgr.h"
#include <algorithm>
using namespace openloco;
using namespace openloco::interop;

View File

@ -1,8 +1,8 @@
#include <algorithm>
#include "viewportmgr.h"
#include "interop/interop.hpp"
#include "ui.h"
#include "window.h"
#include "viewportmgr.h"
#include <algorithm>
using namespace openloco::ui;
using namespace openloco::interop;