Split up files so that the scenario editor will build

- cCreature split into seperate file-pair from cMonster/cTownperson
- fileio.cpp split into general, party, and scenario sections
- classes.h file deleted
This commit is contained in:
2015-01-24 21:29:34 -05:00
parent 7f8f18a5fb
commit 99bb11dd3b
64 changed files with 1423 additions and 1335 deletions

View File

@@ -3,7 +3,7 @@
#include <cstdio>
#include <cstring>
#include "scen.global.h"
#include "classes.h"
#include "scenario.h"
#include "graphtool.hpp"
#include "scen.graphics.h"
#include "scen.actions.h"

View File

@@ -3,7 +3,6 @@
#include <cstdio>
#include "scen.global.h"
#include "classes.h"
#include "graphtool.hpp"
#include "scen.graphics.h"
#include <cmath>

View File

@@ -5,7 +5,8 @@
#include <numeric>
#include <boost/lexical_cast.hpp>
#include "scen.global.h"
#include "classes.h"
#include "scenario.h"
#include "regtown.h"
#include "graphtool.hpp"
#include "scen.graphics.h"
#include "scen.core.h"

View File

@@ -1,7 +1,7 @@
#include <cstring>
#include "scen.global.h"
#include "classes.h"
#include "scenario.h"
#include <iostream>
#include <fstream>
#include <iomanip>

View File

@@ -3,7 +3,7 @@
#include <sstream>
#include <cstring>
#include "scen.global.h"
#include "classes.h"
#include "scenario.h"
#include "graphtool.hpp"
#include "scen.graphics.h"
#include <cmath>

View File

@@ -1,3 +1,6 @@
#include "simpletypes.h"
void Set_up_win ();
void run_startup_g();
void load_graphics();

View File

@@ -5,7 +5,7 @@
#include <numeric>
#include <boost/lexical_cast.hpp>
#include "scen.global.h"
#include "classes.h"
#include "scenario.h"
#include "graphtool.hpp"
#include "scen.graphics.h"
#include "scen.keydlgs.h"

View File

@@ -3,7 +3,7 @@
#include <thread>
#include "scen.global.h"
#include "classes.h"
#include "scenario.h"
#include "graphtool.hpp"
#include "scen.graphics.h"
#include "scen.actions.h"

View File

@@ -4,7 +4,8 @@
#include <stack>
#include <boost/lexical_cast.hpp>
#include "scen.global.h"
#include "classes.h"
#include "scenario.h"
#include "regtown.h"
#include "graphtool.hpp"
#include "scen.graphics.h"
#include "scen.townout.h"
@@ -592,7 +593,6 @@ static void save_out_wand(cDialog& me, short which, cOutdoors::cWandering& wand,
static bool edit_out_wand_event_filter(cDialog& me, std::string hit, short& which, cOutdoors::cWandering& wand, short mode) {
if(!me.toast(true)) return true;
save_out_wand(me, which, wand, mode);
cCreature store_m;
if(hit == "left") {
me.untoast();
which--;