mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-17 13:01:41 +00:00
Line endings and copyright headers...
This commit is contained in:
parent
29bf9e0a93
commit
6c8ae2fafe
5 changed files with 86 additions and 18 deletions
|
@ -1,3 +1,20 @@
|
||||||
|
// Ryzom Core Studio - Tile Editor plugin
|
||||||
|
// Copyright (C) 2010 Winch Gate Property Limited
|
||||||
|
//
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// 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 Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
#include "tile_bank.h"
|
#include "tile_bank.h"
|
||||||
#include "nel/3d/tile_bank.h"
|
#include "nel/3d/tile_bank.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,20 @@
|
||||||
|
// Ryzom Core Studio - Tile Editor plugin
|
||||||
|
// Copyright (C) 2010 Winch Gate Property Limited
|
||||||
|
//
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// 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 Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
#ifndef TILE_BANK_H
|
#ifndef TILE_BANK_H
|
||||||
#define TILE_BANK_H
|
#define TILE_BANK_H
|
||||||
|
|
||||||
|
@ -54,7 +71,7 @@ public:
|
||||||
void setSurfaceData( int tileSet, unsigned long data );
|
void setSurfaceData( int tileSet, unsigned long data );
|
||||||
unsigned long getSurfaceData( int tileSet ) const;
|
unsigned long getSurfaceData( int tileSet ) const;
|
||||||
|
|
||||||
void setTexturePath( const QString &path );
|
void setTexturePath( const QString &path );
|
||||||
QString getTexturePath() const;
|
QString getTexturePath() const;
|
||||||
|
|
||||||
void serial( NLMISC::IStream &f );
|
void serial( NLMISC::IStream &f );
|
||||||
|
|
|
@ -1,24 +1,41 @@
|
||||||
|
// Ryzom Core Studio - Tile Editor plugin
|
||||||
|
// Copyright (C) 2010 Winch Gate Property Limited
|
||||||
|
//
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// 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 Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
#ifndef TILE_CONSTANTS_H
|
#ifndef TILE_CONSTANTS_H
|
||||||
#define TILE_CONSTANTS_H
|
#define TILE_CONSTANTS_H
|
||||||
|
|
||||||
|
|
||||||
namespace TileConstants
|
namespace TileConstants
|
||||||
{
|
{
|
||||||
enum TTileChannel
|
enum TTileChannel
|
||||||
{
|
{
|
||||||
TileDiffuse = 0,
|
TileDiffuse = 0,
|
||||||
TileAdditive = 1,
|
TileAdditive = 1,
|
||||||
TileAlpha = 2,
|
TileAlpha = 2,
|
||||||
TileChannelCount = 3
|
TileChannelCount = 3
|
||||||
};
|
};
|
||||||
|
|
||||||
enum TNodeTileType
|
enum TNodeTileType
|
||||||
{
|
{
|
||||||
Tile128 = 0,
|
Tile128 = 0,
|
||||||
Tile256 = 1,
|
Tile256 = 1,
|
||||||
TileTransition = 2,
|
TileTransition = 2,
|
||||||
TileDisplacement = 3,
|
TileDisplacement = 3,
|
||||||
TileNodeTypeCount = 4
|
TileNodeTypeCount = 4
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,20 @@
|
||||||
|
// Ryzom Core Studio - Tile Editor plugin
|
||||||
|
// Copyright (C) 2010 Winch Gate Property Limited
|
||||||
|
//
|
||||||
|
// This program is free software: you can redistribute it and/or modify
|
||||||
|
// it under the terms of the GNU Affero General Public License as
|
||||||
|
// published by the Free Software Foundation, either version 3 of the
|
||||||
|
// License, or (at your option) any later version.
|
||||||
|
//
|
||||||
|
// 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 Affero General Public License for more details.
|
||||||
|
//
|
||||||
|
// You should have received a copy of the GNU Affero General Public License
|
||||||
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
#ifndef TILE_IMAGES_H
|
#ifndef TILE_IMAGES_H
|
||||||
#define TILE_IMAGES_H
|
#define TILE_IMAGES_H
|
||||||
|
|
||||||
|
|
|
@ -108,10 +108,10 @@ public:
|
||||||
void setVegetation( int tileSet, const QString &vegetation );
|
void setVegetation( int tileSet, const QString &vegetation );
|
||||||
QString getVegetation( int tileSet ) const;
|
QString getVegetation( int tileSet ) const;
|
||||||
|
|
||||||
void setOriented( int tileSet, bool b );
|
void setOriented( int tileSet, bool b );
|
||||||
bool getOriented( int tileSet ) const;
|
bool getOriented( int tileSet ) const;
|
||||||
|
|
||||||
void setSurfaceData( int tileSet, unsigned long data );
|
void setSurfaceData( int tileSet, unsigned long data );
|
||||||
unsigned long getSurfaceData( int tileSet ) const;
|
unsigned long getSurfaceData( int tileSet ) const;
|
||||||
|
|
||||||
void setTexturePath( const QString &path );
|
void setTexturePath( const QString &path );
|
||||||
|
|
Loading…
Reference in a new issue