mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-03-28 14:56:22 +01:00
60 lines
1.4 KiB
C
60 lines
1.4 KiB
C
/*
|
|
** binding-types.h
|
|
**
|
|
** This file is part of mkxp.
|
|
**
|
|
** Copyright (C) 2013 Jonas Kulla <Nyocurio@gmail.com>
|
|
**
|
|
** mkxp is free software: you can redistribute it and/or modify
|
|
** it under the terms of the GNU General Public License as published by
|
|
** the Free Software Foundation, either version 2 of the License, or
|
|
** (at your option) any later version.
|
|
**
|
|
** mkxp 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 mkxp. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef BINDINGTYPES_H
|
|
#define BINDINGTYPES_H
|
|
|
|
#include "binding-util.h"
|
|
|
|
#if RAPI_FULL > 187
|
|
DECL_TYPE(Table);
|
|
DECL_TYPE(Rect);
|
|
DECL_TYPE(Color);
|
|
DECL_TYPE(Tone);
|
|
DECL_TYPE(Font);
|
|
|
|
DECL_TYPE(Bitmap);
|
|
DECL_TYPE(Sprite);
|
|
DECL_TYPE(Plane);
|
|
DECL_TYPE(Viewport);
|
|
DECL_TYPE(Tilemap);
|
|
DECL_TYPE(Window);
|
|
|
|
DECL_TYPE(MiniFFI);
|
|
|
|
#else
|
|
#define TableType "Table"
|
|
#define RectType "Rect"
|
|
#define ColorType "Color"
|
|
#define ToneType "Tone"
|
|
#define FontType "Font"
|
|
|
|
#define BitmapType "Bitmap"
|
|
#define SpriteType "Sprite"
|
|
#define PlaneType "Plane"
|
|
#define ViewportType "Viewport"
|
|
#define TilemapType "Tilemap"
|
|
#define WindowType "Window"
|
|
|
|
#define MiniFFIType "MiniFFI"
|
|
#endif
|
|
|
|
#endif // BINDINGTYPES_H
|