' This is file libtcod-1.5.1_TJF.bi.bi ' (FreeBasic binding for libtcod 1.5.1 Toolkit) ' ' translated with help of h_2_bi.bas by ' Thomas.Freiherr@gmx.net: ' ' Licencing: ' This library binding is free software; you can redistribute it ' and/or modify it under the terms of the GNU Lesser General Public ' License as published by the Free Software Foundation; either ' version 2 of the License, or (at your option) ANY later version. ' ' This library 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 ' Lesser General Public License for more details, refer to: ' http://www.gnu.org/licenses/lgpl.html ' ' Original Licience: /' * libtcod 1.5.1 * Copyright (c) 2008,2009,2010 Jice & Mingos * All rights reserved. * * libtcod 'The Doryen library' is a cross-platform C/C++ library for roguelike * developers. * Its source code is available from : * http: * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * The name of Jice or Mingos may not be used to endorse or promote products * derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY JICE AND MINGOS ``AS IS'' AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL JICE OR MINGOS BE LIABLE FOR ANY * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. '/ #IF NOT __FB_MIN_VERSION__(0, 20, 0) #ERROR fbc must be at least version 0.20.0 to compile this header #ENDIF #IFNDEF __TCOD_TJF__ #DEFINE __TCOD_TJF__ #IFDEF __FB_WIN32__ #PRAGMA push(msbitfields) #INCLIB "tcod-mingw" #INCLIB "tcod-gui-mingw" #DEFINE TCOD_WINDOWS #DEFINE TCOD_MINGW32 #DEFINE TCOD_WIN32 #ELSEIF NOT DEFINED(__FB_LINUX__) #ERROR "Platform not supported!" #ELSE ' __FB_WIN32__ #INCLIB "tcod" #DEFINE TCOD_LINUX #ENDIF ' __FB_WIN32__ #IFDEF __TCOD_OLD_1_5_1__ #DEFINE TCOD_console_set_default_foreground TCOD_console_set_foreground_color #DEFINE TCOD_console_set_default_background TCOD_console_set_background_color #DEFINE TCOD_console_get_default_background TCOD_console_get_background_color #DEFINE TCOD_console_get_default_foreground TCOD_console_get_foreground_color #DEFINE TCOD_console_set_char_background TCOD_console_set_back #DEFINE TCOD_console_set_char_foreground TCOD_console_set_fore #DEFINE TCOD_console_get_char_background TCOD_console_get_back #DEFINE TCOD_console_get_char_foreground TCOD_console_get_fore #ENDIF ' __TCOD_OLD_1_5_1__ __END_BI__(){}; #IFDEF __FB_WIN32__ #PRAGMA pop(msbitfields) #ENDIF #ENDIF ' __TCOD_TJF__