- 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:
2009-05-25 03:41:29 +00:00
parent b203c94ab7
commit 92bda1c100
28 changed files with 151 additions and 339 deletions

View File

@@ -11,7 +11,7 @@
#include "location.h"
#include <string>
#include <iostream>
#include <iosfwd>
namespace legacy { struct item_record_type; };

View File

@@ -10,7 +10,7 @@
#define MONSTER_H
#include <string>
#include <iostream>
#include <iosfwd>
namespace legacy {
struct monster_record_type;

View File

@@ -11,7 +11,7 @@
#include "location.h"
#include <string>
#include <iostream>
#include <iosfwd>
namespace legacy {
struct out_wandering_type;

View File

@@ -10,7 +10,7 @@
#define PC_H
#include <string>
#include <iostream>
#include <iosfwd>
namespace legacy { struct pc_record_type; };

View File

@@ -9,7 +9,7 @@
#ifndef REGTOWN_H
#define REGTOWN_H
#include <iostream>
#include <iosfwd>
namespace legacy {
struct big_tr_type;

View File

@@ -9,7 +9,7 @@
#ifndef SCENARIO_H
#define SCENARIO_H
#include <iostream>
#include <iosfwd>
namespace legacy{
struct scenario_data_type;

View File

@@ -9,7 +9,7 @@
#ifndef SPECIAL_H
#define SPECIAL_H
#include <iostream>
#include <iosfwd>
namespace legacy { struct special_node_type; };

View File

@@ -9,7 +9,7 @@
#ifndef TALKING_H
#define TALKING_H
#include <iostream>
#include <iosfwd>
namespace legacy {
struct talking_record_type;

View File

@@ -10,7 +10,7 @@
#define TERRAIN_H
#include <string>
#include <iostream>
#include <iosfwd>
namespace legacy { struct terrain_type_type; };

View File

@@ -9,7 +9,7 @@
#ifndef TMPLTOWN_H
#define TMPLTOWN_H
#include <iostream>
#include <iosfwd>
class cTemplTown {
public:

View File

@@ -10,7 +10,7 @@
#define TOWN_H
#include <vector>
#include <iostream>
#include <iosfwd>
namespace legacy {
struct town_record_type;

View File

@@ -9,7 +9,7 @@
#ifndef UNIVERSE_H
#define UNIVERSE_H
#include <iostream>
#include <iosfwd>
namespace legacy {
struct out_info_type;

View File

@@ -9,7 +9,7 @@
#ifndef VEHICLE_H
#define VEHICLE_H
#include <iostream>
#include <iosfwd>
#include "location.h"
namespace legacy {