Fixed: tile_edit compilation

This commit is contained in:
kervala 2010-09-25 16:18:15 +02:00
parent 4a62ca74e5
commit 7be61404af
7 changed files with 5 additions and 11 deletions

View file

@ -15,7 +15,6 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h" #include "stdafx.h"
#include "tile_edit.h"
extern ClassDesc2* GetTile_editDesc(); extern ClassDesc2* GetTile_editDesc();

View file

@ -15,7 +15,6 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h" #include "stdafx.h"
#include "tile_edit.h"
#include "Popup.h" #include "Popup.h"
#ifdef _DEBUG #ifdef _DEBUG

View file

@ -15,7 +15,6 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h" #include "stdafx.h"
#include "tile_edit.h"
#include "TileCtrl.h" #include "TileCtrl.h"
#include "browse.h" #include "browse.h"

View file

@ -59,9 +59,7 @@ public:
int h,b,g,d; //index dans la liste des bordures pour le haut, le bas, la gauche et la droite du tile int h,b,g,d; //index dans la liste des bordures pour le haut, le bas, la gauche et la droite du tile
}; };
using namespace std; typedef std::list<TileInfo*> tilelist;
typedef list<TileInfo*> tilelist;
class TileList class TileList
{ {

View file

@ -15,7 +15,7 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h" #include "stdafx.h"
#include "tile_edit.h" #include "tile_edit_exe.h"
#include "TileList.h" #include "TileList.h"
#include "browse.h" #include "browse.h"

View file

@ -15,7 +15,7 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>. // along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h" #include "stdafx.h"
#include "tile_edit.h" #include "tile_edit_exe.h"
#include "TileView.h" #include "TileView.h"
#ifdef _DEBUG #ifdef _DEBUG
@ -50,8 +50,8 @@ END_MESSAGE_MAP()
void TileView::OnDropFiles(HDROP hDropInfo) void TileView::OnDropFiles(HDROP hDropInfo)
{ {
// TODO: Add your message handler code here and/or call default // TODO: Add your message handler code here and/or call default
*parent=this->GetParent(); // *parent=this->GetParent();
if (parent) parent-> // if (parent) parent->
CListCtrl::OnDropFiles(hDropInfo); CListCtrl::OnDropFiles(hDropInfo);
} }

View file

@ -46,7 +46,6 @@ typedef struct ROUT
unsigned long time; unsigned long time;
} ROUT; } ROUT;
*/ */
#include "..\tile_edit\tile_edit.h"
ROUT Routines[20]; ROUT Routines[20];