This repository has been archived by the owner on Mar 14, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
RobertTheSable
committed
May 24, 2021
0 parents
commit 17682e7
Showing
18 changed files
with
1,839 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
*.pro.user | ||
*.o | ||
*.exe | ||
*.tmx | ||
*.bmp | ||
*.png | ||
*.jpg | ||
*.jpeg | ||
*.sfc | ||
*.smc | ||
*.bin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "base64"] | ||
path = base64 | ||
url = https://github.com/ReneNyffenegger/cpp-base64 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Thracia Map Converter | ||
|
||
This is a tool to convert Tiled maps into an FE5 map format. | ||
|
||
The output files need to be compressed before they can be inserted. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
/* | ||
* Thracia 776 Map Converter | ||
* | ||
* Copyright (C) 2015 Robert the Sable | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 3 | ||
* as published by the Free Software Foundation | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
* | ||
* <Description> For those of you not familiar with the GNU GPL system, | ||
* the license is in the file named "COPYING". | ||
*/ | ||
|
||
#include "mapchange.h" | ||
|
||
#include <cstdlib> | ||
|
||
MapChange::MapChange(int x, int y, int xSize, int ySize, int ID, bool bitSet, int *tiledData) | ||
{ | ||
m_iXSize = xSize; | ||
m_iYSize = ySize; | ||
m_iID = ID; | ||
m_iXPos = x; | ||
m_iYPos = y; | ||
m_bBitSet = bitSet; | ||
m_iData = tiledData; | ||
} | ||
void MapChange::getData(int **changeData) | ||
{ | ||
*changeData= m_iData; | ||
} | ||
bool MapChange::bitSet() | ||
{ | ||
return m_bBitSet; | ||
} | ||
|
||
int MapChange::getID() | ||
{ | ||
return m_iID; | ||
} | ||
int MapChange::getXPos() | ||
{ | ||
return m_iXPos; | ||
} | ||
|
||
int MapChange::getYPos() | ||
{ | ||
return m_iYPos; | ||
} | ||
int MapChange::getXSize() | ||
{ | ||
return m_iXSize; | ||
} | ||
int MapChange::getYSize() | ||
{ | ||
return m_iYSize; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
* Thracia 776 Map Converter | ||
* | ||
* Copyright (C) 2015 Robert the Sable | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License version 3 | ||
* as published by the Free Software Foundation | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
* | ||
* <Description> For those of you not familiar with the GNU GPL system, | ||
* the license is in the file named "COPYING". | ||
*/ | ||
|
||
#ifndef MAPCHANGE_H | ||
#define MAPCHANGE_H | ||
|
||
class MapChange | ||
{ | ||
public: | ||
MapChange(int x, int y, int xSize, int ySize, int ID, bool bitSet, int *tiledData); | ||
void getData(int**); | ||
bool bitSet(); | ||
int getID(); | ||
int getXPos(); | ||
int getYPos(); | ||
int getXSize(); | ||
int getYSize(); | ||
private: | ||
int m_iID; | ||
int m_iXPos; | ||
int m_iYPos; | ||
int m_iXSize; | ||
int m_iYSize; | ||
bool m_bBitSet; | ||
int *m_iData; | ||
}; | ||
|
||
#endif // MAPCHANGE_H |
Oops, something went wrong.