Sorting includes (tools directory)
This commit is contained in:
@@ -6,26 +6,21 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <string>
|
|
||||||
#include <vector>
|
|
||||||
#include <map>
|
|
||||||
#include <sstream>
|
|
||||||
|
|
||||||
//#include "scen.global.h"
|
|
||||||
#include <fstream>
|
|
||||||
#include "classes.h"
|
|
||||||
//#include "scen.fileio.h"
|
|
||||||
//#include "scen.keydlgs.h"
|
|
||||||
#include "graphtool.h"
|
|
||||||
//#include "scen.core.h"
|
|
||||||
//#include "soundtool.h"
|
|
||||||
#include "mathutil.h"
|
|
||||||
#include "fileio.h"
|
#include "fileio.h"
|
||||||
#include "porting.h"
|
|
||||||
|
#include <fstream>
|
||||||
|
#include <boost/filesystem/operations.hpp>
|
||||||
|
|
||||||
#include "dlogutil.h"
|
#include "dlogutil.h"
|
||||||
|
#include "gzstream.h"
|
||||||
|
|
||||||
|
#include "classes.h"
|
||||||
|
#include "graphtool.h"
|
||||||
|
#include "mathutil.h"
|
||||||
|
|
||||||
|
#include "porting.h"
|
||||||
#include "restypes.hpp"
|
#include "restypes.hpp"
|
||||||
#include "tarball.hpp"
|
#include "tarball.hpp"
|
||||||
#include "gzstream.h"
|
|
||||||
|
|
||||||
extern bool cur_scen_is_mac, mac_is_intel;
|
extern bool cur_scen_is_mac, mac_is_intel;
|
||||||
extern cScenario scenario;
|
extern cScenario scenario;
|
||||||
|
@@ -8,8 +8,8 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <boost/filesystem/path.hpp>
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
#include <boost/filesystem/path.hpp>
|
||||||
|
|
||||||
#include "town.h"
|
#include "town.h"
|
||||||
#include "outdoors.h"
|
#include "outdoors.h"
|
||||||
|
@@ -8,16 +8,20 @@
|
|||||||
|
|
||||||
#define GRAPHTOOL_CPP
|
#define GRAPHTOOL_CPP
|
||||||
#include "graphtool.h"
|
#include "graphtool.h"
|
||||||
#include "cursors.h"
|
|
||||||
#include "restypes.hpp"
|
|
||||||
#include <boost/filesystem.hpp>
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#include <OpenGl/GL.h>
|
#include <OpenGl/GL.h>
|
||||||
#else
|
#else
|
||||||
#include <GL/GL.h>
|
#include <GL/GL.h>
|
||||||
#endif
|
#endif
|
||||||
#include <boost/math/constants/constants.hpp>
|
|
||||||
#include <typeinfo>
|
#include <typeinfo>
|
||||||
|
#include <boost/filesystem.hpp>
|
||||||
|
#include <boost/math/constants/constants.hpp>
|
||||||
|
|
||||||
|
#include "cursors.h"
|
||||||
|
#include "restypes.hpp"
|
||||||
|
|
||||||
using boost::math::constants::pi;
|
using boost::math::constants::pi;
|
||||||
|
|
||||||
cursor_type arrow_curs[3][3] = {
|
cursor_type arrow_curs[3][3] = {
|
||||||
|
@@ -9,9 +9,9 @@
|
|||||||
#ifndef GRAPHTOOL_H
|
#ifndef GRAPHTOOL_H
|
||||||
#define GRAPHTOOL_H
|
#define GRAPHTOOL_H
|
||||||
|
|
||||||
#include <SFML/Graphics.hpp>
|
|
||||||
#include <boost/filesystem/path.hpp>
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
#include <boost/filesystem/path.hpp>
|
||||||
|
#include <SFML/Graphics.hpp>
|
||||||
#include "location.h"
|
#include "location.h"
|
||||||
|
|
||||||
namespace fs = boost::filesystem;
|
namespace fs = boost::filesystem;
|
||||||
|
@@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <SFML/System/Time.hpp>
|
#include <SFML/System/Time.hpp>
|
||||||
|
|
||||||
using std::abs;
|
using std::abs;
|
||||||
short get_ran (short times,short min,short max);
|
short get_ran (short times,short min,short max);
|
||||||
short s_pow(short x,short y);
|
short s_pow(short x,short y);
|
||||||
|
@@ -6,9 +6,9 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
#include "oldstructs.h"
|
#include "oldstructs.h"
|
||||||
#include "location.h"
|
#include "location.h"
|
||||||
#include <cstdint>
|
|
||||||
|
|
||||||
void flip_long(int32_t *s);
|
void flip_long(int32_t *s);
|
||||||
void flip_spec_node(legacy::special_node_type *spec);
|
void flip_spec_node(legacy::special_node_type *spec);
|
||||||
|
@@ -10,14 +10,16 @@
|
|||||||
#error qdpict.cpp uses Apple APIs at the moment; try omitting it from the build
|
#error qdpict.cpp uses Apple APIs at the moment; try omitting it from the build
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <cstdint>
|
|
||||||
#include <memory>
|
|
||||||
#include "porting.h"
|
|
||||||
#include "location.h"
|
|
||||||
#include "dlogutil.h"
|
|
||||||
// TODO: Don't use the resource manager
|
// TODO: Don't use the resource manager
|
||||||
#include <CoreServices/CoreServices.h>
|
#include <CoreServices/CoreServices.h>
|
||||||
|
|
||||||
|
#include <cstdint>
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
|
#include "dlogutil.h"
|
||||||
|
#include "porting.h"
|
||||||
|
#include "location.h"
|
||||||
|
|
||||||
static int16_t extract_word(char* ptr) {
|
static int16_t extract_word(char* ptr) {
|
||||||
int16_t s = *(int16_t*) ptr;
|
int16_t s = *(int16_t*) ptr;
|
||||||
flip_short(&s);
|
flip_short(&s);
|
||||||
|
@@ -5,16 +5,14 @@
|
|||||||
* Created by Celtic Minstrel on 16/04/09.
|
* Created by Celtic Minstrel on 16/04/09.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
#include <cmath>
|
|
||||||
|
|
||||||
#include "restypes.hpp"
|
|
||||||
|
|
||||||
#include <cstdio>
|
|
||||||
|
|
||||||
#include "soundtool.h"
|
#include "soundtool.h"
|
||||||
|
|
||||||
|
#include <cmath>
|
||||||
|
#include <cstdio>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
|
#include "restypes.hpp"
|
||||||
#include "mathutil.h"
|
#include "mathutil.h"
|
||||||
|
|
||||||
std::shared_ptr<sf::SoundBuffer> sound_handles[NUM_SOUNDS];
|
std::shared_ptr<sf::SoundBuffer> sound_handles[NUM_SOUNDS];
|
||||||
|
@@ -10,7 +10,6 @@
|
|||||||
#define _SOUNDTOOL_H
|
#define _SOUNDTOOL_H
|
||||||
|
|
||||||
#include <SFML/Audio.hpp>
|
#include <SFML/Audio.hpp>
|
||||||
#include <memory>
|
|
||||||
|
|
||||||
const int NUM_SOUNDS = 100;
|
const int NUM_SOUNDS = 100;
|
||||||
|
|
||||||
|
@@ -9,8 +9,8 @@
|
|||||||
#ifndef BoE_boe_windows_h
|
#ifndef BoE_boe_windows_h
|
||||||
#define BoE_boe_windows_h
|
#define BoE_boe_windows_h
|
||||||
|
|
||||||
#include <SFML/Window.hpp>
|
|
||||||
#include <boost/filesystem/path.hpp>
|
#include <boost/filesystem/path.hpp>
|
||||||
|
#include <SFML/Window.hpp>
|
||||||
|
|
||||||
namespace fs = boost::filesystem; // TODO: Centralize this alias
|
namespace fs = boost::filesystem; // TODO: Centralize this alias
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user