- Cleaned out some of the compiler warnings in the scenario editor (removing unused variables mostly).
- Finally removed the grow box in the corner of the scenario editor window. - Changed #include <iostream> in several headers to #include <iosfwd>, since they were only present for the use of the ostream and istream classes, and cout/cin were unneeded. - Changed bool to Boolean in the old structs, since that's what it was originally. - Small changes to graphtool, including an overload of get_custom_rect. - Added gcd function to mathutil; was needed for something in the new dialog engine git-svn-id: http://openexile.googlecode.com/svn/trunk@71 4ebdad44-0ea0-11de-aab3-ff745001d230
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "location.h"
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
|
||||
namespace legacy { struct item_record_type; };
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#define MONSTER_H
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
|
||||
namespace legacy {
|
||||
struct monster_record_type;
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include "location.h"
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
|
||||
namespace legacy {
|
||||
struct out_wandering_type;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#define PC_H
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
|
||||
namespace legacy { struct pc_record_type; };
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#ifndef REGTOWN_H
|
||||
#define REGTOWN_H
|
||||
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
|
||||
namespace legacy {
|
||||
struct big_tr_type;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#ifndef SCENARIO_H
|
||||
#define SCENARIO_H
|
||||
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
|
||||
namespace legacy{
|
||||
struct scenario_data_type;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#ifndef SPECIAL_H
|
||||
#define SPECIAL_H
|
||||
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
|
||||
namespace legacy { struct special_node_type; };
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#ifndef TALKING_H
|
||||
#define TALKING_H
|
||||
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
|
||||
namespace legacy {
|
||||
struct talking_record_type;
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#define TERRAIN_H
|
||||
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
|
||||
namespace legacy { struct terrain_type_type; };
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#ifndef TMPLTOWN_H
|
||||
#define TMPLTOWN_H
|
||||
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
|
||||
class cTemplTown {
|
||||
public:
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#define TOWN_H
|
||||
|
||||
#include <vector>
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
|
||||
namespace legacy {
|
||||
struct town_record_type;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#ifndef UNIVERSE_H
|
||||
#define UNIVERSE_H
|
||||
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
|
||||
namespace legacy {
|
||||
struct out_info_type;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#ifndef VEHICLE_H
|
||||
#define VEHICLE_H
|
||||
|
||||
#include <iostream>
|
||||
#include <iosfwd>
|
||||
#include "location.h"
|
||||
|
||||
namespace legacy {
|
||||
|
||||
Reference in New Issue
Block a user