diff --git a/project/jni/application/gemrb/AndroidData/override2.zip b/project/jni/application/gemrb/AndroidData/override2.zip deleted file mode 100644 index 30e998be8..000000000 Binary files a/project/jni/application/gemrb/AndroidData/override2.zip and /dev/null differ diff --git a/project/jni/application/gemrb/AndroidData/scripts2.zip b/project/jni/application/gemrb/AndroidData/scripts2.zip deleted file mode 100644 index eb6799f2b..000000000 Binary files a/project/jni/application/gemrb/AndroidData/scripts2.zip and /dev/null differ diff --git a/project/jni/application/gemrb/gemrb/CMakeLists.txt b/project/jni/application/gemrb/gemrb/CMakeLists.txt deleted file mode 100644 index 0abc5d926..000000000 --- a/project/jni/application/gemrb/gemrb/CMakeLists.txt +++ /dev/null @@ -1,41 +0,0 @@ -ADD_SUBDIRECTORY( core ) -ADD_SUBDIRECTORY( plugins ) -ADD_SUBDIRECTORY( override ) -ADD_SUBDIRECTORY( GUIScripts ) -ADD_SUBDIRECTORY( docs ) -ADD_SUBDIRECTORY( tests ) - -ADD_EXECUTABLE(gemrb GemRB.cpp ) -SET_TARGET_PROPERTIES(gemrb PROPERTIES INSTALL_RPATH ${LIB_DIR}) -INCLUDE_DIRECTORIES( ${SDL_INCLUDE_DIR} ) -IF(WIN32) - TARGET_LINK_LIBRARIES(gemrb gemrb_core) -ELSE(WIN32) - IF(APPLE) - if (STATIC_LINK) - TARGET_LINK_LIBRARIES(gemrb ${SDL_LIBRARY} - ${SDL_MAIN_LIBRARY_PATH} ${COCOA_LIBRARY_PATH} ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT} - gemrb_core ${plugins} -Wl,-all_load) - else (STATIC_LINK) - TARGET_LINK_LIBRARIES(gemrb gemrb_core ${SDL_LIBRARY} - ${SDL_MAIN_LIBRARY_PATH} ${COCOA_LIBRARY_PATH} ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT}) - endif (STATIC_LINK) - ELSE(APPLE) - if (STATIC_LINK) - TARGET_LINK_LIBRARIES(gemrb ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT} - -Wl,--whole-archive gemrb_core ${plugins} -Wl,--no-whole-archive) - else (STATIC_LINK) - TARGET_LINK_LIBRARIES(gemrb gemrb_core ${CMAKE_DL_LIBS} ${CMAKE_THREAD_LIBS_INIT}) - endif (STATIC_LINK) - ENDIF(APPLE) -ENDIF(WIN32) - -# preconfigure the sample config with the selected paths -CONFIGURE_FILE( - "${CMAKE_CURRENT_SOURCE_DIR}/GemRB.cfg.sample.in" - "${CMAKE_CURRENT_BINARY_DIR}/GemRB.cfg.sample" - IMMEDIATE @ONLY -) - -INSTALL( TARGETS gemrb DESTINATION ${BIN_DIR} ) -INSTALL( FILES "${CMAKE_CURRENT_BINARY_DIR}/GemRB.cfg.sample" GemRB.cfg.noinstall.sample DESTINATION ${SYSCONF_DIR} ) diff --git a/project/jni/application/gemrb/gemrb/GemRB.cfg.noinstall.sample b/project/jni/application/gemrb/gemrb/GemRB.cfg.noinstall.sample deleted file mode 100644 index fb76d5566..000000000 --- a/project/jni/application/gemrb/gemrb/GemRB.cfg.noinstall.sample +++ /dev/null @@ -1,256 +0,0 @@ -##################################################### -# # -# This is the GemRB Configuration file. # -# Here are defined some default parameters for # -# basic configuration and paths definition. # -# # -# Parameters are defined as a Name=Value pair # -# The Value can be of three types: # -# - String # -# - Integer # -# - Boolean # -# # -# The String value is represented as follows # -# i.e. H:\GemRB\plugins # -# Integers are defined as follows # -# i.e. 12723 # -# Booleans are represented as 1 or 0 in this file # -# # -# Lines starting with # are ignored # -# # -##################################################### - -##################################################### -# # -# Game Type [String] Use one of the following # -# values: # -# # -# auto Attempt to autodetect game type # -# # -# bg1 Baldur's Gate # -# bg2 Baldur's Gate 2 : SoA or ToB # -# tob Baldur's Gate 2 : ToB (obsolete) # -# iwd IceWind Dale (no How or ToTL installed)# -# how IceWind Dale : HoW or ToTL # -# iwd2 IceWind Dale 2 # -# pst Planescape Torment # -# (More will come) # -# # -##################################################### - -GameType=test - -##################################################### -# Game Name [String] Title for GemRB window, use # -# anything you wish, e.g. Baldur's Gate 3: RotFL # -##################################################### - -GameName=Baldur's Gate 2 - -##################################################### -# Video Parameters # -##################################################### - -#Screen width -Width=640 - -#Screen height -Height=480 - -#Bits per pixel [Integer:16,32] -Bpp=32 - -#Fullscreen [Boolean] -Fullscreen=0 - -# Delay before tooltips appear [milliseconds] -TooltipDelay=500 - -##################################################### -# Audio Parameters # -##################################################### -# # -# All volume options are in percents, with 100 # -# being the normal and default volume # -# # -##################################################### - -# Choices: openal (default), sdlaudio (faster, but limited featureset), none -#AudioDriver = openal - -# Volume of ambient sounds -#VolumeAmbients = 100 - -# Volume during movie playback -#VolumeMovie = 100 - -# Volume of background music -#VolumeMusic = 100 - -# Volume of sound effects -#VolumeSFX = 100 - -# Volume of PC or NPC voices -#VolumeVoices = 100 - -##################################################### -# Case Sensitive Filesystem [Boolean] # -# # -# If your installed game files are residing on a # -# case sensitive filesystem (ext2 on Linux) then # -# you need to set this value to 1, it has no # -# effect on Windows # -##################################################### - -#CaseSensitive=1 - -#GameOnCD=0 - -##################################################### -# GUI Parameters # -##################################################### -# # -# GemRB may enhance the GUI of the Infinity Engine # -# games (so far only in bg2) creating functionally # -# new buttons or scrollbars where they weren't # -# present in original games. It may improve its # -# usability, but is not quite compatible with # -# mods changing graphics and alignment in the *.chu # -# files (e.g. the buttons will appear in old # -# coordinates and may stop being clickable). # -##################################################### - -# Enable all gui enhancements ? [Boolean] -GUIEnhancements = 1 - - -##################################################### -# Debug # -##################################################### - -# Do not play intro videos [Boolean], useful for development -#SkipIntroVideos=1 - -# Draw Frames per Second info [Boolean] -#DrawFPS=1 - -# Hide unexplored parts of a map -#FogOfWar=1 - -# Enable debug and cheat keystrokes, see docs/en/CheatKeys.txt -# full listing -#EnableCheatKeys=1 - -##################################################### -# Paths # -##################################################### - -##################################################### -# Game Paths [String] # -# # -# These are the paths where the Game you want to # -# play is installed. # -# Enter the full path to the directory. # -##################################################### - -GamePath=../gemrb/tests/minimal -CD1=/mnt/windows/Programmi/Black Isle/BGII - SoA/ -CD2=/mnt/windows/Programmi/Black Isle/BGII - SoA/CD2/ -CD3=/mnt/windows/Programmi/Black Isle/BGII - SoA/CD3/ -CD4=/mnt/windows/Programmi/Black Isle/BGII - SoA/CD4/ -CD5=/mnt/windows/Programmi/Black Isle/BGII - SoA/CD5/ - -##################################################### -# GemRB Cache Path [String] # -# # -# This is the path where GemRB will store the # -# cached files, enter the full path to the GemRB # -# Cache directory. # -##################################################### - -CachePath=./gemrb/Cache/ - -##################################################### -# GemRB Save Path [String] # -# # -# This is the path where GemRB looks for saved # -# games. # -# Enter the full path to the directory containing # -# e.g. the 'save' subdirectory. # -# # -# You do not have to specify this if you use save # -# subdir in the GamePath directory. # -##################################################### - -#SavePath=/mnt/windows/Programmi/Black Isle/BGII - SoA/ - -##################################################### -# GemRB Path [String] # -# # -# This is the path where GemRB is stored, just # -# enter the full path to the GemRB executable # -##################################################### - -GemRBPath=../gemrb - -##################################################### -# GemRB GUI Scripts Path [String] # -# # -# This is the path where GemRB GUI scripts are # -# stored, usually these are in the GemRB directory # -# Enter the full path to the directory containing # -# the 'GUIScript' subdirectory. # -##################################################### - -#GUIScriptsPath=./ - -##################################################### -# GemRB Plugins Path [String] # -# # -# This is the path containing GemRB plugins # -# - shared libraries (.so) on Unixes, or # -# DLLs (.dll) on windows. # -# Enter the full path to the directory. # -# # -# You may need to specify this path if running # -# GemRB from source directory on Linux. # -##################################################### - -PluginsPath=./gemrb/plugins/ - -##################################################### -# Game Data Path [String] # -# # -# This is the subdirectory under GamePath where # -# game data files are stored. # -# # -# You probably do NOT want to specify this! # -##################################################### - -#GameDataPath=data - -##################################################### -# Game Data Override Path [String] # -# # -# This is the subdirectory under GamePath where # -# game data override files are stored. # -# # -# You probably do NOT want to specify this! # -##################################################### - -#GameOverridePath=override - -##################################################### -# GemRB Data Override Path [String] # -# # -# This is the path where GemRB looks for the GemRB # -# data override directory. # -# # -# You probably do NOT want to specify this! # -##################################################### - -#GemRBOverridePath=/usr/share/games/gemrb - -##################################################### -# END # -##################################################### diff --git a/project/jni/application/gemrb/gemrb/GemRB.cfg.sample.in b/project/jni/application/gemrb/gemrb/GemRB.cfg.sample.in deleted file mode 100644 index 7ebccd139..000000000 --- a/project/jni/application/gemrb/gemrb/GemRB.cfg.sample.in +++ /dev/null @@ -1,261 +0,0 @@ -##################################################### -# # -# This is the GemRB Configuration file. # -# Here are defined some default parameters for # -# basic configuration and paths definition. # -# # -# Parameters are defined as a Name=Value pair # -# The Value can be of three types: # -# - String # -# - Integer # -# - Boolean # -# # -# The String value is represented as follows # -# i.e. H:\GemRB\plugins # -# Integers are defined as follows # -# i.e. 12723 # -# Booleans are represented as 1 or 0 in this file # -# # -# Lines starting with # are ignored # -# # -##################################################### - -##################################################### -# # -# Game Type [String] Use one of the following # -# values: # -# # -# auto Attempt to autodetect game type # -# # -# bg1 Baldur's Gate # -# bg2 Baldur's Gate 2 : SoA or ToB # -# tob Baldur's Gate 2 : ToB (obsolete) # -# iwd IceWind Dale (no How or ToTL installed)# -# how IceWind Dale : HoW or ToTL # -# iwd2 IceWind Dale 2 # -# pst Planescape Torment # -# (More will come) # -# # -##################################################### - -GameType=bg2 - -##################################################### -# Game Name [String] Title for GemRB window, use # -# anything you wish, e.g. Baldur's Gate 3: RotFL # -##################################################### - -GameName=Baldur's Gate 2 - -##################################################### -# Video Parameters # -##################################################### - -#Screen width -Width=640 - -#Screen height -Height=480 - -#Bits per pixel [Integer:16,32] -Bpp=32 - -#Fullscreen [Boolean] -Fullscreen=0 - -# Delay before tooltips appear [milliseconds] -TooltipDelay=500 - -##################################################### -# Audio Parameters # -##################################################### -# # -# All volume options are in percents, with 100 # -# being the normal and default volume # -# # -##################################################### - -# Choices: openal (default), sdlaudio (faster, but limited featureset), none -#AudioDriver = openal - -# Volume of ambient sounds -#VolumeAmbients = 100 - -# Volume during movie playback -#VolumeMovie = 100 - -# Volume of background music -#VolumeMusic = 100 - -# Volume of sound effects -#VolumeSFX = 100 - -# Volume of PC or NPC voices -#VolumeVoices = 100 - -##################################################### -# Case Sensitive Filesystem [Boolean] # -# # -# If your installed game files are residing on a # -# case sensitive filesystem (ext2 on Linux) then # -# you need to set this value to 1, it has no # -# effect on Windows # -##################################################### - -#CaseSensitive=1 - -#GameOnCD=0 - -##################################################### -# GUI Parameters # -##################################################### -# # -# GemRB may enhance the GUI of the Infinity Engine # -# games (so far only in bg2) creating functionally # -# new buttons or scrollbars where they weren't # -# present in original games. It may improve its # -# usability, but is not quite compatible with # -# mods changing graphics and alignment in the *.chu # -# files (e.g. the buttons will appear in old # -# coordinates and may stop being clickable). # -##################################################### - -# Enable all gui enhancements ? [Boolean] -GUIEnhancements = 1 - - -##################################################### -# Debug # -##################################################### - -# Do not play intro videos [Boolean], useful for development -#SkipIntroVideos=1 - -# Draw Frames per Second info [Boolean] -#DrawFPS=1 - -# Hide unexplored parts of a map -#FogOfWar=1 - -# Enable debug and cheat keystrokes, see docs/en/CheatKeys.txt -# full listing -#EnableCheatKeys=1 - -##################################################### -# Paths # -##################################################### - -##################################################### -# Game Paths [String] # -# # -# These are the paths where the Game you want to # -# play is installed. # -# Enter the full path to the directory. # -##################################################### - -GamePath=/mnt/windows/Programmi/Black Isle/BGII - SoA/ -CD1=/mnt/windows/Programmi/Black Isle/BGII - SoA/ -CD2=/mnt/windows/Programmi/Black Isle/BGII - SoA/CD2/ -CD3=/mnt/windows/Programmi/Black Isle/BGII - SoA/CD3/ -CD4=/mnt/windows/Programmi/Black Isle/BGII - SoA/CD4/ -CD5=/mnt/windows/Programmi/Black Isle/BGII - SoA/CD5/ - -##################################################### -# GemRB Cache Path [String] # -# # -# This is the path where GemRB will store the # -# cached files, enter the full path to the GemRB # -# Cache directory. # -##################################################### - -CachePath=./Cache/ - -##################################################### -# GemRB Save Path [String] # -# # -# This is the path where GemRB looks for saved # -# games. # -# Enter the full path to the directory containing # -# e.g. the 'save' subdirectory. # -# # -# You do not have to specify this if you use save # -# subdir in the GamePath directory. # -##################################################### - -#SavePath=/mnt/windows/Programmi/Black Isle/BGII - SoA/ - -###### HERE BE DRAGONS ############################# -###### HERE BE DRAGONS ############################# -###### HERE BE DRAGONS ############################# -# You shouldn't need to change anything below this point. - -##################################################### -# GemRB Path [String] # -# # -# This is the path where GemRB is stored, just # -# enter the full path to the GemRB executable # -##################################################### - -#GemRBPath=@DATA_DIR@ - -##################################################### -# GemRB GUI Scripts Path [String] # -# # -# This is the path where GemRB GUI scripts are # -# stored, usually these are in the GemRB directory # -# Enter the full path to the directory containing # -# the 'GUIScript' subdirectory. # -##################################################### - -#GUIScriptsPath=@DATA_DIR@ - -##################################################### -# GemRB Plugins Path [String] # -# # -# This is the path containing GemRB plugins # -# - shared libraries (.so) on Unixes, or # -# DLLs (.dll) on windows. # -# Enter the full path to the directory. # -# # -# You may need to specify this path if running # -# GemRB from source directory on Linux. # -##################################################### - -#PluginsPath=@PLUGIN_DIR@ - -##################################################### -# Game Data Path [String] # -# # -# This is the subdirectory under GamePath where # -# game data files are stored. # -# # -# You probably do NOT want to specify this! # -##################################################### - -#GameDataPath=data - -##################################################### -# Game Data Override Path [String] # -# # -# This is the subdirectory under GamePath where # -# game data override files are stored. # -# # -# You probably do NOT want to specify this! # -##################################################### - -#GameOverridePath=override - -##################################################### -# GemRB Data Override Path [String] # -# # -# This is the path where GemRB looks for the GemRB # -# data override directory. # -# # -# You probably do NOT want to specify this! # -##################################################### - -#GemRBOverridePath=@DATA_DIR@ - -##################################################### -# END # -##################################################### diff --git a/project/jni/application/gemrb/gemrb/GemRB.cpp b/project/jni/application/gemrb/gemrb/GemRB.cpp index 104171d7e..ecb6d5f24 100644 --- a/project/jni/application/gemrb/gemrb/GemRB.cpp +++ b/project/jni/application/gemrb/gemrb/GemRB.cpp @@ -39,7 +39,7 @@ #ifdef ANDROID #include -#include "audio.h" +#include "Audio.h" // pause audio playing if app goes in background static void appPutToBackground() diff --git a/project/jni/application/gemrb/gemrb/Makefile.am b/project/jni/application/gemrb/gemrb/Makefile.am deleted file mode 100644 index 4feac3dab..000000000 --- a/project/jni/application/gemrb/gemrb/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ -bin_PROGRAMS = gemrb -sysconf_DATA = GemRB.cfg.sample.in -gemrb_SOURCES = GemRB.cpp - -gemrb_LDADD = ./core/libgemrb_core.la - -SUBDIRS = core plugins includes GUIScripts override docs -EXTRA_DIST = GemRB.cfg* plugins-prepare.sh CMakeLists.txt - -gemrb_LDFLAGS = $(all_libraries) @LIBPTHREAD@ - -#install-data-local: -# $(INSTALL_DATA) GemRB.cfg* $(sysconfdir) diff --git a/project/jni/application/gemrb/gemrb/core/System/CachedFileStream.cpp b/project/jni/application/gemrb/gemrb/core/System/CachedFileStream.cpp deleted file mode 100644 index f9ae24892..000000000 --- a/project/jni/application/gemrb/gemrb/core/System/CachedFileStream.cpp +++ /dev/null @@ -1,213 +0,0 @@ -/* GemRB - Infinity Engine Emulator - * Copyright (C) 2003 The GemRB Project - * - * This program 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. - - * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - * - */ - -#include "System/CachedFileStream.h" - -#include "win32def.h" - -#include "Interface.h" - -CachedFileStream::CachedFileStream(const char* stream, bool autoFree) -{ - ExtractFileFromPath( filename, stream ); - PathJoin( originalfile, core->CachePath, filename, NULL ); - - str = _fopen( originalfile, "rb" ); - if (str == NULL) { // File was not found in cache - if (core->GameOnCD) { - _FILE* src = _fopen( stream, "rb" ); -#ifdef _DEBUG - core->CachedFileStreamPtrCount++; -#endif - _FILE* dest = _fopen( originalfile, "wb" ); -#ifdef _DEBUG - core->CachedFileStreamPtrCount++; -#endif - void* buff = malloc( 1024 * 1000 ); - do { - size_t len = _fread( buff, 1, 1024 * 1000, src ); - size_t c = _fwrite( buff, 1, len, dest ); - if (c != len) { - printf("CachedFileStream failed to write to cached file '%s' (from '%s')\n", originalfile, stream); - abort(); - } - } while (!_feof( src )); - free( buff ); - _fclose( src ); -#ifdef _DEBUG - core->CachedFileStreamPtrCount--; -#endif - _fclose( dest ); -#ifdef _DEBUG - core->CachedFileStreamPtrCount--; -#endif - } else { // Don't cache files already on hdd - strncpy(originalfile, stream, _MAX_PATH); - } - str = _fopen( originalfile, "rb" ); - } -#ifdef _DEBUG - core->CachedFileStreamPtrCount++; -#endif - startpos = 0; - _fseek( str, 0, SEEK_END ); - size = _ftell( str ); - _fseek( str, 0, SEEK_SET ); - Pos = 0; - this->autoFree = autoFree; -} - -CachedFileStream::CachedFileStream(CachedFileStream* cfs, int startpos, - int size, bool autoFree) -{ - this->size = size; - this->startpos = startpos; - this->autoFree = autoFree; - char cpath[_MAX_PATH]; - PathJoin( cpath, core->CachePath, cfs->filename, NULL ); - str = _fopen( cpath, "rb" ); - if (str == NULL) { - str = _fopen( cfs->originalfile, "rb" ); - if (str == NULL) { - printf( "Can't open stream (maybe leaking?)\n" ); - return; - } - strncpy( originalfile, cfs->originalfile, sizeof(originalfile) ); - strncpy( filename, cfs->filename, sizeof(filename) ); - } else { - strncpy( originalfile, cpath, sizeof(originalfile) ); - strncpy( filename, cfs->filename, sizeof(filename) ); - } -#ifdef _DEBUG - core->CachedFileStreamPtrCount++; -#endif - _fseek( str, startpos, SEEK_SET ); - - - Pos = 0; -} - -CachedFileStream::~CachedFileStream(void) -{ - if (autoFree && str) { -#ifdef _DEBUG - core->CachedFileStreamPtrCount--; -#endif - _fclose( str ); - } - str = NULL; - //autoFree = false; //File stream destructor hack -} - -int CachedFileStream::Read(void* dest, unsigned int length) -{ - //we don't allow partial reads anyway, so it isn't a problem that - //i don't adjust length here (partial reads are evil) - if (Pos+length>size ) { - return GEM_ERROR; - } - - unsigned int c = (unsigned int) _fread( dest, 1, length, str ); - if (c != length) { - return GEM_ERROR; - } - if (Encrypted) { - ReadDecrypted( dest, c ); - } - Pos += c; - return c; -} - -int CachedFileStream::Write(const void* src, unsigned int length) -{ - // do encryption here if needed - - unsigned int c = (unsigned int) _fwrite( src, 1, length, str ); - if (c != length) { - return GEM_ERROR; - } - Pos += c; - //this is needed only if you want to Seek in a written file - if (Pos>size) { - size = Pos; - } - return c; -} - -int CachedFileStream::Seek(int newpos, int type) -{ - switch (type) { - case GEM_CURRENT_POS: - _fseek( str, newpos, SEEK_CUR ); - Pos += newpos; - break; - - case GEM_STREAM_START: - _fseek( str, startpos + newpos, SEEK_SET ); - Pos = newpos; - break; - - default: - return GEM_ERROR; - } - //we went past the buffer - if (Pos>size) { - printf("[Streams]: Invalid seek position: %ld (limit: %ld)\n",Pos, size); - return GEM_ERROR; - } - return GEM_OK; -} - -/** No descriptions */ -int CachedFileStream::ReadLine(void* buf, unsigned int maxlen) -{ - if (!maxlen) { - return 0; - } - unsigned char * p = ( unsigned char * ) buf; - if (_feof( str )) { - p[0]=0; - return -1; - } - if (Pos >= size) { - p[0]=0; - return -1; - } - unsigned int i = 0; - while (i < ( maxlen - 1 )) { - int ch = _fgetc( str ); - if (Pos == size) - break; - if (Encrypted) - ch ^= GEM_ENCRYPTION_KEY[Pos & 63]; - Pos++; - if (( ( char ) ch ) == '\n') - break; - if (( ( char ) ch ) == '\t') - ch = ' '; - if (( ( char ) ch ) != '\r') - p[i++] = ch; - //Warning:this feof implementation reads forward one byte - if (_feof( str )) - break; - } - p[i] = 0; - return i; -} diff --git a/project/jni/application/gemrb/gemrb/core/System/CachedFileStream.h b/project/jni/application/gemrb/gemrb/core/System/CachedFileStream.h deleted file mode 100644 index 40042eb0d..000000000 --- a/project/jni/application/gemrb/gemrb/core/System/CachedFileStream.h +++ /dev/null @@ -1,45 +0,0 @@ -/* GemRB - Infinity Engine Emulator - * Copyright (C) 2003 The GemRB Project - * - * This program 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. - - * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * - * - */ - -#ifndef CACHEDFILESTREAM_H -#define CACHEDFILESTREAM_H - -#include "System/DataStream.h" - -#include "exports.h" - -class GEM_EXPORT CachedFileStream : public DataStream// : public FileStream -{ -private: - bool autoFree; - unsigned long startpos; - _FILE* str; -public: - CachedFileStream(const char* stream, bool autoFree = true); - CachedFileStream(CachedFileStream* cfs, int startpos, int size, - bool autoFree = true); - ~CachedFileStream(void); - int Read(void* dest, unsigned int length); - int Write(const void* src, unsigned int length); - int Seek(int pos, int startpos); - /** No descriptions */ - int ReadLine(void* buf, unsigned int maxlen); -}; -#endif diff --git a/project/jni/application/gemrb/gemrb/core/System/android_log_printf.cpp b/project/jni/application/gemrb/gemrb/core/System/android_log_printf.cpp deleted file mode 100644 index 73bf15cfd..000000000 --- a/project/jni/application/gemrb/gemrb/core/System/android_log_printf.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/* GemRB - Infinity Engine Emulator - * Copyright (C) 2011 The GemRB Project - * - * This program 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. - * - * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -#include -#include -#include - -int android_log_printf(const char * fmt, ...) { - int return_value; - va_list ap; - va_start(ap, fmt); - int characters = vfprintf(stdout, fmt, ap); // determine buffer size - if(characters<0) return characters; - char* buff = new char[characters+1]; - return_value = vsprintf(buff, fmt, ap); - va_end(ap); - __android_log_print(ANDROID_LOG_INFO, "printf:", buff); - delete buff; - return return_value; -} diff --git a/project/jni/application/gemrb/gemrb/core/System/android_log_printf.h b/project/jni/application/gemrb/gemrb/core/System/android_log_printf.h deleted file mode 100644 index 1cc17befc..000000000 --- a/project/jni/application/gemrb/gemrb/core/System/android_log_printf.h +++ /dev/null @@ -1,24 +0,0 @@ -/* GemRB - Infinity Engine Emulator - * Copyright (C) 2011 The GemRB Project - * - * This program 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. - * - * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -#ifndef IE_ANDROID_LOG_PRINTF_H -#define IE_ANDROID_LOG_PRINTF_H - -int android_log_printf(const char * fmt, ...); - -#endif diff --git a/project/jni/application/gemrb/gemrb/docs/CMakeLists.txt b/project/jni/application/gemrb/gemrb/docs/CMakeLists.txt deleted file mode 100644 index 37f622c03..000000000 --- a/project/jni/application/gemrb/gemrb/docs/CMakeLists.txt +++ /dev/null @@ -1 +0,0 @@ -ADD_SUBDIRECTORY( en ) diff --git a/project/jni/application/gemrb/gemrb/docs/Makefile.am b/project/jni/application/gemrb/gemrb/docs/Makefile.am deleted file mode 100644 index 81fee2104..000000000 --- a/project/jni/application/gemrb/gemrb/docs/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = en diff --git a/project/jni/application/gemrb/gemrb/docs/en/CMakeLists.txt b/project/jni/application/gemrb/gemrb/docs/en/CMakeLists.txt deleted file mode 100644 index f0874181d..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -INSTALL( - DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - DESTINATION ${DOC_DIR} - PATTERN CMakeLists.txt EXCLUDE - PATTERN Makefile.am EXCLUDE - PATTERN doxygen/* EXCLUDE -) diff --git a/project/jni/application/gemrb/gemrb/docs/en/CheatKeys.txt b/project/jni/application/gemrb/gemrb/docs/en/CheatKeys.txt deleted file mode 100644 index 0706a55a8..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/CheatKeys.txt +++ /dev/null @@ -1,88 +0,0 @@ -CHEAT AND DEBUG KEYS --------------------- - - -Following is a list of cheats you can use during development of GemRB. -If you implement a new cheatkey, try to assign the same key as in the -original engine (if you implement a similar function). -This list can be incomplete and obsolete - for current status, look into -gemrb/plugins/Core/GameControl.cpp, functions GameControl::OnKeyRelease() -and GameControl::Draw(). - -Cheat keys are disabled by default. To activate them, either type command -GemRB.EnableCheatKeys(1) on console (pops-up with CTRL+SPACE key combination) -or put it into some GUIScript - e.g. for PS:T in Start.py. - -GameControl control must be focused for the keys to be recognized, so it -might be needed to 'click' the GameControl (i.e. map) first. - - -Ctrl-A - Alters the animation ID of the actor. You have to hover your - mouse over it. - -Ctrl-B - Draws path from start point marked by Ctrl-O to current mouse - position. - -Ctrl-C - Force casts a hardcoded spell. The last selected actor is the - caster and the target is the door/actor currently under the - pointer. This currently casts knock (SPWI207). - -Ctrl-D - Trap or trapped container pointed w/ mouse is disarmed. - -Ctrl-F - Toggles fullscreen mode - -Ctrl-G - Dumps the global (game) object. Currently shows only loaded areas. - -Ctrl-I - Triggers an interaction between the last pointed npc and a random - party member. - -Ctrl-J - Teleports (jumps) selected actors to current mouse position. - -Ctrl-K - Kicks the actor out of the party. - -Ctrl-L - Plays the S056ICBL animation over the actor. (This exists in PST only) - TODO: iterate through animations, like the IE does. - -Ctrl-M - Prints (on terminal or DOS window) useful info on pointed actor, door - container or infopoint and current map - -Ctrl-O - Marks current mouse position as start point (origin) for path drawn - with Ctrl-B - -Ctrl-P - Centers the viewport on the selected actor. - -Ctrl-Q - The pointed actor will join the party. - -Ctrl-R - Resurrects pointed actor. If she's already alive, just heals. - -Ctrl-S - Alters the stance (animation state) of the actor. You have to - hover your mouse over it. - -Ctrl-T - Advances time by one hour. - -Ctrl-V - Explores a small, random part of the pointed area. - -Ctrl-X - Prints (on terminal or DOS window) name of current area script - and current mouse position converted to game coordinates. - -Ctrl-Y - Kills pointed actor or unlocks the pointed door/container, even - if it requires a key. - -Ctrl-Z - Same as Ctrl-A but backward - -Ctrl-1 - Changes the armour level - -Ctrl-4 - Toggles debug flag DEBUG_SHOW_INFOPOINTS (show all - traps, infopoints and wallgroups) - -Ctrl-6 - Toggles debug flag DEBUG_SHOW_LIGHTMAP (show the lightmap) - -Ctrl-7 - Toggle drawing of Fog-Of-War (actually explored bitmap atm.) - in GameControl. - -Ctrl-8 - Toggle drawing of searchmap over the area in GameControl. - -ALT - Toggles debug flag DEBUG_SHOW_CONTAINERS (show all containers - and doors) - -TAB - Sets debug flag DEBUG_XXX while pressed (unused) diff --git a/project/jni/application/gemrb/gemrb/docs/en/CodingStyle.txt b/project/jni/application/gemrb/gemrb/docs/en/CodingStyle.txt deleted file mode 100644 index a0aeaa8d0..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/CodingStyle.txt +++ /dev/null @@ -1,9 +0,0 @@ -Header file include order. - -- Header file associated to cpp file, or plugin base class header. -- Additional plugin headers. -- Headers in includes. -- Headers in core followed by subdirectories. -- System and library headers. - -Each item should be sorted in ascii order, and separated by blank lines. diff --git a/project/jni/application/gemrb/gemrb/docs/en/Engine/Charcolors.txt b/project/jni/application/gemrb/gemrb/docs/en/Engine/Charcolors.txt deleted file mode 100644 index 1d8de000e..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Engine/Charcolors.txt +++ /dev/null @@ -1,36 +0,0 @@ -There are 4 distinct palettes. - -Known values of palette (p) are: -0 Body -1 Weapon -2 Shield (or Off-hand weapon) -3 Helmet - -Each has 7 colour slots at most. -Known values of slots (s) are: -Body: - 0 - Metal - 1 - Minor - 2 - Major - 3 - Skin - 4 - Leather - 5 - Armor - 6 - Hair - -Weapon: - 0 - Crossguard - .. - 5 - Grip - 6 - Blade - -etc. - -The combined palette location is given in

format, where both numbers are 4 bits. - - - -In GemRB we store these values in the 7 stats starting at IE_COLORS. -Each stat stores four colour gradients (each as a byte). -The n-th stat contains the n-th colour for body, weapon, shield, helmet, from -least significant to most significant byte. - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Engine/Containers.txt b/project/jni/application/gemrb/gemrb/docs/en/Engine/Containers.txt deleted file mode 100644 index 86f8e0c91..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Engine/Containers.txt +++ /dev/null @@ -1,57 +0,0 @@ - -Container specification (based on IESDP) - -Relevant structures: --------------------- - -typedef struct { - char containername[32]; - short posx, posy; - short type; - short lockdiff; - long flags; - short trapdetect; - short trapremove; - short trapped; - short trapvisible; - short launchx, launchy; - short p1x, p1y, p2x, p2y; //minimum bounding box - long firstitem; - long itemcount; - char trapscript[8]; - long firstvertex; - short vertexcount; - short unknown56; - char scriptname[32]; - char keyitem[8]; - short unknown80; - short unknown82; - long strref; //STRREF!!! - char unused[56]; -} area_container; - - -Description: ------------- -The container's name is not really relevant, it is used only in editors. Scripts reference a container by -the scriptname field. The container's position determines the opening location. -All container types are similar, except that only a few got a special graphics (BAM), see containr.2da in GemRB. -The ground piles are special containers of type 4. Ground pile containers show the item's ground icon instead of -the container's trigger polygon. Containers could be locked, the lockdiff field determines the difficulty to open -them by force. The trapdetect and trapremove fields determine the trap detection and removal difficulties. -The trapped field shows if the trap is still trapped, and the trapvisible field (GemRB implements it as a countdown) -shows if the trap is still visible. The launch point determines the origin of spells cast by the trap script. -The bounding box has effect on the polygon only. The trapscript is not necessarily a trap, this script is always running -not like the door's script. There are several triggers that might affect this script. (OpenFail, Open, Lockpick fail). -The firstitem/itemcount fields point to the inventory of the container (or ground pile). -The keyitem determines if there is a key. (There should be a keyremoval field like with doors, but it isn't yet found). -The strref is the openfail message (when it is 100% impossible to open). - -Container flags: ----------------- -0x00000001 - The container is locked, opening by brute force, key or lockpick is needed. -0x00000002 - ? -0x00000004 - ? -0x00000008 - The script isn't removed when it is triggered. -0x00000010 - ? -0x00000020 - The container is disabled, the polygon is still active, but the container is not accessible to PC's diff --git a/project/jni/application/gemrb/gemrb/docs/en/Engine/Doors.txt b/project/jni/application/gemrb/gemrb/docs/en/Engine/Doors.txt deleted file mode 100644 index dbed88f61..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Engine/Doors.txt +++ /dev/null @@ -1,101 +0,0 @@ - -Door specification (based on IESDP) - -Relevant structures: --------------------- - -typedef struct { - char doorid[8]; //matched with area_door.doorid - short closed; //this is largely unknown, probably it shows which tile represents the closed state - short firstdoortileidx; //door tile cell indices are 16 bit values - short countdoortileidx; - short countpolygonopen; //wallpolygon count for the open door state - short countpolygonclose; //wallpolygon count for the closed door state - long offsetpolygonopen; //wallpolygon offset for the open door state - long offsetpolygonclose; //wallpolygon offset for the closed door state -} wed_door; - -typedef struct { - char doorname[32]; //scripting name - char doorid[8]; //wed reference - long flags; //door flags, see below - long firstvertexopen; //first open vertex index - short countvertexopen; //count of open vertices - short countvertexclose; //count of closed vertices - long firstvertexclose; //first closed vertex index - short op1x,op1y,op2x,op2y; //minimum bounding box for open - short cp1x,cp1y,cp2x,cp2y; //minimum bounding box for close - long firstblockopen; //first open impeded blocks (for searchmap) - short countblockopen; //count of open impeded blocks - short countblockclose; //count of closed impeded blocks - long firstblockclose; //first closed impeded blocks (for searchmap) - long unknown54; //unused in tob - char openres[8]; //opening sound resource reference - char closeres[8]; //closing sound resource reference - long cursortype; //mouse cursor type (when mouse is over the door polygon) - short trapdetect; //difficulty of detecting a trap - short trapremoval; //difficulty of removing a trap - short trapflags; // - short trapdetflags; // - short launchx, launchy; //traps are launched from this point - char key[8]; //key item resource reference - char openscript[8]; //(trap) script, activated at first triggering (opening door) - long locked; // - long lockremoval; //difficulty of opening the door - short locp1x, locp1y; //open location 1 - short locp2x, locp2y; //open location 2 - long strref; //check this for missing strings STRREF!!! - char regionlink[24]; - long nameref; //check this for missing strings STRREF!!! - char dlgref[8]; //? - char unknownc0[8]; //? -} area_door; - -Description: ------------- - -Scripts reference the door using the doorname field (Scripting Name). -The relation between the two structures (wed/area) is established by the doorid field. -Each door is a 'wall', the wall polygons are stored in the wed part of the door. -The doors also reference two sets of tiles (also in the wed). -Each door is a special info point with a separate trigger area (polygon) for the open/closed state. -The bounding boxes are used when rendering the trigger area polygons (actually, could be auto-generated). -The impeded blocks are superpositioned on the searchmap, they block passage, vision (unless door is transparent) or -changing the door's state (unless door is sliding). -The opening/closing sounds of a door are modifiable, though there is a default one (PST has no default sounds). -If a door is hidden, then the default sound is different. -The cursor type applies when the mouse is over the trigger area of the door (both states have the same cursor). -If a door has a script assigned and the trap is detectable the trap detection difficulty determines the chance of -success. If the difficulty is exactly 100, then it is impossible to detect (a flaw in the original engine lets >100 -values to be detectable). In the impossible case, a message (strref) will be displayed. -The trap removal difficulty is similarly handled. If trapflags is nonzero, then the trap is still active. -If Trapdetflags is nonzero, then the trap is still visible. (GemRB will implement the latter as a counter which -counts down until 0). The trap (if the script starts a spell) is fired from the launch point. -The key resource has meaning only if the door is locked. If it is empty, then the door cannot be unlocked by key. -The door is also openable by brute force, the difficulty for this is stored in lockremoval. -The actor who operates the door will walk up to the closest of the open locations. -Regionlink is a reference to a travel region which is blocked by the door, if the door is closed. -//not tested -Nameref is the name of the door in case of a dialog. DlgRef is the door's dialog. - -The door flags are these: - -Value Meaning if set ------ -------------- -0x00000001 - The door is closed (PST), the door is open (other games). When a door's state is changed, - (OpenDoor/CloseDoor actions), its (trap) script is triggered. -0x00000002 - The door is locked, the lock difficulty must be set to nonzero to have this any effect. -0x00000004 - The script isn't removed when it is triggered. -0x00000008 - The trap (script) is detectable (fair to set it for real traps). -0x00000010 - Broken? -0x00000020 - Can't close? -0x00000040 - An info trigger is linked to this door. -0x00000080 - Secret door -0x00000100 - Secret door already found (purple outline) -0x00000200 - The impeded doors are ignored concerning vision (door is transparent) -0x00000400 - The key object is removed when unlocking the door -0x00000800 - The impeded blocks are ignored when opening the door (sliding door) -0x00001000 - ? -0x00002000 - ? -0x00004000 - ? -0x00008000 - ? diff --git a/project/jni/application/gemrb/gemrb/docs/en/Engine/Effects.txt b/project/jni/application/gemrb/gemrb/docs/en/Engine/Effects.txt deleted file mode 100644 index c6e139e3d..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Engine/Effects.txt +++ /dev/null @@ -1,116 +0,0 @@ -A kind of 'specification' for the IE game effects. -This description uses the IESDP effect structure definition with updates. - -V1.0 effect struct (you need to convert it to V2 on the fly) -typedef struct { - short feature; //opcode - unsigned char target; //target type - unsigned char power; //level - parameter par1; - parameter par2; - unsigned char timing; //timing method - unsigned char resist; //resistance type - long duration; - unsigned char prob2; //usually 100 - unsigned char prob1; //usually 0 - char resource[8]; //1. resource - long count; - long sides; - long stype; - long sbonus; - long unknown2c; //unused in V1.0, but copied over to 2.0 -} feat_block; - -//effect body (V2.0 effects) -//please note that in an .eff file there is an additional header -//before these (the first 8 bytes are doubled) -Offset Size (data type) Description -0x0000 4 (char array) For on disk effects, this is a copy of the Signature field from the header. For embedded EFF V2.0 structures, this is zeroed out. -0x0004 4 (char array) For on disk effects, this is a copy of the Version field from the header. For embedded EFF V2.0 structures, this is zeroed out. -0x0008 4 (dword) Effect type -0x000c 4 (dword) Target type -0x0010 4 (dword) Power (level) -0x0014 4 (dword) NP1 -0x0018 4 (dword) NP2 -0x001c 4 (dword) Flags (timing method) - 0 - duration - 1 - permanent - 2 - while equipped (source of effect) - 3 - delayed duration (after delay duration) - 4 - delayed (after delay it is permanent) - 5 - special, delayed, unsaved - 6 - special, duration - 7 - special, ? - 8 - permanent, unsaved - 9 - permanent after death - 10 - trigger (just expired) - -0x0020 4 (dword) Time (duration) -0x0024 2 (word) Probability 1 -0x0026 2 (word) Probability 2 -0x0028 8 (resref) resource -0x0030 4 (dword) die sides/max level -0x0034 4 (dword) dice count/min level -0x0038 4 (dword) save type (stype) -0x003c 4 (dword) save bonus (sbonus) -0x0040 4 (dword) Is Variable? (same as 0x2c in EFF V1.0) -0x0044 4 (dword) Spell School (used for dispelling) -0x0048 4*3 (dword) Unknown -0x0054 4 (dword) Resistance Type (resist) -0x0058 4 (dword) NP3 -0x005c 4 (dword) NP4 -0x0060 4*2 (dword) unknown -0x0068 8 (resref) VVC -0x0070 8 (resref) 3. resource -0x0078 4*2 (point) Source point -0x0080 4*2 (point) Target point -0x0088 4 (dword) Source type of effect (0 - none, 1 - item, 2 - spell) -0x008c 8 (resref) Source of Effect (used for equipping and dispelling) -0x0094 4 (dword) resource flags -0x0098 4 (dword) projectile -0x009c 4 (dword) item slot -0x00a0 32 (bytes) variable -0x00c0 4*2 (dword) unknown -0x00c8 4 (dword) Secondary Type (used for dispelling) -0x00cc 4*15 (dword) unknown - - -An effect's lifecycle: -(apply time) -1. Check if it affects the target -- if percentages don't match, drop it -- if level limits don't match, drop it (some effects don't have this) -- if resistable, check for resistance (once for an applied block) -- if saving throw applies, check for it (once for an applied block) -2. If it is a delayed effect -- precalculate the time of onset (in game time) (store it in the duration field). -- put it on the fx list -3. If it is an instant effect (some opcodes ignore delays, so they are always instant) - -(in each update cycle in creatures) -1. copy the original stats to the modified stats -2. apply all effects in their original order -- if the effect isn't in time (delayed or delayed duration, 3 or 4), skip it -- if a delayed effect reached time: change it to permanent (i think this is a different permanent) -- if a delayed duration effect reached time: change it to duration -- if the effect is permanent (1 or 9), apply it (some effects couldn't be permanent, these effects just apply, then go away) -- if the effect reached end (duration), set a special timing method (10) -- if an effect reached expiration (10) remove it from the queue - -(dispelling/removal) -There should be a way of: -1. Dispelling all by power level ( remove all effects <= power level) -2. Dispelling all by source of effect ( remove all effects == soe) -3. Dispelling all or first that matches a spell school or secondary type -- there is a 'dispellable' flag in the effects which normally disables dispelling. But there should be a 'forced dispel' flag. -4 On death: remove all effects except (9) - -(saving) -Effects that are not saved: 2 -'while equipped' - - -(probability, gemrb specific) -If the low probability field was set to 100, then the high probability field contains the -stat which determines the chance of the effect. For example: -100/136 would determine the chance of the effect based on the caster's detect illusions skill. - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Engine/Makefile.am b/project/jni/application/gemrb/gemrb/docs/en/Engine/Makefile.am deleted file mode 100644 index 340c98d2c..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Engine/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ -enginedocs_DATA = *.txt -enginedocsdir = $(docdir)/Engine/ -EXTRA_DIST = *.txt diff --git a/project/jni/application/gemrb/gemrb/docs/en/Engine/Projectile.txt b/project/jni/application/gemrb/gemrb/docs/en/Engine/Projectile.txt deleted file mode 100644 index f69c898e5..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Engine/Projectile.txt +++ /dev/null @@ -1,38 +0,0 @@ -Projectile extension flags for GemRB - -These flags reside in the .pro format on offset 0x2c - -1 Bounce from walls -2 Continue on original path as travel projectile after explosion -4 Freeze as travel projectile after explosion -8 No travel path (move to destination immediately, thus skipping the travel phase) -16 Trail bams got the same orientation behaviour as the travel bam -32 Curved path -64 Random starting frame for travel projectile -128 Pillar type projectiles (instead of orientations, the cycles are drawn vertically on top of each other) -256 Half transparent travel projectile (not blend, but could be combined with it) -512 Static tinted travel projectile -1024 Create another projectile with an ID one less than the current one (missile iteration) -2048 Tile the whole area of effect with the travel bam -4096 Freefalling trajectory (appears horizontally over the target) -8192 Incoming trajectory (appears diagonally over the target) -16384 The area of effect is a line from source to target -32768 The area of effect is a line (wall) crossing target, ahead of source -65536 Draw behind (under) the target -0x20000 Draw pop in/hold/pop out animation sequence -0x40000 Internal flag for 0x20000 (after pop in phase was done) - could be used to play 2 phases, first shadow, then travel bam -0x80000 Slowly fade out a freezed projectile (used with flag 0x4) -0x100000 Display string in setup (string reference is stored on offset 0x30) -0x200000 Random movement instead of path - -These fields are in the .pro format in the Extension structure: -0x228 - ResRef - spread animation (RESOURCE2 in areapro.2da) -0x230 - ResRef - secondary animation (RESOURCE3 in areapro.2da) -0x238 - ResRef - area sound (SOUND2 in areapro.2da) -0x240 - Dword - flags in areapro.2da - -Other areapro.2da fields -0x21c - ResRef - RESOURCE1 -0x208 - ResRef - SOUND1 - -See areapro.2da for more information. diff --git a/project/jni/application/gemrb/gemrb/docs/en/Engine/Triggers.txt b/project/jni/application/gemrb/gemrb/docs/en/Engine/Triggers.txt deleted file mode 100644 index 4722e74d7..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Engine/Triggers.txt +++ /dev/null @@ -1,8 +0,0 @@ - Door Container Travel Trap Info Actor -LastEntered Opened - - Entered/IsOverMe - LastHitter -LastTrigger Closed - - - Clicked LastSummoner -LastUnlocked Unlocked - - - - LastTalkedTo -LastDisarmFailed DisarmFailed DisarmFailed - DisarmFailed - LastTarget -LastDisarmed Disarmed Disarmed - Disarmed - LastAttacker -LastOpenFailed OpenFailed OpenFailed - - PickPocketFailed diff --git a/project/jni/application/gemrb/gemrb/docs/en/Engine/Usability.txt b/project/jni/application/gemrb/gemrb/docs/en/Engine/Usability.txt deleted file mode 100644 index 41028c38e..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Engine/Usability.txt +++ /dev/null @@ -1,5 +0,0 @@ -Usability hacks in the original IE engine - -(0x00040000) Assasin - 15 skill points (skills.2da) -(0x00080000) Bountyhunter - 20 skill points (skills.2da) -(0x00100000) Swashbuckler - no backstab multiplier (TODO) diff --git a/project/jni/application/gemrb/gemrb/docs/en/EngineChanges.txt b/project/jni/application/gemrb/gemrb/docs/en/EngineChanges.txt deleted file mode 100644 index 2a45d9451..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/EngineChanges.txt +++ /dev/null @@ -1,29 +0,0 @@ -Changes to the original engines -******************************* - - -Generally the changes were designed to be compatible with the original game files. No additional fields added (so far), only previously unused parts are used. - -1. Items entries: -Item entries in stores, containers, creatures will have additional flags. These flags will extend the usage of HasItem, DestroyItem, TakeItem scripting functions. The first four flags should be familiar. - -IE_ITEM_IDENTIFIED = 1 -IE_ITEM_UNSTEALABLE = 2 -IE_ITEM_STOLEN = 4 -IE_ITEM_UNDROPPABLE = 8 -//these are GemRB extensions -IE_ITEM_ACQUIRED = 0x10 -IE_ITEM_DESTRUCTIBLE = 0x20 -IE_ITEM_EQUIPPED = 0x40 -IE_ITEM_STACKED = 0x80 - -This will make possible scripts like these: -HasAnyItem(STOLEN) -TakeAllStolenItem() -DropAllEquippedItem() -HasItem("SWORD",EQUIPPED|IDENTIFIED) - -2. Journal entries: -Journal entries will have an additional Group ID. This group ID will make it possible to remove a group of journal entries along with adding a new one of the same group using solely the dialog structure. This eliminates the problem of residue entries. Also, you don't have to remember the journal entry strref, just assign a unique group (quest ID). -The quest ID byte will be stored on offset 0x0002 in the transition table entry. -The former flags field (it was a dword) will be a word. Its highest bit will be the group flag. Unless this flag is set, the behaviour will be the same as before. If you set this flag, then all journal entries set with the same id will be removed before adding the new one. The scripting actions will also accept an additional quest ID parameter. diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ActOnPC.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ActOnPC.txt deleted file mode 100644 index 5cdefa66b..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ActOnPC.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: ActOnPC(player) - -Metaclass Prototype: / - -Description: Targets the selected PC for an action (cast spell, attack, ...) - -Parameters: player - the pc's party position (1-10) - -Return value: / - -See also: ClearActions, SetModalState, SpellCast - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/AddGameTypeHint.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/AddGameTypeHint.txt deleted file mode 100644 index 5c48c7200..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/AddGameTypeHint.txt +++ /dev/null @@ -1,17 +0,0 @@ -Prototype: GemRB.AddGameTypeHint(type, weight, flags=0) - -Description: Asserts that GameType should be TYPE, with confidence WEIGHT. - This is used by Autodetect.py scripts when GameType was - set to 'auto' in config file. - -Parameters: type - GameType (e.g. bg1, bg2, iwd, how, iwd2, pst and possibly others) - weight - numeric, confidence that TYPE is correct. Standard games should use - values <= 100, (eventual) new games based on the standard ones - should use values above 100. - flags - numeric, not used now - - -Return value: N/A - -MD5: 1c130785e329448b743a7f160b07a312 - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/AdjustScrolling.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/AdjustScrolling.txt deleted file mode 100644 index 76bd4ce8b..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/AdjustScrolling.txt +++ /dev/null @@ -1,26 +0,0 @@ - -Prototype: AdjustScrolling(WindowIndex, ControlIndex, x, y) - -Metaclass Prototype: AdjustScrolling(x, y) - -Description: Sets the scrolling offset of a WorldMapControl. - -Parameters: WindowIndex, ControlIndex - the control's reference -x,y - scrolling offset values - -Return value: N/A - -Example: - #northeast - Button = GemRB.GetControl (Window, 9) - GemRB.SetEvent (Window, Button, IE_GUI_BUTTON_ON_PRESS, "MapNE") -... -def MapNE(): - GemRB.AdjustScrolling (Window, WorldMapControl, 10, -10) - return -The above lines set up a button event. When the button is pressed the worldmap will be shifted in the northeastern direction. - -See also: CreateWorldMapControl - - -MD5: 500775c70886362ce1ebc9353505027f diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ApplyEffect.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ApplyEffect.txt deleted file mode 100644 index 6d9dc6661..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ApplyEffect.txt +++ /dev/null @@ -1,31 +0,0 @@ - -Prototype: GemRB.ApplyEffect(PartyID, opcode, param1, param2[, resref, resref2, resref3, source]) - -Description: Creates a basic effect and applies it on the player character -marked by PartyID. -This function could be used to add stats that are stored in effect blocks. - -Parameters: -PartyID - the player character's index in the party -opcode - the effect opcode (for values see effects.ids) -param1 - parameter 1 for the opcode -param2 - parameter 2 for the opcode -resref - optional resource reference to set in effect -resref2 - (optional) resource reference to set in the effect -resref3 - (optional) resource reference to set in the effect -resref4 - (optional) resource reference to set in the effect -source - (optional) source to set in the effect - -Return value: N/A - -Example: - for i in range(ProfCount-8): - StatID = GemRB.GetTableValue(TmpTable, i+8, 0) - Value = GemRB.GetVar ("Prof "+str(i) ) - if Value: - GemRB.ApplyEffect (MyChar, "Proficiency", Value, StatID ) - -The above example sets the weapon proficiencies in a bg2's CharGen9.py script. - -See also: SpellCast, SetPlayerStat, GetPlayerStat, CountEffects - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ApplySpell.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ApplySpell.txt deleted file mode 100644 index 7bfc00818..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ApplySpell.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.ApplySpell(PartyID, resref) - -Description: Applies a spell on the actor marked by PartyID. -This function can be used to add abilities that are stored as spells (eg. innates) - -Parameters: -PartyID - the player character's index in the party -resref - spell resource reference - -Return value: N/A - -See also: SpellCast, ApplyEffect, CountEffects - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/AttachScrollBar.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/AttachScrollBar.txt deleted file mode 100644 index ed93c5014..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/AttachScrollBar.txt +++ /dev/null @@ -1,12 +0,0 @@ - -Prototype: AttachScrollBar(WindowIndex, ControlIndex, ScrollBarControlIndex) - -Description: Attaches a scrollbar to a control. If the control receives mousewheel events, it will be relayed to the ScrollBar. TextArea controls will also be synchronised with the scrollbar. If there is a single ScrollBar on the window, or the ScrollBar was set with SetDefaultScrollBar, this command is not needed. - -Parameters: WindowIndex, ControlIndex - the control's reference -ScrollBarControlIndex - the scrollbar's index on the same window - -Return value: N/A - -See also: ConvertEdit, SetDefaultScrollBar - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CanUseItemType.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CanUseItemType.txt deleted file mode 100644 index 4576a8258..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CanUseItemType.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.CanUseItemType(slottype, itemname[, actor, equipped]) - -Description: Checks the itemtype vs. slottype, and also checks the usability flags vs. Actor's stats (alignment, class, race, kit etc.) - -Parameters: -slottype - the slot to check (See ie_slots.py) -itemname - the resource reference of the item -actor - the actor's number in the team (if 0, then actor is not unimportant) -equipped - whether the item is equipped (if so, don't consider disabled items to be unusable) - -Return value: boolean - -See also: DropDraggedItem, UseItem - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ChangeContainerItem.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ChangeContainerItem.txt deleted file mode 100644 index 545a50574..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ChangeContainerItem.txt +++ /dev/null @@ -1,18 +0,0 @@ - -Prototype: ChangeContainerItem( PartyID, slot, action ) - -Description: Moves an item from PC's inventory into a container or vice versa. If PartyID is 0 then PC is the first selected PC and container is the current container. If PartyID is not 0 then the container is the pile at the feet of that PC. - -Parameters: -PartyID - the PC's position in the party -slot - the item's inventory or container slot -action = - 0 - put item of PC into container - 1 - get item from container and put it in actor's inventory (backpack) - -Return value: None - -See also: GetContainer, GetSlotItem - - -MD5: b5226a9f5a886c5552438cf1598c72e1 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ChangeItemFlag.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ChangeItemFlag.txt deleted file mode 100644 index 39c0c5d93..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ChangeItemFlag.txt +++ /dev/null @@ -1,28 +0,0 @@ - -Prototype: GemRB.ChangeItemFlag(PartyID, slot, flags, mode) - -Description: Changes the flags of an inventory slot. For example, identifies an item. - -Parameters: -PartyID - the PC's position in the party (1 based) -slot - inventory slot -flags - a bitfield, same as the GetSlotItem flags -IE_INV_ITEM_IDENTIFIED = 0x01 - the item is identified -IE_INV_ITEM_UNSTEALABLE = 0x02 - the item is unstealable -IE_INV_ITEM_STOLEN = 0x04 - the item is marked as stolen -IE_INV_ITEM_UNDROPPABLE = 0x08 - the item is undroppable (dragitem fails) -IE_INV_ITEM_ACQUIRED = 0x10 - the item was recently acquired -IE_INV_ITEM_DESTRUCTIBLE = 0x20 - the item is removable -IE_INV_ITEM_EQUIPPED = 0x40 - the item is equipped -IE_INV_ITEM_STACKED = 0x80 - the item is a stacked item - -mode - binary operation type -OP_SET = 0 - sets all bits as flag -OP_AND = 1 - turns all other bits off -OP_OR = 2 - turns bit on -OP_XOR = 3 - toggles bit -OP_NAND = 4 - turns bit off - -Return value: Returns false if the item was not found. - -See also: GetSlotItem diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ChangeStoreItem.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ChangeStoreItem.txt deleted file mode 100644 index 67eff2774..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ChangeStoreItem.txt +++ /dev/null @@ -1,23 +0,0 @@ - -Prototype: ChangeStoreItem( PartyID, slot, action ) - -Description: Performs a buy, sell, identify or steal action. Action has the same bit values as IsValidStoreItem. - -Parameters: -PartyID - the PC's position in the party -slot - the item's inventory or store slot -action - bitfield -1 - buy -2 - sell -4 - identify -8 - steal -Add 0x40 for selection (in case of buy/sell only) - -Return value: - 0 - failure - 2 - success - -See also: EnterStore, GetSlotItem, GetStoreItem, IsValidStoreItem - - -MD5: 07c89de8dbd0236f8c206b06abe4b3dc diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CheckFeatCondition.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CheckFeatCondition.txt deleted file mode 100644 index 835350dea..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CheckFeatCondition.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.CheckFeatCondition(partyslot, a_stat, a_value, b_stat, b_value, c_stat, c_value, d_stat, d_value) - -Description: Checks if a party character is eligible for a feat, the formula is: (stat[a]>=a or stat[b]>=b) and (stat[c]>=c or stat[d]>=d) - -Parameters: partyslot - the characters position in the party - a_stat,b_stat, c_stat, d_stat - stat IDs - a_value, b_value, c_value, d_value - stat value limits - -Return value: bool - -See also: GetPlayerStat, SetPlayerStat - - -MD5: b237a66b3abbb49ede75897d3d1ee0da diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CheckVar.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CheckVar.txt deleted file mode 100644 index d737eb191..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CheckVar.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.CheckVar(VariableName, Context) - -Description: Return (and output on terminal) the value of a Game Variable. It executes the CheckVariable gamescript function in the last actor's context, or, short of that, in the current area's context. If there is no running game, it terminates the script. -GetGameVar("variable") is effectively the same as CheckVar("variable","GLOBAL"). - -Parameters: VariableName - must be shorter than 32 bytes - Context - must be exactly 6 bytes long -Special cases for Context: LOCALS, GLOBAL, MYAREA - -Return value: numeric - -See also: GetGameVar - - -MD5: 872634ab7317e9f381a71f00771f29cd diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ClearActions.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ClearActions.txt deleted file mode 100644 index 95aea7612..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ClearActions.txt +++ /dev/null @@ -1,9 +0,0 @@ - -Prototype: GemRB.ClearActions(Slot) - -Description: Stops a player character's movement and any pending action. - -Parameters: Slot - actor index in game structure - -Return value: N/A - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ConvertEdit.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ConvertEdit.txt deleted file mode 100644 index cf6b138d4..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ConvertEdit.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.ConvertEdit(WindowIndex, ControlID[, ScrollBarID]) - -Description: Converts a TextEdit control into an editable TextArea control. TextAreas have unlimited editbuffer, scrollbar and wordwrap abilities. The optional ScrollBar must already been created. - -Parameters: -WindowIndex - the value returned from LoadWindow -ControlID - the old control's controlID, usually it will be preserved, but don't rely on it -ScrollBarID - the optional ScrollBar controlID. - -Return value: The new ControlID - -See also: CreateTextEdit diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CountEffects.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CountEffects.txt deleted file mode 100644 index 34a823c45..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CountEffects.txt +++ /dev/null @@ -1,22 +0,0 @@ - -Prototype: GemRB.CountEffects(PartyID, opcode, param1, param2[, resref]) - -Description: Counts the number of effects currently affecting the target. -If a parameter was set to -1, it will be ignored. - -Parameters: -PartyID - the player character's index in the party -opcode - the effect opcode (for values see effects.ids) -param1 - parameter 1 for the opcode -param2 - parameter 2 for the opcode -resref - optional resource reference to match the effect - -Return value: N/A - -Example: - res = GemRB.CountEffect (MyChar, "HLA", -1, -1, AbilityName ) - -The above example returns how many HLA effects were applied on the character. - -See also: ApplyEffect - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateButton.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateButton.txt deleted file mode 100644 index 7ce76ac3a..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateButton.txt +++ /dev/null @@ -1,17 +0,0 @@ - -Prototype: GemRB.CreateButton(WindowIndex, ControlID, x, y, w, h) - -Metaclass Prototype: CreateButton(ControlID, x, y, w, h) - -Description: Creates and adds a new Button to a Window. - -Parameters: -WindowIndex - the value returned from LoadWindow -ControlID - the new control will be available via this controlID -x,y,w,h - X position, Y position, Width and Height of the control - -Return value: N/A - -See also: CreateLabel, CreateMapControl, CreateWorldMapControl, CreateTextEdit - -MD5: cca3f572a4ebf8b1e9974f83f6e756aa diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateCreature.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateCreature.txt deleted file mode 100644 index 1c72b31cb..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateCreature.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.CreateCreature(PartyID, CreResRef) - -Description: Creates Creature in the vicinity of the player character. - -Parameters: -PartyID - the PC's position in the party -CreResRef - the creature's name (.cre resref) - -Return value: N/A - -See also: CreateItem - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateItem.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateItem.txt deleted file mode 100644 index 1e121f912..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateItem.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.CreateItem(PartyID, ItemResRef, [SlotID, Charge0, Charge1, Charge2]) - -Description: Creates Item in the inventory of the player character. - -Parameters: -PartyID - the PC's position in the party -ItemResRef - the item's name (.itm resref) -SlotID - Inventory Slot (-1 means any backpack slot) -Charge0-2 - The item's stack amount/charges - -Return value: N/A - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateLabel.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateLabel.txt deleted file mode 100644 index 118c19ced..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateLabel.txt +++ /dev/null @@ -1,27 +0,0 @@ - -Prototype: GemRB.CreateLabel(WindowIndex, ControlID, x, y, w, h, font, text, align) - -Metaclass Prototype: CreateLabel(ControlID, x, y, w, h, font, text, align) - -Description: Creates and adds a new Label to a Window. - -Parameters: -WindowIndex - the value returned from LoadWindow -ControlID - the new control will be available via this controlID -x,y,w,h - X position, Y position, Width and Height of the control -font - a .bam resref which must be listed in fonts.2da too -text - initial text of the label (must be string) -align - label text alignment - -Return value: N/A - -Example: - GemRB.CreateLabel(StartWindow, 0x0fff0000, 0,415,640,30, "EXOFONT", "", 1) - Label=GemRB.GetControl(StartWindow, 0x0fff0000) - GemRB.SetText(StartWindow, Label,GEMRB_VERSION) -The above lines add the GemRB version string to the PST main screen. - -See also: CreateButton, SetText - - -MD5: aaeaa42947bb1bc3cde0719ad5e08b51 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateLabelOnButton.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateLabelOnButton.txt deleted file mode 100644 index 3bad18370..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateLabelOnButton.txt +++ /dev/null @@ -1,18 +0,0 @@ - -Prototype: GemRB.CreateLabelOnButton(WindowIndex, ButtonControlID, NewID, font, align) - -Metaclass Prototype: CreateLabelOnButton(NewID, font, align) - -Description: Creates and adds a new Label to a Window, based on the dimensions of an existing button. If the NewID is the same as the old button ID, the old button will be converted to this Label (the old button will be removed). - -Parameters: -WindowIndex - the value returned from LoadWindow -ButtonControlID - the button control to be copied/converted -NewID - the new control will be available via this controlID -font - a .bam resref which must be listed in fonts.2da too -align - label text alignment - -Return value: N/A - -See also: CreateButton, CreateLabel - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateMapControl.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateMapControl.txt deleted file mode 100644 index d07339de6..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateMapControl.txt +++ /dev/null @@ -1,20 +0,0 @@ - -Prototype: GemRB.CreateMapControl(WindowIndex, ControlID, x, y, w, h, [LabelID, FlagResRef [, Flag2ResRef]] - -Metaclass Prototype: CreateMapControl(ControlID, x, y, w, h, [LabelID, FlagResRef [, Flag2ResRef]] - -Description: Creates and adds a new Area Map Control to a Window. If WindowIndex and ControlID (not ControlIndex!) point to a valid control, it will replace that control with the MapControl using the original control's dimensions (x,y,w,h are ignored). It is possible to associate a variable with the MapControl, in this case, the associated variable will enable or disable mapnotes (you must supply a LabelID and the resources for the pins). - -Parameters: -WindowIndex - the value returned from LoadWindow -ControlID - the new control will be available via this controlID -x,y,w,h - X position, Y position, Width and Height of the control -LabelID - associated control ID to display mapnotes, it must be a label -FlagResRef - Resource Reference for the pins, if no Flag2ResRef is given, this should be a .bam resref. If there is a second resref, then both must be .bmp. -Flag2ResRef - the readonly mapnotes are marked by this .bam (red pin) - - -Return value: N/A - -See also: SetVarAssoc, SetMapnote - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateMovement.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateMovement.txt deleted file mode 100644 index acd09b821..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateMovement.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.CreateMovement(Area, Entrance[, Direction]) - -Description: Moves some or all actors of the current area to the destination area. - -Parameters: Area - The area resource reference where the player(s) should arrive. - Entrance - The area entrance in the Destination area. - Direction - The direction flag (from WMP) to use if the entrance doesn't exist. - -Return value: N/A - -See also: GetDestinationArea - -MD5: b19700ed972c915b0910b40a746a87ee diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreatePlayer.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreatePlayer.txt deleted file mode 100644 index dd8bc3063..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreatePlayer.txt +++ /dev/null @@ -1,25 +0,0 @@ - -Prototype: CreatePlayer(CREResRef, Slot [,Import, VersionOverride] ) - -Description: Adds an actor (PC) to the current game. It works only after a LoadGame() was executed, and should be used before an EnterGame(). It is also used to import a .chr file as a PC. A new character will need additional SetPlayerStat() and FillPlayerInfo() calls to be a working character. - -Parameters: CREResRef - The name of the creature to be used as the actor, usually 'charbase' - Slot - The player character's position in the party - Import - Set it to 1 if you want to import a .chr instead of creating a new character - VersionOverride - Force version of new actor. - -Return value: the new player's index in the game structure - -Examples: - MyChar = GemRB.GetVar("Slot") - GemRB.CreatePlayer("charbase", MyChar ) - -The above example will create a new player character in the slot selected by the Slot variable. - - MyChar = GemRB.GetVar("Slot") - ImportName = "avenger" - GemRB.CreatePlayer(ImportName, MyChar, 1 ) -The above example would import avenger.chr into the slot selected by the Slot Variable. (If it exists in the Characters directory of the game). - -See also: LoadGame, EnterGame, QuitGame, FillPlayerInfo, SetPlayerStat - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateScrollBar.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateScrollBar.txt deleted file mode 100644 index 3e00475f6..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateScrollBar.txt +++ /dev/null @@ -1,19 +0,0 @@ -v -Prototype: GemRB.CreateScrollBar(WindowIndex, ControlID, x, y, w, h) - -Metaclass Prototype: CreateScrollBar(ControlID, x, y, w, h) - -Description: Creates and adds a new ScrollBar to a Window. - -Parameters: -WindowIndex - the window control -ControlID - the id of the new control -x - position -y - position -w - width -h - height - -Return value: ControlIndex - -See also: SetScrollBarSprites, SetDefaultScrollBar, AttachScrollBar - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateTextEdit.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateTextEdit.txt deleted file mode 100644 index 1ba63da5b..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateTextEdit.txt +++ /dev/null @@ -1,19 +0,0 @@ - -Prototype: GemRB.CreateTextEdit(WindowIndex, ControlID, x, y, w, h, font, text) - -Metaclass Prototype: CreateTextEdit(ControlID, x, y, w, h, font, text) - -Description: Creates and adds a new TextEdit field to a Window. Used in PST MapNote editor. The maximum length of the edit field is 500 characters. - -Parameters: -WindowIndex - the value returned from LoadWindow -ControlID - the new control will be available via this controlID -x,y,w,h - X position, Y position, Width and Height of the control -font - font BAM ResRef -text - initial text - -Return value: N/A - -See also: CreateLabel, CreateMapControl, CreateWorldMapControl, CreateButton - -MD5: dd93ef5d51dda6ab1a2b5050bb0c4e3f diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateWindow.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateWindow.txt deleted file mode 100644 index 4714d67c6..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateWindow.txt +++ /dev/null @@ -1,17 +0,0 @@ - -Prototype: GemRB.CreateWindow(WindowID, X, Y, Width, Height, MosResRef) - -Description: Creates a new empty window and returns its index. - -Parameters: -WindowID - the window's ID -X,Y - the window's position -Width, Height - the window's dimensions -MosResRef - the background image (.mos resref) - -Return value: a window index - -See also: - - -MD5: f28c0c3fb8a9e7d0a279d735c5b94d6f diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateWorldMapControl.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateWorldMapControl.txt deleted file mode 100644 index 6984b482c..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/CreateWorldMapControl.txt +++ /dev/null @@ -1,25 +0,0 @@ - -Prototype: GemRB.CreateWorldMapControl(WindowIndex, ControlID, x, y, w, h, direction[, font]) - -Metaclass Prototype: CreateWorldMapControl(ControlID, x, y, w, h, direction[, font]) - -Description: This command will create a special WorldMapControl, which is currently unavailable via .chu files. If WindowIndex and ControlID (not ControlIndex!) point to a valid control, it will replace that control with the WorldMapControl using the original control's dimensions (x,y,w,h are ignored). - -Parameters: -WindowIndex - the value returned from LoadWindow -ControlID - the new control will be available via this controlID -x,y,w,h - X position, Y position, Width and Height of the control -direction -font - font uused to display names of map locations - -Return value: N/A - -Example: - Window = GemRB.LoadWindow (0) - GemRB.CreateWorldMapControl (Window, 4, 0, 62, 640, 418, Travel, "floattxt") - WorldMapControl = GemRB.GetControl (Window, 4) - -See also: GetDestinationArea, CreateMovement - - -MD5: ec421a1b6a60206700cad9c9776f78e6 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DeleteControl.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DeleteControl.txt deleted file mode 100644 index 3a5607793..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DeleteControl.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.DeleteControl(WindowIndex, ControlID) - -Metaclass Prototype: DeleteControl(ControlID) - -Description: Deletes a control from a Window. - -Parameters: WindowIndex - the return value of a previous LoadWindow call. - ControlID - a control ID, see the .chu file specification - -Return value: N/A - -See also: GetControl - - -MD5: dfbf18fa1830fccf5eb61cf2b39b5147 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DeleteSaveGame.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DeleteSaveGame.txt deleted file mode 100644 index 854a70097..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DeleteSaveGame.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.DeleteSaveGame(SlotCount) - -Description: Deletes a saved game folder completely. - -Parameters: SlotCount - the index of a saved game - -Return value: N/A - -See also: GetSaveGameCount - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DisplayString.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DisplayString.txt deleted file mode 100644 index 2fe05d0e7..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DisplayString.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.DisplayString(strref, color[, PartyID]) - -Description: Displays a string in the messagewindow using methods supplied by the core engine. - -Parameters: strref - the tlk reference - color - a hex packed RGB value - PartyID - if supplied, then the PC's name will be displayed too - -Return value: N/A - -See also: SetText - -MD5: diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DragItem.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DragItem.txt deleted file mode 100644 index 1d7a84a70..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DragItem.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.DragItem(PartyID, Slot, ResRef, [Count=0]) - -Description: Start dragging specified item. If Count is given, it will try to split the item. If an item is already dragged, it won't do anything. - -Parameters: PartyID - the PC's position in the party - Slot - actor index in game structure - ResRef - item name (.itm resref) - Count - stack size (0 means all) - -Return value: N/A - -See also: DropDraggedItem, IsDraggingItem - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DrawWindows.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DrawWindows.txt deleted file mode 100644 index f0c3f962e..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DrawWindows.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.DrawWindows() - -Description: Refreshes the User Interface by redrawing invalidated controls. - -Parameters: N/A - -Return value: N/A - -See also: InvalidateWindow, UnhideGUI - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DropDraggedItem.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DropDraggedItem.txt deleted file mode 100644 index c20e80367..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/DropDraggedItem.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.DropDraggedItem(PartyID, Slot) - -Description: Stop dragging specified item. Dropping the item in an invalid slot will result in 0. Partial success may happen if the item was dropped into a stack, but not all items were moved. The dragging status will be removed only after a complete success. Not all inventory slots may carry any type of item. The item could be dropped in an unspecified inventory slot, the ground, or an equippable slot fitting for the item. - -Parameters: PartyID - the actor's inparty index - Slot - the Inventory Slot -Special values for Slot: - -1 any equippable slot fitting for the item - -2 ground - -3 any inventory slot -Return value: integer, the action was: 0 (unsuccessful), 1 (partial success) or 2 (complete success) - -See also: DragItem, IsDraggingItem, CanUseItemType - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EnableButtonBorder.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EnableButtonBorder.txt deleted file mode 100644 index 8ef57ecd6..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EnableButtonBorder.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.EnableButtonBorder(WindowIndex, ControlIndex, BorderIndex, enabled) - -Metaclass Prototype: EnableBorder(BorderIndex, enabled) - -Description: Enable or disable specified border/frame/overlay of a button control. - -Parameters: -WindowIndex, ControlIndex - the control's reference -BorderIndex - 0,1 or 2 -enabled - boolean, true enables the border - -Return value: N/A - -See also: SetButtonBAM, SetButtonFlags, SetButtonBorder - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EnableCheatKeys.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EnableCheatKeys.txt deleted file mode 100644 index e0713c4b0..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EnableCheatKeys.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.EnableCheatKeys(flag) - -Description: Turns the debug keys on or off. - -Parameters: flag - boolean - -Return value: N/A - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EndCutSceneMode.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EndCutSceneMode.txt deleted file mode 100644 index 976e2fbe0..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EndCutSceneMode.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: EndCutSceneMode() - -Description: Exits the CutScene Mode. It is similar to the gamescript command of the same name. It gives back the cursor, and shows the game GUI windows hidden by the CutSceneMode() gamescript action. (This is mainly a debug command.) - -Parameters: N/A - -Return value: N/A - -See also: HideGUI, UnhideGUI - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EnterGame.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EnterGame.txt deleted file mode 100644 index 7706a41d3..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EnterGame.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.EnterGame() - -Description: Starts new game and enters it. It destructs all existing windows, and creates a GameControl window as the 0. window (the GameControl object will be its 0. control). You should already load a game using LoadGame(), otherwise the engine may terminate. The Game won't be entered until the execution of the current script ended, but a LoadGame() may precede EnterGame() in the same function. (SetNextScript too). - -Parameters: N/A - -Return value: N/A - -See also: QuitGame, LoadGame, SetNextScript - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EnterStore.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EnterStore.txt deleted file mode 100644 index 789a2858e..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EnterStore.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: EnterStore( StoreResRef ) - -Description: Loads a store and sets it as current (used) store. - -Parameters: StoreResRef - the store's resource name - -Return value: None - -See also: GetStore, GetStoreCure, GetStoreDrink, LeaveStore, SetPurchasedAmount - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EvaluateString.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EvaluateString.txt deleted file mode 100644 index 615905230..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/EvaluateString.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.EvaluateString(String) - -Description: Evaluates an In-Game Script Trigger in the current Area Script Context. It prints the result. (The command is more useful from the Console than using from scripts) - -Parameters: String - a gamescript trigger - -Return value: N/A (the trigger's return value is printed) - -See also: ExecuteString - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ExecuteString.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ExecuteString.txt deleted file mode 100644 index 8b904e027..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ExecuteString.txt +++ /dev/null @@ -1,20 +0,0 @@ - -Prototype: GemRB.ExecuteString(String[,Slot]) - -Description: Executes an In-Game Script Action in the current Area Script Context. This means that LOCALS will be treated as the current area's variable. - -Parameters: String - a gamescript action - Slot - a player slot -Return value: N/A - -Example: - GemRB.ExecuteString("ActionOverride([PC], Attack(NearestEnemyOf(Myself)) )") - -The above example will force a player (most likely Player1) to attack an enemy, issuing the command as it would come from the current area's script. The current gametype must support the scripting action. - - GemRB.ExecuteString("Attack(NearestEnemyOf(Myself))", 2) - -The above example will force Player2 to attack an enemy, as the example will run in that actor's script context. - -See also: EvaluateString, gamescripts - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ExploreArea.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ExploreArea.txt deleted file mode 100644 index 625b9d6be..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ExploreArea.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: ExploreArea( [value] ) - -Description: Fills the explored bitmap with the value given. If there was no value given, it will fill with -1 (all bit set). - -Parameters: 0 - undo explore - -1 - explore - all other values give meaningless results - -Return value: None - -See also: MoveToArea - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/FillPlayerInfo.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/FillPlayerInfo.txt deleted file mode 100644 index 25b08f8fb..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/FillPlayerInfo.txt +++ /dev/null @@ -1,38 +0,0 @@ - -Prototype: GemRB.FillPlayerInfo(Slot[, Portrait1, Portrait2]) - -Description: Fills basic character info, that is not stored in stats. This command will generate an AnimationID for the character based on the avprefix.2da table, the character must have the stats referenced in the avprefix structure already set. It will also set the player's portraits if given. It will set the actor's area/position according to the "PlayMode" variable and the Slot value (using the startpos.2da table). This command must be called once after a character was created and before EnterGame(). - -Parameters: Slot - the new character's slot - Portrait1 - medium (or large) portrait - Portrait2 - small portrait -The avprefix structure: -avprefix.2da is a gemrb specific table. Its first row contains the base animationID used for the actor. Its optional additional rows contain other table resrefs which refine the animationID by different player stats. The first row of these tables contain the stat which affects the animationID. The other rows assign cummulative values to the animationID. -For example: - -avprefix.2da - RESOURCE -0 0x6000 -1 avprefr -2 avprefg -3 avprefc -avprefr.2da - RACE -TYPE 201 -HUMAN 0 -ELF 1 -HALF_ELF 1 -GNOME 4 -HALFLING 3 -DWARF 2 -HALFORC 5 - -Based on the avatar's stat (201 == race) the animationID (0x6000) will be increased by the given values. For example an elf's animationID will be 0x6001. The animationID will be further modified by gender and class. - -Return value: N/A - -Examples: - GemRB.FillPlayerInfo(MyChar, PortraitName+"M", PortraitName+"S") - -See also: LoadGame, CreatePlayer, SetPlayerStat, EnterGame - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/FindTableValue.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/FindTableValue.txt deleted file mode 100644 index dcac5d316..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/FindTableValue.txt +++ /dev/null @@ -1,19 +0,0 @@ - -Prototype: GemRB.FindTableValue(TableIndex, ColumnIndex, Value[, Start]) - -Metaclass Prototype: FindValue(ColumnIndex, Value[, Start]) - -Description: Returns the first rowcount of a field value in a 2DA Table. If Start -is omitted, the search starts from the beginning. This command doesn't work with -a string value. - -Parameters: -TableIndex - integer, returned by a previous LoadTable command. -ColumnIndex - integer, the index of the column in which you look for the value. -Value - integer, The value to find in the table -Start - integer, The starting row - -Return value: numeric, -1 if the value isn't to be found - -See also: LoadTable, GetTableValue - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameControlGetTargetMode.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameControlGetTargetMode.txt deleted file mode 100644 index efd82ae48..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameControlGetTargetMode.txt +++ /dev/null @@ -1,9 +0,0 @@ - -Prototype: GemRB.GameControlGetTargetMode() - -Description: Returns the current target mode. It could be: talk, attack, spellcast and such. - -Return value: numeric (see GameControlSetTargetMode) - -See also: GameControlSetScreenFlags - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameControlSetLastActor.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameControlSetLastActor.txt deleted file mode 100644 index e9fd4bb1f..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameControlSetLastActor.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.GameControlSetLastActor(partyID) - -Description: Sets LastActor in the GameControl object. The LastActor object is the player character which is currently about to be selected by the player. Its feet circle is flickering. - -Parameters: partyID - 0 to delete any previous settings, or the partyID. - -Return value: None - -See also: GameSelectPCSingle - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameControlSetScreenFlags.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameControlSetScreenFlags.txt deleted file mode 100644 index a93a603bb..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameControlSetScreenFlags.txt +++ /dev/null @@ -1,18 +0,0 @@ - -Prototype: GemRB.GameControlSetScreenFlags(Mode, Operation) - -Description: Sets screen flags, like cutscene mode, disable mouse, etc. Don't confuse it with the saved screen flags set by GameSetScreenFlags. - -Parameters: -Mode - bitfield - 1 - disable mouse - 2 - center on actor (one time) - 4 - center on actor (always) - 8 - enable gui - 16 - lock scroll -Operation - see bit_operation.txt - -Return value: N/A - -See also: GameSetScreenFlags, bit_operation - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameControlSetTargetMode.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameControlSetTargetMode.txt deleted file mode 100644 index 2f7db92cb..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameControlSetTargetMode.txt +++ /dev/null @@ -1,22 +0,0 @@ - -Prototype: GemRB.GameControlSetTargetMode(Mode) - -Description: Sets action to be made by the player (the cursor will change). It could be: talk, attack, spellcast. - -Parameters: - Mode - 0 none - 1 talk - 2 attack (bash) - 4 spellcast - 8 defend - 16 pick lock - - Also the target type could be added: -TARGET_MODE_ALLY = 0x100 -TARGET_MODE_ENEMY = 0x200 -TARGET_MODE_NEUTRAL = 0x400 - -Return value: N/A - -See also: GameControlSetScreenFlags, GameControlGetTargetMode - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameGetFirstSelectedPC.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameGetFirstSelectedPC.txt deleted file mode 100644 index 5c309f279..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameGetFirstSelectedPC.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.GameGetFirstSelectedPC() - -Description: Returns index of the first selected PC or 0 if none. - -Parameters: N/A - -Return value: the first selected PC's position in the party (it will look in the original party order, thus the protagonist will be always first!) - -See also: GameSelectPC, GameIsPCSelected - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameGetFormation.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameGetFormation.txt deleted file mode 100644 index a51f6a09d..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameGetFormation.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GameGetFormation() - -Description: Returns current party formation. The formations are stored in the GemRB specific formatio.2da table. - -Parameters: N/A - -Return value: integer - -See also: GameSetFormation - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameGetPartyGold.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameGetPartyGold.txt deleted file mode 100644 index f7dc2d9e3..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameGetPartyGold.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.GameGetPartyGold() - -Description: Returns current party gold. - -Parameters: N/A - -Return value: numeric - -See also: GetPlayerStat - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameGetReputation.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameGetReputation.txt deleted file mode 100644 index 9deb646ea..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameGetReputation.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.GameGetReputation() - -Description: Returns current party's reputation. - -Parameters: N/A - -Return value: numeric - -See also: GetPlayerStat, GameSetReputation - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameGetSelectedPCSingle.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameGetSelectedPCSingle.txt deleted file mode 100644 index cb1e0a45f..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameGetSelectedPCSingle.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.GameGetSelectedPCSingle(flag) - -Description: If flag is 0 or omitted, then returns currently active pc in non-walk environment (i.e. in shops, inventory,...). If flag is set to non-zero, then returns the currently speaking PC. -If there is no such PC, then returns 0. - -Parameters: flag - 0/1 - -Return value: PartyID (1-10) - -See also: GameSelectPC, GameSelectPCSingle - -MD5: b19700ed972c915b0910b40a746a87ee diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameIsBeastKnown.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameIsBeastKnown.txt deleted file mode 100644 index a575d627f..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameIsBeastKnown.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GameIsBeastKnown(index) - -Description: Returns whether beast with given index is known to PCs (works only on PST). - -Parameters: index - the beast's index as of beast.ini - -Return value: boolean, 1 means beast is known. - -See also: GetINIBeastsKey - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameIsPCSelected.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameIsPCSelected.txt deleted file mode 100644 index 726e7875a..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameIsPCSelected.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.GameIsPCSelected(Slot) - -Description: Returns true if the PC is selected. - -Parameters: Slot - the PC's position in the party (1 based) - -Return value: boolean, 1 if the PC is selected - -See also: GameSelectPC, GameGetFirstSelectedPC - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GamePause.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GamePause.txt deleted file mode 100644 index abb50175d..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GamePause.txt +++ /dev/null @@ -1,12 +0,0 @@ - -Prototype: GemRB.GamePause(pause, quiet) - -Description: Pauses or unpauses the current game. This affects all ingame events, including: scripts, animations, movement. It doesn't affect the GUI. - -Parameters: pause - int, 1 = pause, 0 = continue, 2 = toggle pause - quiet - bool, true = no message, false = game paused/unpaused message - -Return value: N/A - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSelectPC.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSelectPC.txt deleted file mode 100644 index 023eb4485..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSelectPC.txt +++ /dev/null @@ -1,21 +0,0 @@ - -Prototype: GemRB.GameSelectPC(PartyID, Selected, [Flags = SELECT_NORMAL]) - -Description: Selects or deselects a PC. Note: some things use a different PC selection mechanism (dialogs and stores are not unified yet). - -Parameters: PartyID - the PC's position in the party, 0 means ALL - Selected - boolean - Flags - bitflags -bit 1 - if set deselect all other actors -bit 2 - do not run SelectionHandler (no GUI feedback) - -Return value: N/A - -Example: -def SelectAllOnPress (): - GemRB.GameSelectPC (0, 1) - return -The above function is associated to the 'select all' button of the GUI screen. - -See also: GameIsPCSelected, GameSelectPCSingle, GameGetSelectedPCSingle, GameGetFirstSelectedPC - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSelectPCSingle.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSelectPCSingle.txt deleted file mode 100644 index a1d9226a4..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSelectPCSingle.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.GameSelectPCSingle(PartyID) - -Description: Selects one PC in non-walk environment (i.e. in shops, inventory,...). - -Parameters: -PartyID - the PC's position in the party - -Return value: N/A - -See also: GameSelectPC, GameGetSelectedPCSingle - -MD5: 6ff47eca2a1cc470e3b909a8c1f9fa0b diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetExpansion.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetExpansion.txt deleted file mode 100644 index 3139b4e3a..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetExpansion.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.GameSetExpansion(mode) - -Description: Sets the expansion mode. Most games were created in a two in one and could start the game as expansion only (or transfer to the expansion). -This command selects between these two modes. - --- this command is not working -- - -Parameters: Mode - 0 or 1 - -Return value: N/A - -See also: LoadGame, GameType(variable) - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetFormation.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetFormation.txt deleted file mode 100644 index db882adc9..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetFormation.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.GameSetFormation(Formation) - -Description: Sets party formation. - -Parameters: the row index of formatio.2da - -Return value: N/A - -See also: GameGetFormation - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetPartyGold.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetPartyGold.txt deleted file mode 100644 index f4f5f21df..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetPartyGold.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.GameSetPartyGold(Gold) - -Description: Sets current party gold. - -Parameters: the gold amount to be set - -Return value: N/A - -See also: GameGetPartyGold - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetPartySize.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetPartySize.txt deleted file mode 100644 index 56f078762..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetPartySize.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.GameSetPartySize(Size) - -Description: Sets the maximum number of PCs. This command works only after a LoadGame(). If the party size was set to 0, then it means unlimited size. - -Parameters: Size - must be 0-8 - -Return value: N/A - -See also: GetPartySize - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetProtagonistMode.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetProtagonistMode.txt deleted file mode 100644 index 31eb71f6d..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetProtagonistMode.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.GameSetProtagonistMode(Mode) - -Description: Sets the mode the game handles the game over event. This action works only after a LoadGame. - -Parameters: - Mode - 0 no check - 1 game over when protagonist dies - 2 game over when whole party is dead - -Return value: N/A - -See also: LoadGame, GameSetPartySize - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetReputation.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetReputation.txt deleted file mode 100644 index 9b3d46af6..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetReputation.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.GameSetReputation(Reputation) - -Description: Sets current party's reputation. - -Parameters: the reputation amount to be set. (It is divided by ten when displayed). - -Return value: N/A - -See also: GameGetReputation, IncreaseReputation - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetScreenFlags.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetScreenFlags.txt deleted file mode 100644 index d7c1b79fd..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GameSetScreenFlags.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.GameSetScreenFlags(Bits, Operation) - -Description: Stores the portrait/options/message window size value in the game object. - -Parameters: - Bits - This depends on the game. - The lowest 2 bits are the message window size - Operation - The usual bit operations (see bit_operation.txt) - -Return value: N/A - -See also: SetVisible, bit_operation - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetAbilityBonus.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetAbilityBonus.txt deleted file mode 100644 index e3af6dbf8..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetAbilityBonus.txt +++ /dev/null @@ -1,23 +0,0 @@ - -Prototype: GemRB.GetAbilityBonus(stat, column, value[, ex]) - -Description: Returns ability based values from different .2da files. Like strmod, dexmod, etc. - -Parameters: stat - a stat value, like IE_STR - column - integer, the column index of the value in the .2da file - -Column indices: - -IE_STR: 0 - To hit, 1 - Damage, 2 - Open doors, 3 - Weight allowance -IE_INT: 0 - learn spell, 1 - max spell level, 2 - max spell number on level -IE_DEX: 0 - reaction adjustment, 1 - missile, 2 - AC -IE_CON: 0 - normal hp, 1 - warrior hp, 2 - minimum hp roll, 3 - hp regen rate, 4 - fatigue -IE_CHR: 0 - reaction -IE_LORE: 0 - lore bonus (int+wis based) -IE_REPUTATION: 0 - reaction (chr+reputation based) -IE_WIS: 0 - percentile xp bonus - -Return value: -9999 if the parameters are illegal, otherwise the required bonus - -See also: SetPlayerStat, GetPlayerStat, GetTableValue - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetCharSounds.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetCharSounds.txt deleted file mode 100644 index 6b605b32c..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetCharSounds.txt +++ /dev/null @@ -1,20 +0,0 @@ - -Prototype: GemRB.GetCharSounds(WindowIndex, ControlIndex) - -Metaclass Prototype: GetCharSounds(ControlIndex) - -Description: Reads the contents of the sounds subfolder into a TextArea control. - -Parameters: -WindowIndex, ControlIndex - the control's reference - - -Return value: numeric, the number of rows read into the TextArea control. -Example: - TextAreaControl = GemRB.GetControl(SoundWindow, 45) - GemRB.SetTextAreaSelectable(SoundWindow, TextAreaControl,1) - GemRB.SetVarAssoc(SoundWindow, TextAreaControl, "Sound", 0) - RowCount=GemRB.GetCharSounds(SoundWindow, TextAreaControl) - -See also: QueryText, GetCharacters - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetCharacters.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetCharacters.txt deleted file mode 100644 index 396f3f023..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetCharacters.txt +++ /dev/null @@ -1,20 +0,0 @@ - -Prototype: GemRB.GetCharacters(WindowIndex, ControlIndex) - -Metaclass Prototype: GetCharacters(ControlIndex) - -Description: Reads the contents of the characters subfolder into a TextArea control. - -Parameters: -WindowIndex, ControlIndex - the control's reference - - -Return value: numeric, the number of rows read into the TextArea control. -Example: - TextAreaControl = GemRB.GetControl(SoundWindow, 45) - GemRB.SetTextAreaSelectable(SoundWindow, TextAreaControl,1) - GemRB.SetVarAssoc(SoundWindow, TextAreaControl, "Characters", 0) - RowCount=GemRB.GetCharSounds(SoundWindow, TextAreaControl) - -See also: QueryText, GetCharSounds - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetCombatDetails.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetCombatDetails.txt deleted file mode 100644 index fa148dab1..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetCombatDetails.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.GetCombatDetails(pc, leftorright) - -Description: Returns the current THAC0 and other data in relation to the equipped weapon. - -Parameters: -pc - position in the party -leftorright - left or right hand weapon (main or offhand) - -Return value: dict: "ToHit", "Flags", "DamageBonus", "Speed", "CriticalBonus", "Style" - -See also: IsDualWielding - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetContainer.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetContainer.txt deleted file mode 100644 index a8a1d33ad..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetContainer.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GetContainer( PartyID, autoselect ) - -Description: Gets the current container's type and other basic header information. The player is always the first selected player. If PartyID is 0 then the default PC is the first multiselected PC. Autoselect will always select a groundpile. If there is no container at the feet of the PC autoselect will create the container. - -Parameters: - PartyID - the PC's position in the party - autoselect - is 1 if you call this function from a player inventory (so you select the pile at their feet) - -Return value: dictionary -"Type" - the container's type, numeric (see IESDP) -"ItemCount" - the number of items in the container - -See also: GetStore, GameGetFirstSelectedPC, GetContainerItem - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetContainerItem.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetContainerItem.txt deleted file mode 100644 index ee6d64656..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetContainerItem.txt +++ /dev/null @@ -1,19 +0,0 @@ - -Prototype: GetContainerItem( PartyID, index ) - -Description: Returns the container item referenced by the index. If PartyID is 0 then the container was opened manually and should be the current container. If PartyID is not 0 then the container is autoselected and should be at the feet of the player. - -Parameters: - PartyID - the PC's position in the party - index - the item's index in the container - -Return value: dictionary -"ItemResRef" - the ResRef of the item -"ItemName" - the StrRef of the item's name (identified or not) -"Usages0" - The primary charges of the item (or the item's stack amount if the item is stackable). -"Usages1" - The secondary charges of the item. -"Usages2" - The tertiary charges of the item. -"Flags" - Item flags. - -See also: GetContainer, GameGetFirstSelectedPC, GetStoreItem - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetControl.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetControl.txt deleted file mode 100644 index 3852268e6..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetControl.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.GetControl(WindowIndex, ControlID) - -Description: Returns a control in a Window. - -Parameters: WindowIndex - the return value of a previous LoadWindow call. - ControlID - a control ID, see the .chu file specification - -Return value: a control index - -See also: LoadWindowPack, LoadWindow - - -MD5: eccbc1af698fd8d4e5eec5004433e515 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetControlObject.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetControlObject.txt deleted file mode 100644 index 610e4e051..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetControlObject.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.GetControlObject(WindowID, ControlID) - -Description: Returns a control as an object. - -Parameters: -WindowIndex - the window control id -ControlID - the id of the target control - -Return value: GControl - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetCurrentArea.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetCurrentArea.txt deleted file mode 100644 index dc778686d..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetCurrentArea.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.GetCurrentArea() - -Description: Returns the name of the current area. It is the same as GetGameString(1). It works only after a LoadGame() was issued. - -Parameters: N/A - -Return value: string, (ARE resref) - -See also: GetGameString - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetDestinationArea.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetDestinationArea.txt deleted file mode 100644 index 2dc9e84b8..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetDestinationArea.txt +++ /dev/null @@ -1,21 +0,0 @@ - -Prototype: GemRB.GetDestinationArea(WindowIndex, ControlIndex[, RndEncounter]) - -Metaclass Prototype: GetDestinationArea([RndEncounter]) - -Description: Returns a dictionary of the selected area by the worldmap control. -If the route is blocked, then Distance will return a negative value and Destination/Entrance won't be set. Random encounters could be optionally evaluated. - -Parameters: - WindowIndex, ControlIndex - designate a worldmap control - RndEncounter - 0/1 - -Return value: Dictionary -Target - The target area selected by the player -Distance - The traveling distance, if it is negative, the way is blocked -Destination - The area resource reference where the player arrives (if there was a random encounter, it differs from Target) -Entrance - The area entrance in the Destination area, it could be empty, in this casethe player should appear in middle of the area - -See also: CreateWorldMapControl, CreateMovement, accessing_gui_controls - -MD5: b19700ed972c915b0910b40a746a87ee diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetEquippedAmmunition.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetEquippedAmmunition.txt deleted file mode 100644 index 79687ffe6..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetEquippedAmmunition.txt +++ /dev/null @@ -1,11 +0,0 @@ -Prototype: GemRB.GetEquippedAmmunition(PartyID) - -Description: Returns the equipped ammunition, if any - -Parameters: PartyID - the PC's position in the party (1 based) - -Return value: If ammunition is equipped, the inventory slot, otherwise -1. - -See also: GetEquippedQuickSlot - -MD5: f8136021ae5f439ccbd5fa3de99574a1 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetEquippedQuickSlot.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetEquippedQuickSlot.txt deleted file mode 100644 index 5562f13d2..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetEquippedQuickSlot.txt +++ /dev/null @@ -1,14 +0,0 @@ -Prototype: GemRB.GetEquippedQuickSlot(PartyID[, NoTrans]) - -Description: Returns the quickweapon slot index or the inventory slot. - -Parameters: - PartyID - the PC's position in the party (1 based) - NoTrans - 0 - return the inventory slot - 1 - return the quickweapon slot index - -Return value: numeric - -See also: SetEquippedQuickSlot, GetEquippedAmmunition - -MD5: 587dea2203900410b41c8775a9cc4d18 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetGameString.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetGameString.txt deleted file mode 100644 index dd1eb40ce..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetGameString.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.GetGameString(Index) - -Description: Returns a system variable of string type referenced by Index. - -Parameters: Index -0 - returns the loading picture's name (MOS resref) -1 - returns the current area's name (ARE resref) - -Return value: string - the referenced system variable - -See also: GetSystemVariable, GetToken - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetGameTime.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetGameTime.txt deleted file mode 100644 index 4ca892fd0..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetGameTime.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.GetGameTime() - -Description: Returns current game time (rounds passed since start). - -Parameters: N/A - -Return value: numeric - -See also: GameGetPartyGold, GetPartySize - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetGameVar.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetGameVar.txt deleted file mode 100644 index b7066045b..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetGameVar.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.GetGameVar(VariableName) - -Description: Get a Variable value from the Game Global Dictionary. This is what gamescripts know as GLOBAL variable. - -Parameters: - -Return value: - -Example: Chapter = GemRB.GetGameVar("chapter") - -See also: GetVar, GetToken, CheckVar - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetINIBeastsKey.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetINIBeastsKey.txt deleted file mode 100644 index 24785fc75..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetINIBeastsKey.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.GetINIBeastsKey(Tag, Key, Default) - -Description: Returns a Value from the beast.ini File (works only on PST). - -Parameters: -Tag - a section in the beast.ini file -Key - a field in the section -Default - default value in case the entry doesn't exist - -Return value: string, the entry from the ini file - -See also: GetINIQuestsKey diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetINIPartyCount.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetINIPartyCount.txt deleted file mode 100644 index 92ee07f23..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetINIPartyCount.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.GetINIPartyCount() - -Description: Returns the Number of Parties defined in Party.ini (works only on IWD2). - -Parameters: N/A - -Return value: the number of predefined parties as of party.ini - -See also: GetINIPartyKey - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetINIPartyKey.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetINIPartyKey.txt deleted file mode 100644 index eb822ec5c..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetINIPartyKey.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.GetINIPartyKey(Tag, Key, Default) - -Description: Returns a Value from the party.ini File (works only on IWD2). - -Parameters: -Tag - a section in the party.ini file -Key - a field in the section -Default - default value in case the entry doesn't exist - -Return value: string, the entry from the ini file - -See also: GetINIPartyCount diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetINIQuestsKey.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetINIQuestsKey.txt deleted file mode 100644 index 121eda78c..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetINIQuestsKey.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.GetINIQuestsKey(Tag, Key, Default) - -Description: Returns a Value from the quests.ini File (works only on PST). - -Parameters: -Tag - a section in the quests.ini file -Key - a field in the section -Default - default value in case the entry doesn't exist - -Return value: string, the entry from the ini file - -See also: GetINIBeastsKey - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetItem.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetItem.txt deleted file mode 100644 index 3b157d1ab..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetItem.txt +++ /dev/null @@ -1,33 +0,0 @@ - -Prototype: GemRB.GetItem(ResRef) - -Description: Returns dictionary with the specified item's data. - -Parameters: ResRef - the resource reference of the item - -Return value: dictionary -The fields of the dictionary are the following: -"ItemName" - strref of unidentified name. -"ItemNameIdentified" - strref of identified name. -"ItemDesc" - strref of unidentified description. -"ItemDescIdentified" - strref of identified description. -"ItemIcon" - the item's icon (.bam resref) -"StackAmount" - maximum stackable amount -"Dialog" - item dialog (.dlg resref) -"DialogName" - the item dialog name -"Function" - returns special function - 0 - no special function - 1 - item is a copyable scroll (2. header's 1. feature is 'Learn spell') - 2 - item is a drinkable potion -"Spell" - the spell's strref if the item is a copyable scroll -"DescIcon" - the description icon -"BrokenItem" - the replacement item (used for items with broken sounds) -"Price" - the base item price -"Type" - the item type (see itemtype.2da) -"AnimationType" - the item animation ID -"Exclusion" - the exclusion bit (used by eg. magic armor and rings of protection). -"LoreToID" - the required lore to identify the item -"Tooltips" - the item tooltips - -See also: GetSlotItem, GetSpell, SetItemIcon - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetJournalEntry.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetJournalEntry.txt deleted file mode 100644 index 67232936d..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetJournalEntry.txt +++ /dev/null @@ -1,17 +0,0 @@ - -Prototype: GemRB.GetJournalEntry(chapter, index[, section]) - -Description: Returns dictionary representing journal entry w/ given chapter, section and index. Section will default to zero. - -Parameters: chapter - the chapter of the journal entry - index - the index of the entry in the given section/chapter - section - the section of the journal - -Return value: dictionary with the following fields: -"Text" - strref of the journal entry -"GameTime" - time of entry -"Section" - same as the input parameter -"Chapter" - same as the input parameter - -See also: GetJournalSize, SetJournalEntry - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetJournalSize.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetJournalSize.txt deleted file mode 100644 index 2b1dc201e..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetJournalSize.txt +++ /dev/null @@ -1,12 +0,0 @@ - -Prototype: GemRB.GetJournalSize(chapter[, section]) - -Description: Returns the number of entries in the given section of journal. Please note that various engines implemented the chapter/sections at various degree. For example PST has none of these. Section will default to zero. - -Parameters: chapter - the chapter of the journal page - section - 0,1,2 or 4 - general, quest, solved quest or user notes. - -Return value: numeric - -See also: GetJournalEntry, SetJournalEntry - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetKnownSpell.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetKnownSpell.txt deleted file mode 100644 index 82307aca5..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetKnownSpell.txt +++ /dev/null @@ -1,17 +0,0 @@ - -Prototype: GemRB.GetKnownSpell(PartyID, SpellType, Level, Index) - -Description: Returns dictionary with specified known spell from PC's spellbook. - -Parameters: -PartyID - the PC's position in the party -SpellType - 0 - priest, 1 - wizard, 2 - innate -Level - the memorized spell's level -Index - the memorized spell's index - -Return value: dictionary -The field(s) of the dictionary are the following: -"SpellResRef" - The name of the spell (.spl resref) - -See also: GetMemorizedSpell - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetKnownSpellsCount.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetKnownSpellsCount.txt deleted file mode 100644 index 28e293d8e..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetKnownSpellsCount.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.GetKnownSpellsCount(PartyID, SpellType, Level) - -Description: Returns number of known spells of given type and level in a player character's spellbook. - -Parameters: -PartyID - the PC's position in the party -SpellType - 0 - priest, 1 - wizard, 2 - innate -Level - the memorized spell's level - -Return value: numeric - -See also: GetMemorizedSpellsCount, GetKnownSpell - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetMemorizableSpellsCount.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetMemorizableSpellsCount.txt deleted file mode 100644 index d8de78aba..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetMemorizableSpellsCount.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.GetMemorizableSpellsCount(PartyID, SpellType, Level [,Bonus]) - -Description: Returns number of memorizable spells of given type and level in a player character's spellbook. - -Parameters: -PartyID - the PC's position in the party -SpellType - 0 - priest, 1 - wizard, 2 - innate -Level - the memorized spell's level -Bonus - whether querying the modified or the base value - -Return value: numeric, it returns -1 if the query is invalid (no spellcaster, bad spelltype, too high level). - -See also: SetMemorizableSpellsCount - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetMemorizedSpell.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetMemorizedSpell.txt deleted file mode 100644 index fb0965225..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetMemorizedSpell.txt +++ /dev/null @@ -1,18 +0,0 @@ - -Prototype: GemRB.GetMemorizedSpell(PartyID, SpellType, Level, Index) - -Description: Returns dict with specified memorized spell from PC's spellbook. - -Parameters: -PartyID - the PC's position in the party -SpellType - 0 - priest, 1 - wizard, 2 - innate -Level - the memorized spell's level -Index - the memorized spell's index - -Return value: dictionary -The fields of the dictionary are the following: -"SpellResRef" - The name of the spell (.spl resref) -"Flags" - Is the spell castable, or already spent - -See also: GetMemorizedSpellsCount - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetMemorizedSpellsCount.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetMemorizedSpellsCount.txt deleted file mode 100644 index 53beb6d66..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetMemorizedSpellsCount.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.GetMemorizedSpellsCount(PartyID, SpellType, Level) - -Description: Returns number of spells of given type and level in selected character's memory. - -Parameters: -PartyID - the PC's position in the party -SpellType - 0 - priest, 1 - wizard, 2 - innate -Level - the memorized spell's level - -Return value: numeric - -See also: GetMemorizedSpell, GetKnownSpellsCount - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetMessageWindowSize.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetMessageWindowSize.txt deleted file mode 100644 index 74e2f5e2e..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetMessageWindowSize.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.GetMessageWindowSize() - -Description: Returns current MessageWindowSize, it works only when a game is loaded. - -Parameters: N/A - -Return value: int - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPCStats.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPCStats.txt deleted file mode 100644 index d560c4842..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPCStats.txt +++ /dev/null @@ -1,20 +0,0 @@ - -Prototype: GemRB.GetPCStats(PartyID) - -Description: Returns dictionary of PC's performance stats. - -Parameters: PartyID - the PC's position in the party (1 based) - -Return value: A Python dictionary containing the following items -"BestKilledName" - strref of killed creature with biggest XP -"BestKilledXP" - XP value of this creature -"JoinDate" - date joined the team -"KillsChapterXP" - total XP from kills gathered in this chapter -"KillsChapterCount"- total number of kills in this chapter -"KillsTotalXP" - total XP from kills -"KillsTotalCount" - total number of kills -"FavouriteSpell" - spell used the most of the time -"FavouriteWeapon" - weapon bringing the most kill XP - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPartySize.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPartySize.txt deleted file mode 100644 index 61b1239d7..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPartySize.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.GetPartySize() - -Description: Returns the actual number of PCs (dead included). This command works only after a LoadGame(). - -Parameters: N/A - -Return value: numeric (should be 0-8) - -See also: LoadGame, QuitGame, GameSetPartySize - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerName.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerName.txt deleted file mode 100644 index 705c352af..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerName.txt +++ /dev/null @@ -1,17 +0,0 @@ - -Prototype: GemRB.GetPlayerName(PartyID[, LongOrShort]) - -Description: Queries the player character's name. - -Parameters: -PartyID - the PC's position in the party (1 based) -LongOrShort - which name to query --1 : default name - 0 : shortname - 1 : longname - 2 : scripting name - -Return value: string, it returns ??? if the PC doesn't exist. - -See also: SetPlayerName, GetPlayerStat - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerPortrait.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerPortrait.txt deleted file mode 100644 index 9d932337a..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerPortrait.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.GetPlayerPortrait(Slot[, SmallOrLarge]) - -Description: Queries the player's portrait. To set the portrait of a new character you must use FillPlayerInfo(). - -Parameters: -Slot - the PC's position in the party -SmallOrLarge - boolean, specify 1 if you want to get the large portrait - -Return value: the player's portrait name (.bmp resref) - -See also: FillPlayerInfo - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerScript.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerScript.txt deleted file mode 100644 index 1418d753a..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerScript.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.GetPlayerScript(Slot[, Index]) - -Description: Queries the player's script. You can also set the scripts. - -Parameters: -Slot - the PC's position in the party -Index - script index (see scrlevel.2da) - -Return value: the player's script (.bcs or .baf resref) - -See also: SetPlayerScript - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerStat.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerStat.txt deleted file mode 100644 index b08d17241..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerStat.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.GetPlayerStat(Slot, ID[, Base]) - -Description: Queries a stat of the player character. The stats are listed in ie_stats.py. - -Parameters: Slot - actor index in game structure - ID - Stat index - Base - if set to 1, the function will return the base instead of the modified (current) value - -Return value: numeric - -See also: SetPlayerStat, GetPlayerName, GetPlayerStates - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerStates.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerStates.txt deleted file mode 100644 index 9d543d1f7..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerStates.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.GetPlayerStates(PartyID) - -Description: Returns the active spell states on the player. The state descriptions are in the statdesc.2da file which comes with the original games. The values in the character array equal to the corresponding cycle number in states.bam. To reference statdesc.2da, subtract 65 from the values. - -Parameters: - PartyID - the character's position in the party - -Return value: a string whose letters are greater or equal ascii 65. - -See also: GetPlayerName, GetPlayerStat diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerString.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerString.txt deleted file mode 100644 index 3be37b9a1..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPlayerString.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.GetPlayerString(PartyID, StringIndex) - -Description: Returns the string reference of a Verbal Constant set in the player. -The biography string is an example of such a string. - -Parameters: - PartyID - the character's position in the party - StringIndex - the verbal constant's index - -Return value: a string reference. - -See also: GetPlayerName, GetPlayerStat, GetPlayerScript - -See also: sndslot.ids, soundoff.ids (it is a bit unclear which one is it) diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPortraits.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPortraits.txt deleted file mode 100644 index a8edee387..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetPortraits.txt +++ /dev/null @@ -1,21 +0,0 @@ - -Prototype: GemRB.GetPortraits(WindowIndex, ControlIndex, SmallOrLarge) - -Metaclass Prototype: GetPortraits(SmallOrLarge) - -Description: Reads the contents of the portraits subfolder into a TextArea control. - -Parameters: -WindowIndex, ControlIndex - the control's reference -SmallOrLarge - 0 means the portraits with 'M' as the suffix, anything else 'S' - - -Return value: numeric, the number of rows read into the TextArea control. -Example: - TextAreaControl = GemRB.GetControl(SoundWindow, 45) - GemRB.SetTextAreaSelectable(SoundWindow, TextAreaControl,1) - GemRB.SetVarAssoc(SoundWindow, TextAreaControl, "Sound", 0) - RowCount=GemRB.GetPortraits(SoundWindow, TextAreaControl, 0) - -See also: QueryText, GetCharacters, GetCharSounds - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetRumour.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetRumour.txt deleted file mode 100644 index 3144f3441..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetRumour.txt +++ /dev/null @@ -1,12 +0,0 @@ - -Prototype: GetRumour( percent, DialogResRef ) - -Description: Gets a rumour string reference from a rumour dialog. - -Parameters: percent - chance of not returning -1 -DialogResRef - a rumour dialog resource - -Return value: a string reference - -See also: EnterStore, GetStoreDrink, GetStore - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSaveGameAttrib.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSaveGameAttrib.txt deleted file mode 100644 index b9a78c9d8..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSaveGameAttrib.txt +++ /dev/null @@ -1,20 +0,0 @@ - -Prototype: GemRB.GetSaveGameAttrib(Type, SlotCount) - -Description: Returns the name, path, prefix and elapsed game time of the -passed saved game. - -Parameters: -Type - the queried attribute's name - 0 - name - 1 - prefix - 2 - path - 3 - date - 4 - elapsed game time - 5 - id -SlotCount - the index of a saved game - -Return value: string - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSaveGameCount.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSaveGameCount.txt deleted file mode 100644 index 5c6dc96d0..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSaveGameCount.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.GetSaveGameCount() - -Description: Returns the number of saved games. - -Parameters: N/A - -Return value: numeric - -See also: DeleteSaveGame, GetSaveGameAttrib, SetSaveGamePortrait, SetSaveGamePreview, SaveGame - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSelectedSize.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSelectedSize.txt deleted file mode 100644 index 36f36de55..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSelectedSize.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.GetSelectedSize() - -Description: Returns the number of actors selected in the party. - -Parameters: - -Return value: int - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSlotItem.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSlotItem.txt deleted file mode 100644 index 033214f58..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSlotItem.txt +++ /dev/null @@ -1,29 +0,0 @@ - -Prototype: GemRB.GetSlotItem(PartyID, slot) - -Description: Returns dictionary with the specified actor's inventory slot data. - -Parameters: -PartyID - the PC's position in the party -slot - the item's inventory slot - -Return value: dictionary -The fields of the dictionary are the following: -"ItemResRef" - The name of the item (.itm resref) -"Usages0" - The primary charges of the item (or the item's stack amount if the item is stackable). -"Usages1" - The secondary charges of the item. -"Usages2" - The tertiary charges of the item. -"Flags" - Item flags: -IE_INV_ITEM_IDENTIFIED = 1, The item is identified. -IE_INV_ITEM_UNSTEALABLE = 2, The item is unstealable. -IE_INV_ITEM_STOLEN = 4, The item is stolen. -IE_INV_ITEM_UNDROPPABLE =8, The item is undroppable. -IE_INV_ITEM_ACQUIRED = 0x10, The item was recently moved. -IE_INV_ITEM_DESTRUCTIBLE = 0x20, The item is removable (sellable or destructible). -IE_INV_ITEM_EQUIPPED = 0x40, The item is currently equipped. -IE_INV_ITEM_STACKED = 0x80, The item is a stacked item. -"Header" - Item's extended header assigned to the inventory slot (the - ability to use). Only applicable to quickslots. - -See also: GetItem, SetItemIcon, ChangeItemFlag - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSlotType.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSlotType.txt deleted file mode 100644 index 3062d3361..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSlotType.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.GetSlotType(idx) - -Description: Returns dictionary of an itemslot type (slottype.2da). - -Parameters: idx - a row number of slottype.2da - -Return value: dictionary -"Type" - bitfield, The inventory slot's type. -"ID" - the gui button's controlID which belongs to this slot. -"Tip" - the tooltip resref for this slot. -"ResRef" - the background .bam of the slot. - -See also: SetItemIcon - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSlots.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSlots.txt deleted file mode 100644 index f5a9f0825..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSlots.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.GetSlots(PartyID, SlotType[, Flag]) - -Description: Returns the tuple of slots of a PC which match the SlotType criteria. FIXME: This function cannot yet handle PST's diverse slottypes. - -Parameters: PartyID - a PC -SlotType - bitfield, the inventory slot's type (32768 means inventory) -Flag - >0 - returns filled slots - - <0 - returns empty slots - - 0 - returns all slots. -The default is 1. - -Return value: tuple - -See also: GetSlotType diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSpell.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSpell.txt deleted file mode 100644 index 383464059..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSpell.txt +++ /dev/null @@ -1,21 +0,0 @@ - -Prototype: GemRB.GetSpell(ResRef[, silent]) - -Description: Returns dictionary with the specified spell's data. If silent -is set, nothing will be printed to the console. - -Parameters: ResRef - the resource reference of the spell. - -Return value: dictionary -The fields of the dictionary are the following: -"SpellName" - strref of unidentified name. -"SpellDesc" - strref of unidentified description. -"SpellbookIcon" - the spell's icon (.bam resref) -"SpellExclusion" - the excluded schools and alignments -"SpellDivine" - this field tells divine magics apart -"SpellSchool" - the spell's school (primary type) -"SpellType" - the type of text that appears on spell dispelling -"SpellLevel" - the spell's level - -See also: GetItem, SetSpellIcon, spell_structure(IESDP) - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetStore.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetStore.txt deleted file mode 100644 index e8435cbc0..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetStore.txt +++ /dev/null @@ -1,24 +0,0 @@ - -Prototype: GetStore( ) - -Description: Gets the basic header information of the current store and returns it in a dictionary. The information is precompiled based on room availability, store type - -Parameters: N/A - -Return value: dictionary -"StoreType" - numeric (see IESDP) -"StoreName" - the StrRef of the store name -"StoreDrinkCount" - the count of drinks served (tavern) -"StoreCureCount" - the count of cures served (temple) -"StoreItemCount" - the count of items sold, in case of PST the availability trigger is also checked -"StoreCapacity" - the capacity of the store -"StoreRoomPrices" - a four elements tuple, negative if the room type is unavailable -"StoreButtons" - a four elements tuple, possible actions -"StoreFlags" - the store flags if you ever need them, StoreButtons is a digested information, but you might have something else in mind based on these -"TavernRumour" - ResRef of tavern rumour dialog -"TempleRumour" - ResRef of temple rumour dialog - -See also: EnterStore, GetStoreCure, GetStoreDrink, GetRumour - - -MD5: 1899d9bf9e161d3b1a6ec8b3d9fdff19 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetStoreCure.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetStoreCure.txt deleted file mode 100644 index 42a271384..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetStoreCure.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GetStoreCure( index ) - -Description: Gets the spell resref, price and description of a store cure referenced by the index. - -Parameters: index - the number of the cure in the store list - -Return value: dictionary -"CureResRef" - the ResRef of the cure spell -"Description" - the StrRef of the spell's description -"Price" - the price of the spell (subtract this from the party gold) - -See also: EnterStore, GetStoreDrink, GetStore - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetStoreDrink.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetStoreDrink.txt deleted file mode 100644 index 339988bda..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetStoreDrink.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GetStoreDrink( index ) - -Description: Gets the name, strength and price of a store drink referenced by the index. - -Parameters: index - the number of the drink in the store list - -Return value: dictionary -"DrinkName" - the StrRef of the drink name -"Strength" - the strength if the drink (affects rumour and intoxication) -"Price" - the price of the drink (subtract this from the party gold) - -See also: EnterStore, GetStoreCure, GetStore - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetStoreItem.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetStoreItem.txt deleted file mode 100644 index 9dfb07687..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetStoreItem.txt +++ /dev/null @@ -1,20 +0,0 @@ - -Prototype: GetStoreItem( index ) - -Description: Gets the item resref, price and description of a store item referenced by the index. In case of PST stores the item's availability is also checked against the availability trigger. - -Parameters: index - the number of the cure in the store list - -Return value: dictionary -"ItemResRef" - the ResRef of the item -"ItemName" - the StrRef of the item's name (identified or not) -"ItemDesc" - the StrRef of the item's description (identified or not) -"Price" - the price of the item (subtract this from the party gold) -"Amount" - the amount of item in store (-1 means infinite) -"Usages0" - The primary charges of the item (or the item's stack amount if the item is stackable). -"Usages1" - The secondary charges of the item. -"Usages2" - The tertiary charges of the item. -"Flags" - Item flags. - -See also: EnterStore, GetStoreDrink, GetStoreCure, GetStore, GetSlotItem - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetString.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetString.txt deleted file mode 100644 index 133ff4c67..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetString.txt +++ /dev/null @@ -1,23 +0,0 @@ - -Prototype: GemRB.GetString(Strref, Flags) - -Description: Returns string for given strref. Usually, you don't need to resolve a string before use, you can use SetText with an strref parameter. This command lets you alter the string. For example, if you want to add a level value, you'll need this. - -Parameters: Strref - a string index from the dialog.tlk table. - Flags - a bitfield - -Values for the flags: -1 - strref on -2 - play attached sound -4 - speech (stop previous sound) -256 - strref off (overrides cfg) - -Return value: A string with resolved tokens. To resolve %d's, you must either use StatComment, or do it manually. - -Example: GemRB.SetText (Window, Label, GemRB.GetString(12137)+str(level+1) ) -The above example will display "Level: " in the addressed label. - -See also: StatComment, SetText - - -MD5: 27500d4f0d9773b4cdfdc6f615d0b668 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSymbolValue.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSymbolValue.txt deleted file mode 100644 index c005956e7..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSymbolValue.txt +++ /dev/null @@ -1,26 +0,0 @@ - -Prototype: GemRB.GetSymbolValue(SymbolIndex, StringVal|IntVal) - -Metaclass Prototype: GetValue(StringVal|IntVal) - -Description: Returns a field of a IDS Symbol Table. - -Parameters: - SymbolIndex - returned by a previous LoadSymbol command - StringVal - the name of the symbol to resolve (first column of .ids file) - IntVal - the value of the symbol to find. (second column of .ids file) - -Return value: - numeric, if the symbol's name was given (the value of the symbol) - string, if the value of the symbol was given (the symbol's name) - -Example: - align = GemRB.GetPlayerStat (pc, IE_ALIGNMENT) - ss = GemRB.LoadSymbol ("ALIGN") - sym = GemRB.GetSymbolValue (ss, align) -The above example will find the symbolic name of the player's alignment. - -See also: LoadSymbol, GetTableValue - - -MD5: afa5d5072904c5d0b345e2e08f8e2cbe diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSystemVariable.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSystemVariable.txt deleted file mode 100644 index 389100ad0..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetSystemVariable.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.GetSystemVariable(Index) - -Description: Returns the named Interface attribute. - -Parameters: Index could have the following values: -SV_BPP = 0 - bpp (color resolution) -SV_WIDTH = 1 - screen width -SV_HEIGHT = 2 - screen height - -Return value: This function returns -1 if the index is invalid. - -See also: GetGameString - - -MD5: b60fafad2a078631a0f53b50b323c8b4 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableColumnCount.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableColumnCount.txt deleted file mode 100644 index 9862e3940..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableColumnCount.txt +++ /dev/null @@ -1,17 +0,0 @@ - -Prototype: GemRB.GetTableColumnCount(TableIndex[, Row]) - -Metaclass Prototype: GetColumnCount([Row]) - -Description: Returns the number of columns in the specified row in a 2DA Table. - -Parameters: - TableIndex - returned by a previous LoadTable command. - Row - the row of the table, if omitted, defaults to 0 - -Return value: numeric - -See also: LoadTable, GetTableRowCount - - -MD5: diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableColumnIndex.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableColumnIndex.txt deleted file mode 100644 index 31737a309..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableColumnIndex.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.GetTableColumnIndex(TableIndex, ColumnName) - -Metaclass Prototype: GetColumnIndex(ColumnName) - -Description: Returns the Index of a Column referenced by ColumnName in a 2DA Table. - -Parameters: TableIndex - returned by a previous LoadTable command. -ColumnName - a column label - -Return value: numeric, -1 if column doesn't exist - -See also: LoadTable, GetTableRowIndex diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableColumnName.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableColumnName.txt deleted file mode 100644 index a26d8cae8..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableColumnName.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.GetTableColumnName(TableIndex, ColumnIndex) - -Metaclass Prototype: GetColumnName(ColumnIndex) - -Description: Returns the Name of a Column in a 2DA Table. - -Parameters: TableIndex - returned by a previous LoadTable command. -ColumnIndex - the numeric index of the column. - -Return value: string - -See also: LoadTable, GetTableRowName - - -MD5: 1fec0670e5cbec6f1b45ba5214986bbf diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableRowCount.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableRowCount.txt deleted file mode 100644 index 82bf6b0e2..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableRowCount.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.GetTableRowCount(TableIndex) - -Metaclass Prototype: GetRowCount(TableIndex) - -Description: Returns the number of rows in a 2DA Table. - -Parameters: TableIndex - returned by a previous LoadTable command. - -Return value: numeric - -See also: LoadTable, GetTableColumnCount - - -MD5: 3b149161b60a872bde007850fa0f2196 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableRowIndex.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableRowIndex.txt deleted file mode 100644 index 0e62fc6c4..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableRowIndex.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.GetTableRowIndex(TableIndex, RowName) - -Metaclass Prototype: GetRowIndex(RowName) - -Description: Returns the Index of a Row referenced by RowName in a 2DA Table. - -Parameters: TableIndex - returned by a previous LoadTable command. -RowName - a row label - -Return value: numeric, -1 if row doesn't exist - -See also: LoadTable - - -MD5: eb41ba2363ba1262a8edfff8265514da diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableRowName.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableRowName.txt deleted file mode 100644 index 418776c38..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableRowName.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.GetTableRowName(TableIndex, RowIndex) - -Metaclass Prototype: GetRowName(RowIndex) - -Description: Returns the Name of a Row in a 2DA Table. - -Parameters: TableIndex - returned by a previous LoadTable command. -RowIndex - the numeric index of the row. - -Return value: string - -See also: LoadTable, GetTableColumnName - - -MD5: 0f970b7c96685f7e78874353dc885f37 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableValue.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableValue.txt deleted file mode 100644 index 3bab16777..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetTableValue.txt +++ /dev/null @@ -1,23 +0,0 @@ - -Prototype: GemRB.GetTableValue(TableIndex, RowIndex/RowString, ColIndex/ColString[, Type]) - -Metaclass Prototype: GetValue(RowIndex/RowString, ColIndex/ColString[, Type]) - -Description: Returns a field of a 2DA Table. The row and column indices must be of same type (either string or numeric), the return value will be of the same type. -Type can also be specified. - -Parameters: TableIndex - returned by a previous LoadTable command. -RowIndex, ColIndex - numeric row/column indices -RowString,ColString - the row/column names as written in the 2da file -Type - forces a specific return type --1 - default - 0 - string - 1 - int - 2 - stat symbol (translated to numeric) - -Return value: numeric or string, based on the indices or type - -See also: GetSymbolValue, FindTableValue, LoadTable - - -MD5: 27a07ff76472c9880891f7548e1ca4f4 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetToken.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetToken.txt deleted file mode 100644 index f79d8fc80..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetToken.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.GetToken(VariableName) - -Description: Get a Variable value from the Token Dictionary. Tokens are string values, both used by the gamescript and the GUI scripts. - -Parameters: VariableName - the name of the variable must be shorter than 32 bytes - -Return value: string, the value of the token - -Example: GemRB.TextAreaAppend(CharGenWindow, TextArea, GemRB.GetToken("CHARNAME")) -The above example will add the protagonist's name to the TextArea (if the token was set correctly). - -See also: SetToken, QueryText - - -MD5: fea89d3ea3aa58100ad165ea6b9cb605 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetVar.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetVar.txt deleted file mode 100644 index c2ffd997c..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/GetVar.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.GetVar(VariableName) - -Description: Get a Variable value from the Global Dictionary. Controls could be set up to be associated with such a variable. Even multiple controls could affect the same variable. - -Parameters: VariableName - the name of the variable must be shorter than 32 bytes - -Return value: numeric, 0 if the variable doesn't exist - -Examples: - selected = GemRB.GetVar ("SelectedMovie") - -See also: SetVar, SetVarAssoc, data_exchange - - -MD5: e1d12a5de0cce9841d6f44622223e79e diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HardEndPL.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HardEndPL.txt deleted file mode 100644 index f75bcbe1d..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HardEndPL.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.HardEndPL() - -Description: Ends a Music Playlist immediately. - -Parameters: N/A - -Return value: N/A - -See also: SoftEndPL - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HasControl.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HasControl.txt deleted file mode 100644 index e6508b790..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HasControl.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.HasControl(WindowIndex, ControlID[, ControlType]) - -Metaclass Prototype: HasControl(ControlID[, ControlType]) - -Description: Returns true if the control exists. - -Parameters: -WindowIndex - the window control id -ControlID - the id of the target control -ControlType - (optional) limit to controls of this type (export them from control.h when needed) - -Return value: bool - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HasResource.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HasResource.txt deleted file mode 100644 index 7ba2dff0d..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HasResource.txt +++ /dev/null @@ -1,9 +0,0 @@ - -Prototype: GemRB.HasResource(ResRef, ResType) - -Description: Returns true if the resource exists. - -Parameters: ResRef - the resource reference (8 characters filename) - ResType - the class ID of the resource - -Return value: boolean diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HasSpecialItem.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HasSpecialItem.txt deleted file mode 100644 index fcaf7dee9..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HasSpecialItem.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.HasSpecialItem(pc, itemtype, useup) - -Description: Checks if a team member has an item, optionally uses it. - -Parameters: -pc - position in the party -itemtype - see itemspec.2da (usually 1) -useup - destroy/remove a charge after use - -Return value: bool - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HasSpecialSpell.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HasSpecialSpell.txt deleted file mode 100644 index 905c8585f..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HasSpecialSpell.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.HasSpecialSpell(pc, itemtype, useup) - -Description: Checks if a team member has a spell, optionally uses it. - -Parameters: -pc - position in the party -itemtype - see splspec.2da -useup - destroy/remove a charge after use - -Return value: bool - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HideGUI.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HideGUI.txt deleted file mode 100644 index bfb6b0884..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/HideGUI.txt +++ /dev/null @@ -1,28 +0,0 @@ - -Prototype: GemRB.HideGUI() - -Description: Hides the game GUI (all windows except the GameControl window). It is also used before a major change is made on a GUI window. After the changes, an UnhideGUI() command should be issued too. The game GUI window references are stored in the following system variables: -MessageWindow - contains a TextArea for ingame messages/dialogue -OptionsWindow - a series of buttons for Inventory/Spellbook/Journal,etc -PortraitWindow - a series of portrait buttons -ActionsWindow - a series of buttons to Attack/Talk,etc -TopWindow - unused (might be removed later) -OtherWindow - this window usually covers the GameControl, it is used to display maps, inventory, journal, etc. -FloatWindow - special window which floats on top of the GameControl -All these windows are associated with a position variable too, these are MessagePosition, OptionsPosition, etc. -The position value tells the engine the window's relative position to the GameControl GUI. The engine doesn't make any distinction between these windows based on their reference name. The differences come from the position value. --1 - no position (floats over GameControl) -0 - left -1 - bottom -2 - right -3 - top -4 - bottom (cummulative) - -Parameters: N/A - -Return value: 1 on success? - -See also: UnhideGUI, InvalidateWindow, SetVisible - - -MD5: b95f905bba48f95a878868c7c453d52f diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/IncreaseReputation.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/IncreaseReputation.txt deleted file mode 100644 index ca3d8ccc1..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/IncreaseReputation.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.IncreaseReputation(Donation) - -Description: Increases party's reputation based on Donation. (see reputatio.2da) - -Parameters: the gold spent as donation to increase reputation. You have to change the party's gold separately. - -Return value: Nonzero if the reputation has been increased. (The amount of increase is multiplied by ten.) - -See also: GameGetReputation, GameGetPartyGold, GameSetPartyGold - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/InvalidateWindow.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/InvalidateWindow.txt deleted file mode 100644 index 6a301d0da..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/InvalidateWindow.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.InvalidateWindow(WindowIndex) - -Metaclass Prototype: Invalidate() - -Description: Invalidates the given Window so it will be redrawn entirely. - -Parameters: WindowIndex is the index returned by LoadWindow() - -Return value: N/A - -See also: LoadWindow - - -MD5: 98ab4933674a41c8ce3d21ab00ac45af diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/IsDraggingItem.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/IsDraggingItem.txt deleted file mode 100644 index 2a5be5571..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/IsDraggingItem.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.IsDraggingItem() - -Description: Returns 1 if the player is dragging an item with the mouse (usually in the inventory screen). Returns 2 if the player is dragging a portrait (rearranging the party). - -Parameters: N/A - -Return value: boolean - -See also: DropDraggedItem, DragItem - - -MD5: 3444790d47084300ab522deaca065d43 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/IsDualWielding.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/IsDualWielding.txt deleted file mode 100644 index 7999b07a1..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/IsDualWielding.txt +++ /dev/null @@ -1,12 +0,0 @@ - -Prototype: GemRB.IsDualWielding(pc) - -Description: 1 if the pc is dual wielding; 0 otherwise. - -Parameters: -pc - position in the party - -Return value: bool - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/IsValidStoreItem.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/IsValidStoreItem.txt deleted file mode 100644 index 05e5a896e..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/IsValidStoreItem.txt +++ /dev/null @@ -1,18 +0,0 @@ - -Prototype: IsValidStoreItem( PartyID, slot[, type] ) - -Description: Returns if a pc's inventory item or a store item is valid for buying, selling, identifying or stealing. If Type is 1, then this is a store item. - -Parameters: -PartyID - the PC's position in the party -slot - the item's inventory or store slot - -Return value: bitfield -1 - valid for buy -2 - valid for sell -4 - valid for identify -8 - valid for steal -0x40 - selected for buy or sell - -See also: EnterStore, GetSlotItem, GetStoreItem, ChangeStoreItem - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LearnSpell.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LearnSpell.txt deleted file mode 100644 index 9681a8082..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LearnSpell.txt +++ /dev/null @@ -1,19 +0,0 @@ - -Prototype: GemRB.LearnSpell(PartyID, SpellResRef[, Flags]) - -Description: Tries to learn the specified spell. - -Parameters: -PartyID - the PC's position in the party -SpellResRef - the spell's Resource Reference -Flags - bitmap with the following bits (default is 0): - 1 - Give XP for learning (Level * 100) - 2 - Display message - 4 - Check for insufficient stats - 8 - Also memorize it - -Return value: integer, 0 on success, different values on failure. - -See also: MemorizeSpell, RemoveSpell - -MD5: 768a8203f408816c5294f8601a7a4b4e diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LeaveContainer.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LeaveContainer.txt deleted file mode 100644 index 362475205..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LeaveContainer.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: LeaveContainer( ) - -Description: Closes the current container by calling 'CloseContainerWindow' in the next update cycle. You cannot call 'CloseContainerWindow' directly, because the core system needs to know if the container subwindow is still open. This function will also remove empty ground piles. - -Parameters: - - -Return value: None - -See also: GetContainer, GetContainerItem, LeaveStore - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LeaveParty.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LeaveParty.txt deleted file mode 100644 index 4a5be5e54..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LeaveParty.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.LeaveParty(Slot [, Dialog]) - -Description: Removes the player character from the party. - -Parameters: Slot - actor index in game structure - Dialog - if set to 1, initiate the dialog. - if set to 2, execute "SetLeavePartyDialogFile" and initiate dialog. - -Return value: N/A - -See also: GetPartySize - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LeaveStore.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LeaveStore.txt deleted file mode 100644 index 3ca40173b..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LeaveStore.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: LeaveStore( ) - -Description: Saves the current store to the Cache folder and removes it from memory. If there was no active store, this function causes a runtime error. - -Parameters: - - -Return value: None - -See also: EnterStore, GetStore - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadGame.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadGame.txt deleted file mode 100644 index 4e64f1aba..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadGame.txt +++ /dev/null @@ -1,20 +0,0 @@ - -Prototype: GemRB.LoadGame(index[,version]) - -Description: Loads a saved game. This must be done before party creation. -You must set the variable called PlayMode before loading a game (see SetVar). -The game won't be loaded before the current GUIScript function returns! - -Parameters: index - the saved game's index, -1 means new game. - version - optional version to override some buggy default savegame versions -PlayMode (variable) - 0 (single player) ,1 (tutorial) ,2 (multi player) - -Return value: N/A - -Example: GemRB.SetVar("PlayMode", 0) - GemRB.LoadGame(-1, 22) - -See also: EnterGame, CreatePlayer, SetVar, SaveGame - - -MD5: a1bc07430d99c420a4e662a67eeda8fb diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadMusicPL.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadMusicPL.txt deleted file mode 100644 index bbee6f877..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadMusicPL.txt +++ /dev/null @@ -1,12 +0,0 @@ - -Prototype: LoadMusicPL(MusicPlayListResource, HardEnd) - -Description: Loads and starts a Music PlayList. - -Parameters: MusicPlayListResource is a .mus resref -HardEnd - off by default, set to 1 to disable the fading at the end - -Return value: N/A - -See also: SoftEndPL, HardEndPL - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadSymbol.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadSymbol.txt deleted file mode 100644 index 542e4ae2b..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadSymbol.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.LoadSymbol(IDSResRef) - -Description: Loads a IDS Symbol List. In case it was already loaded, it will return the list's existing reference (won't load it again). - -Parameters: IDSResRef - the symbol list's name (.ids resref) - -Return value: - Symbol table reference index - -See also: UnloadSymbol - - -MD5: 40c9dacdfad30df5302c753880a84aa0 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadTable.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadTable.txt deleted file mode 100644 index 09a3b8fd0..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadTable.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.LoadTable(2DAResRef, [ignore_error=0]) - -Description: Loads a 2DA Table. In case it was already loaded, it will return the table's existing reference (won't load it again). - -Parameters: 2DAResRef - the table's name (.2da resref) - ignore_error - boolean, if set, then the script won't be blocked by missing files. - -Return value: GTable - -See also: UnloadTable, LoadSymbol - - -MD5: fc03d66804e2be05bed6bfaa56900d66 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadWindow.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadWindow.txt deleted file mode 100644 index cc38a1931..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadWindow.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.LoadWindow(WindowID) - -Description: Returns a Window. You must call LoadWindowPack before using this command. The window won't be displayed. - If LoadWindowPack() set nonzero natural screen size with Width and Height - parameters, the loaded window is then moved by - (screen size - winpack size) / 2 - -Parameters: a window ID, see the .chu file specification - -Return value: GWindow - -See also: LoadWindowPack, GetControl, SetVisible, ShowModal, accessing_gui_controls - -MD5: c307b6a51ed3bcc0e551bad770b37853 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadWindowFrame.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadWindowFrame.txt deleted file mode 100644 index 84e9dfc0a..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadWindowFrame.txt +++ /dev/null @@ -1,32 +0,0 @@ -Prototype: GemRB.LoadWindowFrame(MOSResRef_Left, MOSResRef_Right, MOSResRef_Top, MOSResRef_Bottom)) - -Description: Load the parts of window frame used to decorate windows - on higher resolutions. - -Parameters: - MOSResRef_Left, - MOSResRef_Right, - MOSResRef_Top, - MOSResRef_Bottom: names of MOS files with frame parts - -Return value: N/A - -Example: (from bg2's Start.py) - # Find proper window border for higher resolutions - screen_width = GemRB.GetSystemVariable (SV_WIDTH) - screen_height = GemRB.GetSystemVariable (SV_HEIGHT) - if screen_width == 800: - GemRB.LoadWindowFrame ("STON08L", "STON08R", "STON08T", "STON08B") - elif screen_width == 1024: - GemRB.LoadWindowFrame ("STON10L", "STON10R", "STON10T", "STON10B") - - # Windows in this winpack were originally made and placed - # for 640x480 screen size - GemRB.LoadWindowPack ("START", 640, 480) - StartWindow = GemRB.LoadWindow (0) - GemRB.SetWindowFrame (StartWindow) - - -See also: SetWindowFrame, LoadWindowPack - -MD5: 22d075f66da06a3c45c66a547719f960 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadWindowPack.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadWindowPack.txt deleted file mode 100644 index f1d482014..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/LoadWindowPack.txt +++ /dev/null @@ -1,19 +0,0 @@ - -Prototype: GemRB.LoadWindowPack(CHUIResRef, [Width=0, Height=0]) - -Description: Loads a WindowPack into the Window Manager Module. Only one windowpack may be open at a time, but once a window was selected by LoadWindow, you can get a new windowpack. - -Parameters: - CHUIResRef: the name of the GUI set (.CHU resref) - Width, Height: if nonzero, they set the natural screen size for which - the windows in the winpack are positioned. LoadWindow() uses this - information to automatically reposition loaded windows. - -Return value: N/A - -Example: - LoadWindowPack ("START", 640, 480) - -See also: LoadWindow, LoadWindowFrame - -MD5: 591f80db15302b2a620238219b61f02a diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/Makefile.am b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/Makefile.am deleted file mode 100644 index 3a2484302..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ -guiscriptdocs_DATA = *.txt -guiscriptdocsdir = $(docdir)/GUIScript/ -EXTRA_DIST = *.txt diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/MemorizeSpell.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/MemorizeSpell.txt deleted file mode 100644 index c257d560f..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/MemorizeSpell.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.MemorizeSpell(PartyID, SpellType, Level, Index) - -Description: Sets spell to be memorized on rest. - -Parameters: -PartyID - the PC's position in the party -SpellType - 0 - priest, 1 - wizard, 2 - innate -Level - the known spell's level -Index - the known spell's index - -Return value: boolean, 1 on success. - -See also: GetKnownSpell, UnmemorizeSpell - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ModifyEffect.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ModifyEffect.txt deleted file mode 100644 index 704d796be..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ModifyEffect.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.ModifyEffects(PartyID, opcode, x, y) - -Description: Changes/sets the target coordinates of the specified effect. -This command is used for the farsight spell. - -Parameters: -PartyID - the player character's index in the party -opcode - the effect opcode (for values see effects.ids) -x - target x coordinate -y - target y coordinate - -Return value: N/A - -See also: ApplyEffect, CountEffects - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/MoveTAText.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/MoveTAText.txt deleted file mode 100644 index 47abc9c8b..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/MoveTAText.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: MoveTAText(srcWin, srcCtrl, dstWin, dstCtrl) - -Metaclass Prototype: MoveText(dstCtrl) - -Description: Copies a TextArea content to another TextArea. Both parameter pairs must point to a valid TextArea. - -Parameters: srcWin, srcCtrl - a window index/control index pair of the source control - dstWin, dstCtrl - a window index/control index pair of the destination control - -Return value: N/A - -See also: SetText - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/MoveToArea.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/MoveToArea.txt deleted file mode 100644 index 581168087..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/MoveToArea.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.MoveToArea(resref) - -Description: Moves the selected actors to the named area. - -Parameters: resref - The name of the area. - -Return value: N/A - -See also: GetCurrentArea - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/PlayMovie.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/PlayMovie.txt deleted file mode 100644 index d1542fd2e..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/PlayMovie.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.PlayMovie(MOVResRef[,flag]) - -Description: Plays the named movie. Sets the configuration variable MOVResRef to 1. If flag was set to 1 it won't play the movie if the configuration variable was already set. - -Parameters: MOVResRef - a .mve resource reference. - flag - don't play movie twice - -Return value: 0 - movie played - -1 - error occurred - 1 - movie skipped - -See also: SetVar, GetVar - - -MD5: 5aa65188f90931b955b6c91969b3393c diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/PlaySound.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/PlaySound.txt deleted file mode 100644 index 1ffcccb12..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/PlaySound.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.PlaySound(SoundResource, xpos, ypos, type) - -Description: Plays a Sound. If there is a single PC selected, then it will play the sound as if it was said by that PC (EAX). - -Parameters: a .wav resref (the format could be raw pcm, wavc or ogg; 8/16 bit; mono/stereo). Use the None python object to simply stop the previous sound. - x coordinate of the position where the sound should be played (optional) - y coordinate of the position where the sound should be played (optional) - type - defaults to 1, use 4 for speeches or other sounds that should stop the previous sounds (optional) - -Return value: N/A - -See also: LoadMusicPL - - -MD5: 7370df8f931c57fc8317ca7472ea612e diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/QueryText.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/QueryText.txt deleted file mode 100644 index 2cfbbf301..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/QueryText.txt +++ /dev/null @@ -1,23 +0,0 @@ - -Prototype: QueryText(WindowIndex, ControlIndex) - -Metaclass Prototype: QueryText() - -Description: Returns the Text of a TextEdit/TextArea/Label control. In case of a TextArea, it will return the selected row, not the entire textarea. - -Parameters: WindowIndex, ControlIndex - the control's reference - -Return value: string, may be empty - -Example: - Name = GemRB.QueryText(NameWindow, NameField) - GemRB.SetToken("CHARNAME",Name) -The above example retrieves the character's name typed into the TextEdit control and stores it in a Token (a string variable accessible to gamescripts, the engine core and to the guiscripts too). - - GemRB.SetToken("VoiceSet", GemRB.QueryText(SoundWindow, TextAreaControl)) -The above example sets the VoiceSet token to the value of the selected string in a TextArea control. Later this voiceset could be stored in the character sheet. - -See also: SetText, SetToken, accessing_gui_controls - - -MD5: 7bcc3ff81f595b8d73c784ca32b06d5e diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/Quit.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/Quit.txt deleted file mode 100644 index b7253ff37..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/Quit.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.Quit() - -Description: Quits the GemRB program immediately. - -Parameters: N/A - -Return value: N/A - -See also: QuitGame - - -MD5: 821540a9b347bc2490ac7935df46f481 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/QuitGame.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/QuitGame.txt deleted file mode 100644 index 9ddb07442..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/QuitGame.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.QuitGame() - -Description: Ends the current game session (saved game). To go back to the main screen, you must call SetNextScript. Automatically unloads all existing windows and resets the window variables used by HideGUI(). - -Parameters: N/A - -Return value: N/A - -See also: EnterGame, Quit, SetNextScript, HideGUI - - -MD5: ddab42f8f83286b5499855a5bec36bd1 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RemoveEffects.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RemoveEffects.txt deleted file mode 100644 index a290d9305..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RemoveEffects.txt +++ /dev/null @@ -1,12 +0,0 @@ - -Prototype: GemRB.RemoveEffects(PartyID, SpellResRef) - -Description: Removes all effects created by the spell named SpellResRef. -This is mostly useful for removing class abilities (CLAB/HLA AP_* entries). - -Parameters: -PartyID - the PC's position in the party -SpellResRef - a spell resource reference - -See also: RemoveSpell, RemoveItem - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RemoveItem.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RemoveItem.txt deleted file mode 100644 index 2560e5d9a..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RemoveItem.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.RemoveItem(PartyID, Slot[, Count]) - -Description: Removes and destructs an item in an actor's inventory. This works even if the item is cursed or indestructible. - -Parameters: -PartyID - the PC's position in the party -Slot - The inventory slot index of the item -Count - the number of items - -Return value: boolean, 1 on success - -See also: CreateItem - -MD5: diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RemoveSpell.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RemoveSpell.txt deleted file mode 100644 index 9d6058999..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RemoveSpell.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.RemoveSpell(PartyID, SpellType, Level, Index) - -Description: Unlearns a specified known spell. The original game (bg2) let only mage spells unlearned. - -Parameters: -PartyID - the PC's position in the party -SpellType - 0 - priest, 1 - wizard, 2 - innate -Level - the known spell's level -Index - the known spell's index - -Return value: boolean, 1 on success - -See also: UnmemorizeSpell, GetKnownSpellsCount, GetKnownSpell, LearnSpell, RemoveEffects - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RestParty.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RestParty.txt deleted file mode 100644 index b13234674..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RestParty.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.RestParty(flags, hp, movie) - -Description: Makes the party rest. It is possible to check various things that may forbid resting (hostile creatures, area flags, party scattered). It is possible to play a movie animation too. - -Parameters: -flags - -hp - hit points healed, 0 means full healing -movie - a number 0-7, see restmov.2da - -Return value: N/A - -See also: StartStore(gamescript) diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RevealArea.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RevealArea.txt deleted file mode 100644 index 748587a80..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RevealArea.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.RevealArea(x, y, radius, type) - -Description: Reveals part of the area. - -Parameters: -x - x coordinate of the center point -y - y coordinate of the center point -radius - radius of the circle to explore -type - if positive will make the effect ignore blocked portions of the map - -Return value: N/A - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RewindTA.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RewindTA.txt deleted file mode 100644 index 46a2893ae..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/RewindTA.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: RewindTA(Win, Ctrl, Ticks) - -Metaclass Prototype: Rewind(Ticks) - -Description: Sets up a textarea control for scrolling text. It clears the textarea and sets TEXTAREA_SMOOTHSCROLL attribute in the textarea. - -Parameters: Win, Ctrl - a window index/control index pair of the textarea - Ticks - alters the scrolling speed (delay between steps) - -Return value: N/A - -See also: SetTAHistory, SetTextAreaFlags, SetEvent diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/Roll.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/Roll.txt deleted file mode 100644 index e70e22a0e..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/Roll.txt +++ /dev/null @@ -1,21 +0,0 @@ - -Prototype: GemRB.Roll(Dice, Size, Add) - -Description: Calls traditional dice roll calculation. - -Parameters: Dice - the number of the dice. - Size - the size of the die. - Add - add this value directly to the sum - -Return value: numeric - -Example: - dice = 3 - size = 5 - v = GemRB.Roll(dice, size, 3) -The above example generates a 3d5+3 number. - -See also: - - -MD5: ad757524b8fb4284f423cd3f5fbb5eb1 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SaveCharacter.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SaveCharacter.txt deleted file mode 100644 index 1a647fff8..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SaveCharacter.txt +++ /dev/null @@ -1,19 +0,0 @@ - -Prototype: GemRB.SaveCharacter(PartyID, filename) - -Description: Saves (exports) the designated partymember into the Characters directory of the game. This character is importable later by a special CreatePlayer call. - -Parameters: - PartyID - the saved character's position in the party - filename - the filename of the character - -Return value: N/A - -Example: - pc = GemRB.GameGetSelectedPCSingle () - GemRB.SaveCharacter(pc, ExportFileName) - -The above example exports the currently selected character. - -See also: CreatePlayer - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SaveGame.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SaveGame.txt deleted file mode 100644 index 9732947da..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SaveGame.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.SaveGame(position, description) - -Description: Saves the current game. This won't be started before the current script returns. - -Parameters: - pos - the saved game's index, 0 and 1 are reserved - description - the string that will also appear in the filename - -Return value: N/A - -Example: - GemRB.SaveGame(0, "QuickSave") #this will make a quicksave - -See also: LoadGame, SaveCharacter - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetActionIcon.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetActionIcon.txt deleted file mode 100644 index f3976ba59..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetActionIcon.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.SetActionIcon(WindowIndex, ControlIndex, ActionIndex) - -Metaclass Prototype: SetActionIcon(ActionIndex) - -Description: Sets up an action button based on the guibtact table. The ActionIndex should be less than 32. This action will set the button's image, the tooltip and the push button event handler. - -Parameters: -WindowIndex, ControlIndex - the button's reference -ActionIndex - the row number in the guibtact.2da file - -Return value: N/A - -See also: SetSpellIcon, SetItemIcon, SetupControls diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetAnimation.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetAnimation.txt deleted file mode 100644 index e742814d4..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetAnimation.txt +++ /dev/null @@ -1,17 +0,0 @@ - -Prototype: GemRB.SetAnimation(WindowIndex, ControlIndex, BAMResRef[, Cycle]) - -Metaclass Prototype: SetAnimation(BAMResRef[, Cycle]) - -Description: Sets the animation of a Control (usually a Button) from a BAM file. Optionally an animation cycle could be set too. - -Parameters: -WindowIndex - the window control id -ControlID - the id of the target control -BAMResRef - resref of the animation -Cycle - (optional) number of the cycle to use - -Return value: N/A - -See also: SetAnimationPalette - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetAnimationPalette.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetAnimationPalette.txt deleted file mode 100644 index 004c4bba8..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetAnimationPalette.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.SetAnimationPalette(WindowIndex, ControlIndex, col1, col2, col3, col4, col5, col6, col7, col8) - -Metaclass Prototype: SetAnimationPalette(col1, col2, col3, col4, col5, col6, col7, col8) - -Description: Sets the palette of an animation already assigned to the button. - -Parameters: -WindowIndex - the window control id -ControlID - the id of the target control -col1 - col8 - colors for the palette - -Return value: N/A - -See also: SetAnimation - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetBufferLength.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetBufferLength.txt deleted file mode 100644 index 1052f908c..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetBufferLength.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.SetBufferLength(WindowIndex, ControlIndex, Length) - -Metaclass Prototype: SetBufferLength(Length) - -Description: Sets the maximum text length of a TextEdit Control. It cannot be more than 65535. - -Parameters: -WindowIndex - the window control id -ControlID - the id of the target control -Length - the maximum text length - -Return value: N/A - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonBAM.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonBAM.txt deleted file mode 100644 index 1fa24bbac..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonBAM.txt +++ /dev/null @@ -1,17 +0,0 @@ - -Prototype: GemRB.SetButtonBAM(WindowIndex, ControlIndex, BAMResRef, CycleIndex, FrameIndex, col1) - -Metaclass Prototype: SetBAM(BAMResRef, CycleIndex, FrameIndex, col1) - -Description: Sets the Picture of a Button Control from a BAM file. If the supplied color gradient value is -1, then no palette change, if it is >=0, then it changes the 4-16 palette entries of the bam. - -Parameters: -WindowIndex, ControlIndex - the control's reference -BAMResRef - the name of the BAM animation (a .bam resref) -CycleIndex, FrameIndex - the cycle and frame index of the picture in the bam -col1 - the gradient number, (-1 no gradient) - -Return value: N/A - -See also: SetButtonPLT, SetButtonPicture, SetButtonSprites - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonBorder.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonBorder.txt deleted file mode 100644 index 509b2e20d..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonBorder.txt +++ /dev/null @@ -1,27 +0,0 @@ - -Prototype: GemRB.SetButtonBorder(WindowIndex, ControlIndex, BorderIndex, dx1, dy1, dx2, dy2, R, G, B, A, [enabled, filled]) - -Metaclass Prototype: SetBorder(BorderIndex, dx1, dy1, dx2, dy2, R, G, B, A, [enabled, filled]) - -Description: Sets border/frame/overlay parameters for a button. This command can be used for drawing a border around a button, or to overlay it with a tint (like with unusable or unidentified item's icons). - -Parameters: -WindowIndex, ControlIndex - the control's reference -BorderIndex - 0,1 or 2 -dx1,dy1 - Upper left corner -dx2,dy2 - Offset from the lower right corner -RGBA - red,green,blue,opacity components of the border colour -enabled - 1 means enable it immediately -filled - 1 means draw it filled (overlays) - -Return value: N/A - -Examples: -GemRB.SetButtonBorder (Window, Icon, 0, 0, 0, 0, 0, 0, 0, 0, 160, 0, 1) -Not known spells are drawn darkened (the whole button will be overlaid). - -GemRB.SetButtonBorder (Window, Button, FRAME_PC_SELECTED, 1, 1, 2, 2, 0, 255, 0, 255) -This will draw a green frame around the portrait. - -See also: EnableButtonBorder - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonFlags.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonFlags.txt deleted file mode 100644 index 480d57453..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonFlags.txt +++ /dev/null @@ -1,35 +0,0 @@ - -Prototype: GemRB.SetButtonFlags(WindowIndex, ControlIndex, Flags, Operation) - -Metaclass Prototype: SetFlags(Flags, Operation) - -Description: Sets the Display Flags of a Button. - -Parameters: -WindowIndex, ControlIndex - the control's reference -Flags - various bits altering the behaviour of the control -IE_GUI_BUTTON_NO_IMAGE = 0x00000001, no button image set by SetButtonSprites -IE_GUI_BUTTON_PICTURE = 0x00000002, has picture set by other SetButton* commands -IE_GUI_BUTTON_SOUND = 0x00000004, clicking the button has a sound -IE_GUI_BUTTON_ALT_SOUND = 0x00000008, clicking the button has a different sound -IE_GUI_BUTTON_CHECKBOX = 0x00000010, it is a checkbox -IE_GUI_BUTTON_RADIOBUTTON= 0x00000020, it is a radio button -IE_GUI_BUTTON_DEFAULT = 0x00000040, it is the default button -IE_GUI_BUTTON_DRAGGABLE = 0x00000080, the image of the button is draggable? -Operation - the binary operation to be performed on the - current button flags -OP_SET = 0, sets the value completely -OP_OR = 1, sets (turns on) the 1 bits of the value -OP_NAND = 2, resets (turns off) the 1 bits of the value - -Return value: N/A - -Examples: -GemRB.SetButtonFlags (window, button, IE_GUI_BUTTON_CHECKBOX, OP_OR) -This command will make the button behave like a checkbox. - -GemRB.SetButtonFlags (Window, Button, IE_GUI_BUTTON_NO_IMAGE, OP_NAND) -This command will re-enable the images of the button (making it visible). - -See also: SetButtonSprites, SetButtonPicture, SetButtonBAM - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonFont.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonFont.txt deleted file mode 100644 index 3af39c0b0..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonFont.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.SetButtonFont(WindowIndex, ControlIndex, FontResRef) - -Metaclass Prototype: SetFont(FontResRef) - -Description: Sets font used for drawing button text. - -Parameters: -WindowIndex, ControlIndex - the control's reference -FontResref - a .bam resref which must be listed in fonts.2da - -Return value: N/A - -See also: CreateLabel - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonMOS.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonMOS.txt deleted file mode 100644 index 1da76dfdf..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonMOS.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.SetButtonMOS(WindowIndex, ControlIndex, MOSResRef) - -Metaclass Prototype: SetMOS(MOSResRef) - -Description: Sets the Picture of a Button Control from a MOS file. - -Parameters: -WindowIndex, ControlIndex - the control's reference -MOSResRef - the name of the picture (a .mos resref) - -Return value: N/A - -See also: SetButtonBAM, SetButtonPLT, SetButtonPicture - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonOverlay.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonOverlay.txt deleted file mode 100644 index 58c991401..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonOverlay.txt +++ /dev/null @@ -1,17 +0,0 @@ - -Prototype: GemRB.SetButtonOverlay(Window, Button, ratio, r1,g1,b1,a1, r2,g2,b2,a2) - -Metaclass Prototype: SetOverlay(ratio, r1,g1,b1,a1, r2,g2,b2,a2) - -Description: Sets ratio (0-1.0) of height to which button picture will be overlaid in a different colour. The colour will fade from the first rgba values to the second. - -Parameters: -Window, Button - the control's reference -ClippingRatio - a floating point value from the 0-1 interval -rgba1 - source colour -rgba2 - target colour - -Return value: N/A - -See also: SetButtonPictureClipping - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonPLT.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonPLT.txt deleted file mode 100644 index b1e06c3d3..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonPLT.txt +++ /dev/null @@ -1,21 +0,0 @@ - -Prototype: GemRB.SetButtonPLT(WindowIndex, ControlIndex, PLTResRef, col1, col2, col3, col4, col5, col6, col7, col8, type) - -Metaclass Prototype: SetPLT(PLTResRef, col1, col2, col3, col4, col5, col6, col7, col8, type) - -Description: Sets the Picture of a Button Control from a PLT file. Sets up the palette based on the eight given gradient colors. - -Parameters: -WindowIndex, ControlIndex - the control's reference -PLTResRef - the name of the picture (a .plt resref) -col1-8 - color gradients -type - the byte to use from the gradients - 0 Body (robe or armour) - 1 Weapon - 2 Shield - 3 Helmet - -Return value: N/A - -See also: SetButtonBAM - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonPicture.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonPicture.txt deleted file mode 100644 index fd4d3fa85..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonPicture.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.SetButtonPicture(WindowIndex, ControlIndex, PictureResRef, DefaultResRef) - -Metaclass Prototype: SetPicture(PictureResRef, DefaultResRef) - -Description: Sets the Picture of a Button Control from a BMP file. - -Parameters: -WindowIndex, ControlIndex - the control's reference -PictureResRef - the name of the picture (a .bmp resref) -DefaultResRef - an alternate bmp should the picture be nonexistent -Return value: N/A - -See also: SetButtonBAM, SetButtonPLT, SetButtonSprites, SetButtonPictureClipping, SetWindowPicture - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonPictureClipping.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonPictureClipping.txt deleted file mode 100644 index 5cb7e1463..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonPictureClipping.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.SetButtonPictureClipping(Window, Button, ClippingRatio) - -Metaclass Prototype: SetPictureClipping(ClippingRatio) - -Description: Sets percent (0-1.0) of width to which button picture will be clipped. This clipping cannot be used simultaneously with SetButtonOverlay. - -Parameters: -Window, Button - the control's reference -ClippingRatio - a floating point value from the 0-1 interval - -Return value: N/A - -See also: SetButtonPicture, SetButtonOverlay - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonSprites.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonSprites.txt deleted file mode 100644 index 3b6c20438..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonSprites.txt +++ /dev/null @@ -1,20 +0,0 @@ - -Prototype: GemRB.SetButtonSprites(WindowIndex, ControlIndex, ResRef, Cycle, UnpressedFrame, PressedFrame, SelectedFrame, DisabledFrame) - -Metaclass Prototype: SetSprites(ResRef, Cycle, UnpressedFrame, PressedFrame, SelectedFrame, DisabledFrame) - -Description: Sets the Button's Images. You can disable the images by setting the IE_GUI_BUTTON_NO_IMAGE flag on the control. - -Parameters: -WindowIndex, ControlIndex - the control's reference -ResRef - a .bam animation resource (.bam resref) -Cycle - the cycle of the .bam from which all frames of this button will come -UnpressedFrame - the frame which will be displayed by default -PressedFrame - the frame which will be displayed when the button is pressed -SelectedFrame - this is for selected checkboxes -DisabledFrame - this is for inactivated buttons - -Return value: N/A - -See also: SetButtonFlags, SetButtonBAM, SetButtonPicture - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonState.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonState.txt deleted file mode 100644 index b439d823c..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonState.txt +++ /dev/null @@ -1,23 +0,0 @@ - -Prototype: GemRB.SetButtonState(WindowIndex, ControlIndex, State) - -Metaclass Prototype: SetState(State) - -Description: Sets the state of a Button Control. Doesn't work if the button -is a checkbox or a radio button though, their states are handled internally. - -Parameters: WindowIndex, ControlIndex - the control's reference -State - the new state of the button: -IE_GUI_BUTTON_ENABLED = 0x00000000, default state -IE_GUI_BUTTON_UNPRESSED = 0x00000000, same as above -IE_GUI_BUTTON_PRESSED = 0x00000001, the button is pressed -IE_GUI_BUTTON_SELECTED = 0x00000002, the button stuck in pressed state -IE_GUI_BUTTON_DISABLED = 0x00000003, the button is disabled -IE_GUI_BUTTON_LOCKED = 0x00000004, the button is inactive (like DISABLED, but processes MouseOver events and draws UNPRESSED bitmap) -IE_GUI_BUTTON_THIRD = 0x00000005, draws DISABLED bitmap, but it isn't disabled -IE_GUI_BUTTON_SECOND = 0x00000006, draws PRESSED bitmap, but it isn't shifted - -Return value: N/A - -See also: SetButtonFlags - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonTextColor.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonTextColor.txt deleted file mode 100644 index 2b4c56410..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetButtonTextColor.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.SetButtonTextColor(WindowIndex, ControlIndex, red, green, blue) - -Metaclass Prototype: SetTextColor(red, green, blue) - -Description: Sets the Text Color of a Button Control. - -Parameters: -WindowIndex, ControlIndex - the control's reference -red,green,blue - the rgb color values - -Return value: N/A - -See also: SetLabelUseRGB, SetLabelTextColor - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetControlPos.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetControlPos.txt deleted file mode 100644 index 4d755c264..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetControlPos.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.SetControlPos(WindowIndex, ControlIndex, X, Y) - -Metaclass Prototype: SetPos(X, Y) - -Description: Moves a Control. - -Parameters: WindowIndex, ControlIndex - the control's reference -X,Y - the new position of the control relative to the window - -Return value: N/A - -See also: SetControlSize, accessing_gui_controls - - -MD5: fdec6fc5feaa586ba735e4b36c086989 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetControlSize.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetControlSize.txt deleted file mode 100644 index d4667ae41..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetControlSize.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.SetControlSize(WindowIndex, ControlIndex, Width, Height) - -Metaclass Prototype: SetSize(Width, Height) - -Description: Resizes a Control. - -Parameters: WindowIndex, ControlIndex - the control's reference -Width, Height - the new dimensions of the control - -Return value: N/A - -See also: SetControlPos, accessing_gui_controls - - -MD5: e7467f0f874bffc30c31ef6030422c16 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetControlStatus.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetControlStatus.txt deleted file mode 100644 index 4eb417832..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetControlStatus.txt +++ /dev/null @@ -1,31 +0,0 @@ - -Prototype: GemRB.SetControlStatus(WindowIndex, ControlIndex, State) - -Metaclass Prototype: SetStatus(State) - -Description: Sets the state of a Control. For buttons, this is the same as SetButtonState. You can additionally use 0x80 for a focused control. -For other controls, this command will set the common Value of the control, which has various uses. - -Parameters: WindowIndex, ControlIndex - the control's reference - -Button States: -IE_GUI_BUTTON_ENABLED = 0x00000000, default state -IE_GUI_BUTTON_UNPRESSED = 0x00000000, same as above -IE_GUI_BUTTON_PRESSED = 0x00000001, the button is pressed -IE_GUI_BUTTON_SELECTED = 0x00000002, the button stuck in pressed state -IE_GUI_BUTTON_DISABLED = 0x00000003, the button is disabled -IE_GUI_BUTTON_LOCKED = 0x00000004, the button is inactive - -#Text Edit states -IE_GUI_EDIT_NUMBER = 0x030000001, the textedit will accept only digits - -Map Control States (add 0x09000000 to these): -IE_GUI_MAP_NO_NOTES = 0, no mapnotes visible -IE_GUI_MAP_VIEW_NOTES = 1, view notes (no setting) -IE_GUI_MAP_SET_NOTE = 2, allow setting notes - - -Return value: N/A - -See also: SetButtonState - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetDefaultActions.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetDefaultActions.txt deleted file mode 100644 index 4805d82c3..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetDefaultActions.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.SetDefaultActions(qslot, action1, action2, action3) - -Description: Sets whether quick slots need an additional translation like in iwd2. -Also sets up the first three default action types. - - -Parameters: qslot - bool - action1-3 - button codes - -Return value: N/A - -See also: SetupControls diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetDefaultScrollBar.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetDefaultScrollBar.txt deleted file mode 100644 index 664d447b1..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetDefaultScrollBar.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: SetDefaultScrollBar(WindowIndex, ControlIndex) - -Metaclass Prototype: SetDefaultScrollBar() - -Description: Sets a ScrollBar as default on a window. If any control receives mousewheel events, it will be relayed to this ScrollBar, unless there is another attached to the control. - -Parameters: WindowIndex, ControlIndex - the ScrollBar control's reference - -Return value: N/A - -See also: AttachScrollBar - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetEquippedQuickSlot.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetEquippedQuickSlot.txt deleted file mode 100644 index 42cadd911..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetEquippedQuickSlot.txt +++ /dev/null @@ -1,14 +0,0 @@ -Prototype: GemRB.SetEquippedQuickSlot(PartyID, QWeaponSlot[, ability]) - -Description: Sets the specified weapon slot as equipped weapon slot. - -Parameters: -PartyID - the PC's position in the party (1 based) -QWeaponSlot - the quickslot to equip -ability - optional integer, sets the used ability - -Return value: 0 success, -1 silent failure - -See also: GetEquippedQuickSlot, SetupQuickSlot - -MD5: dde8a3aad7a34d817501e1d8877f5173 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetEvent.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetEvent.txt deleted file mode 100644 index 98ff994df..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetEvent.txt +++ /dev/null @@ -1,43 +0,0 @@ - -Prototype: Control.SetEvent(EventMask, PythonFunction) - -Description: Sets an event of a control on a window to a python function - -Parameters: -EventMask - a dword describing the event. Its high byte is actually the control's type. -PythonFunction - the function object - -Implemented events: -IE_GUI_BUTTON_ON_PRESS = 0x00000000, the user pressed the button. -IE_GUI_MOUSE_OVER_BUTTON = 0x00000001, the user hovered the mouse over the button. -IE_GUI_MOUSE_ENTER_BUTTON = 0x00000002, the user just moved the mouse onto the button. -IE_GUI_MOUSE_LEAVE_BUTTON = 0x00000003, the mouse just left the button -IE_GUI_BUTTON_ON_SHIFT_PRESS = 0x00000004, the button was pressed along with the shift key. -IE_GUI_BUTTON_ON_RIGHT_PRESS = 0x00000005, the button was right clicked -IE_GUI_BUTTON_ON_DRAG_DROP = 0x00000006, the button was clicked during a drag&drop action. -IE_GUI_PROGRESS_END_REACHED = 0x01000000, the progressbar received a 100 percent value. -IE_GUI_SLIDER_ON_CHANGE = 0x02000000, the slider's knob position has changed. -IE_GUI_EDIT_ON_CHANGE = 0x03000000, the text in the editbox has changed. -IE_GUI_TEXTAREA_ON_CHANGE = 0x05000000, the text in the textarea has changed. -IE_GUI_TEXTAREA_OUT_OF_TEXT = 0x05000001, the smooth scrolling textarea is out of text. -IE_GUI_LABEL_ON_PRESS = 0x06000000, the label was pressed. -IE_GUI_SCROLLBAR_ON_CHANGE= 0x07000000, the scrollbar's knob position has changed. -.... (See GUIDefines.py for more event types) - -Return value: N/A - -Examples: - Bar.SetEvent (IE_GUI_PROGRESS_END_REACHED, EndLoadScreen) - ... - def EndLoadScreen (): - Skull = GemRB.GetControl (LoadScreen, 1) - GemRB.SetButtonMOS (LoadScreen, Skull, "GSKULON") -The above example changes the image on the loadscreen when the progressbar reaches the end. - - Button.SetEvent (IE_GUI_BUTTON_ON_PRESS, Buttons.YesButton) -The above example sets up the 'YesButton' function from the Buttons module to be called when the button is pressed. - - Button.SetEvent (IE_GUI_MOUSE_OVER_BUTTON, ChaPress) -The above example shows how to implement 'context sensitive help'. The 'ChaPress' function displays a help text on the screen when you hover the mouse over a button. - -See also: GetControl, SetVarAssoc, SetTimedEvent, accessing_gui_controls diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetFullScreen.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetFullScreen.txt deleted file mode 100644 index 0a0bdffac..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetFullScreen.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.SetFullScreen(flag) - -Description: Adjusts fullscreen mode. - -Parameters: -flag: - -1 : toggle fullscreen mode - 0 : set windowed mode - 1 : set fullscreen mode - -Return value: N/A - -See also: SetGamma - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetGamePortraitPreview.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetGamePortraitPreview.txt deleted file mode 100644 index 9bc782235..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetGamePortraitPreview.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.SetGamePortraitPreview(WindowIndex, ControlIndex, PCSlotCount) - -Metaclass Prototype: SetGamePortraitPreview(PCSlotCount) - -Description: Sets a current game PC portrait preview bmp onto a button as picture. - -Parameters: -WindowIndex - the window control id -ControlID - the id of the target control -PCSlotCount - number of pcs - -Return value: N/A - -See also: SetGamePreview - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetGamePreview.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetGamePreview.txt deleted file mode 100644 index c7cc236ec..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetGamePreview.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.SetGamePreview(WindowIndex, ControlIndex) - -Metaclass Prototype: SetGamePreview() - -Description: Sets current game area preview bmp onto a button as picture. - -Parameters: -WindowIndex - the window control id -ControlID - the id of the target control - -Return value: N/A - -See also: SetGamePortraitPreview - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetGamma.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetGamma.txt deleted file mode 100644 index 613c9a40c..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetGamma.txt +++ /dev/null @@ -1,12 +0,0 @@ - -Prototype: GemRB.SetGamma(brightness, contrast) - -Description: Adjusts brightness and contrast. - -Parameters: -brightness - value must be 0 .. 40 -contrast - value must be 0 .. 5 - -Return value: N/A - -See also: SetFullScreen diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetGlobal.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetGlobal.txt deleted file mode 100644 index 7c93329fc..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetGlobal.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.SetGlobal(VariableName, Context, Value) - -Description: Sets a gamescript variable to the specificed numeric value. - -Parameters: -VariableName - name of the variable -Context - LOCALS, GLOBALS or area specific -Value - value to set - -Return value: N/A - -See also: SetVar, SetVarAssoc, SetToken, data_exchange - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetInfoTextColor.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetInfoTextColor.txt deleted file mode 100644 index 60c8385e9..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetInfoTextColor.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.SetInfoTextColor(red, green, blue, [alpha]) - -Description: Sets the color of floating messages in GameControl. Floating messages are in-game messages issued by actors, or information text coming from game objects. - -Parameters: red,green,blue,alpha - color code, alpha defaults to 255 (completely opaque) - -Return value: N/A - -See also: SetLabelTextColor, SetButtonTextColor - - -MD5: e48af04dbba2632c62459f3aba05d0a9 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetItemIcon.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetItemIcon.txt deleted file mode 100644 index 1108df099..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetItemIcon.txt +++ /dev/null @@ -1,26 +0,0 @@ - -Prototype: GemRB.SetItemIcon(WindowIndex, ControlIndex, ITMResRef[, Type, Tooltip, ITM2ResRef]) - -Metaclass Prototype: SetItemIcon(ITMResRef[, Type, Tooltip, ITM2ResRef]) - -Description: Sets Item icon image on a Button control. - -Parameters: -WindowIndex, ControlIndex - the control's reference -ITMResRef - the name of the item (.itm resref) -Type - 0-5 (the icon's type) - 0 - Inventory Icon1 - 1 - Inventory Icon2 - 2 - Description Icon (for BG) - 3 - No Icon (empty slot) - 4 - Activation Icon1 - 5 - Activation Icon2 - 6 - Item ability icon for first extended header - 7 - Item ability icon for second extended header - 8 - etc. - -Tooltip - if set to 1, the tooltip for the item will also be set -ITM2ResRef - if set, a second item to display in the icon. ITM2 is drawn first. The tooltip of ITM is used. Only valid for Type 4 and 5 -Return value: N/A - -See also: SetSpellIcon, SetActionIcon diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetJournalEntry.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetJournalEntry.txt deleted file mode 100644 index d735d00fc..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetJournalEntry.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.SetJournalEntry(strref[, section, chapter]) - -Description: Sets a journal journal entry w/ given chapter and section, if section was not given, then it will delete the entry. Chapter is optional, if it is omitted, then the current chapter will be used. If strref is -1, then it will delete the whole journal. - -Parameters: strref - strref of the journal entry - section - the section of the journal (only if the journal has sections) - chapter - the chapter of the journal entry - -Return value: NONE - -See also: GetJournalEntry - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetLabelTextColor.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetLabelTextColor.txt deleted file mode 100644 index 2b074de76..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetLabelTextColor.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.SetLabelTextColor(WindowIndex, ControlIndex, red, green, blue) - -Metaclass Prototype: SetTextColor(red, green, blue) - -Description: Sets the Text Color of a Label Control. If the the Font has no own palette, you can set a default palette by this command. - -Parameters: WindowIndex, ControlIndex - the control's reference - red,green,blue - the control's desired text color - -Return value: N/A - -See also: SetLabelUseRGB - - -MD5: aa639bfaf8d66d2eefba1f96c9a5b6a2 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetLabelUseRGB.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetLabelUseRGB.txt deleted file mode 100644 index ac28e92e4..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetLabelUseRGB.txt +++ /dev/null @@ -1,17 +0,0 @@ - -Prototype: GemRB.SetLabelUseRGB(WindowIndex, ControlIndex, status) - -Metaclass Prototype: SetUseRGB(status) - -Description: Sets a Label control to use the colors coming from the Font. If the font has its own color, you must set this. If a label was set to not use the Font's colors you can alter its color by SetLabelTextColor(). - -Parameters: -WindowIndex, ControlIndex - the control's reference -status - boolean - -Return value: N/A - -See also: SetLabelTextColor - - -MD5: 1e4a2ea507466dd58981d8a898254e61 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetMapnote.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetMapnote.txt deleted file mode 100644 index 31e81b162..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetMapnote.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.SetMapnote(X, Y, color, text) - -Description: Adds or removes a mapnote to the current map (area). - -Parameters: -X,Y: the position of the mapnote -color: the color index (0-7) of the note (in case of PST it is only 0 or 1) -text: string, the text of the note. If it's empty, the mapnote is removed. - -Return value: N/A - -See also: CreateMapControl - - -MD5: eb32f54196b822f64fc53b72c071d64d diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetMasterScript.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetMasterScript.txt deleted file mode 100644 index ba7de9dea..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetMasterScript.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.SetMasterScript(ScriptResRef, WMPResRef) - -Description: Sets the worldmap and master script names. This function is required if you want to alter the worldmap or the master script (simulating the ToB or HoW expansions). - -Parameters: -ScriptResRef - the name of the master script (.bcs resref). -WMPResRef - the name of the worldmap (.wmp resref). - -Return value: N/A - -See also: LoadGame - - -MD5: 35143c4d12005fd3162c08cf6851ccfb diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetMemorizableSpellsCount.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetMemorizableSpellsCount.txt deleted file mode 100644 index 174c72a76..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetMemorizableSpellsCount.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.SetMemorizableSpellsCount(PartyID, Value, SpellType, Level) - -Description: Sets number of memorizable spells of given type and level in a player character's spellbook. - -Parameters: -PartyID - the PC's position in the party -Value - number of memorizable spells -SpellType - 0 - priest, 1 - wizard, 2 - innate -Level - the memorized spell's level - -Return value: N/A - -See also: GetMemorizableSpellsCount - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetModalState.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetModalState.txt deleted file mode 100644 index ff42de72b..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetModalState.txt +++ /dev/null @@ -1,18 +0,0 @@ - -Prototype: GemRB.SetModalState(Slot, Value[, spell]) - -Description: Sets a player character's modal state. The modal states are listed in ie_modal.py. - -Parameters: Slot - actor index in game structure - Value - New modal state - Spell - the spell resource associated with the state - -If spell is not given, a default value from modal.2da will be used. - -Return value: N/A - -Examples: - GemRB.SetModalState (pc, MS_TURNUNDEAD) -The above example makes the player start the turn undead action. - -See also: SetPlayerStat, SetPlayerName diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetMouseScrollSpeed.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetMouseScrollSpeed.txt deleted file mode 100644 index b342d2bcd..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetMouseScrollSpeed.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.SetMouseScrollSpeed(speed) - -Description: Adjusts the mouse scroll speed. - -Parameters: -speed - - -Return value: N/A - -See also: SetTooltipDelay diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetNextScript.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetNextScript.txt deleted file mode 100644 index c8c2fac5e..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetNextScript.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.SetNextScript(scriptname) - -Description: Instructs the GUIScript engine to load the script when this script has terminated. (Usually it is the last command before return). - -Parameters: scriptname - It is the name of the python script to be executed. The name of the script may not exceed 60 characters. - -Return value: N/A - -Example: GemRB.SetNextScript("CharGen") - return - -See also: QuitGame - - -MD5: 5c3c21b6a1f1bc4f00041cc075e35b45 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPlayerName.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPlayerName.txt deleted file mode 100644 index bead6db1c..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPlayerName.txt +++ /dev/null @@ -1,17 +0,0 @@ - -Prototype: GemRB.SetPlayerName(Slot, Name[, LongOrShort]) - -Description: Sets the player name. Each actor has 2 names, this command can set either or both. - -Parameters: Slot - numeric, the character's slot - Name - string, the name - LongOrShort- 0 (both), 1 - (short), 2 - (long) - -Return value: N/A - -Example: - GemRB.SetPlayerName(MyChar, GemRB.GetToken("CHARNAME"), 0) -In the above example we set the player's name to a previously set Token (Global String). - -See also: QueryText, GetToken - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPlayerScript.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPlayerScript.txt deleted file mode 100644 index a166f17a6..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPlayerScript.txt +++ /dev/null @@ -1,12 +0,0 @@ - -Prototype: GemRB.SetPlayerScript(Slot, Index, ScriptName) - -Description: Sets the player character's script. Normally only one of the scripts are customisable via the GUI. - -Parameters: Slot - numeric, the character's slot - Index - the script index (see scrlevel.2da) - ScriptName - the script resource - -Return value: N/A - -See also: GetPlayerScript diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPlayerSound.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPlayerSound.txt deleted file mode 100644 index 53c54ce80..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPlayerSound.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.SetPlayerSound(Slot, SoundFolder) - -Description: Sets the player character's soundset. - -Parameters: Slot - numeric, the character's slot - SoundFolder - string, a folder in Sounds (iwd2 style), or a filename (bg2 style) - -Return value: N/A - -See also: FillPlayerInfo, SetPlayerString diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPlayerStat.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPlayerStat.txt deleted file mode 100644 index d6eb59e8c..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPlayerStat.txt +++ /dev/null @@ -1,19 +0,0 @@ - -Prototype: GemRB.SetPlayerStat(Slot, ID, Value[, PCF]) - -Description: Sets a player character's base stat. The stats are listed in ie_stats.py. - -Parameters: Slot - actor index in game structure - ID - Stat index - Value - New stat value - PCF - Set to 0 if you don't want the stat's post-change function to be ran - -Return value: N/A - -Example: - PickedColor=GemRB.GetTableValue(ColorTable, ColorIndex, GemRB.GetVar("Selected")) - GemRB.SetPlayerStat (pc, IE_MAJOR_COLOR, PickedColor) -The above example sets the player's color just picked via the color customisation dialog. ColorTable holds the available colors. - -See also: GetPlayerStat, SetPlayerName, ApplyEffect - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPlayerString.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPlayerString.txt deleted file mode 100644 index 9562262dc..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPlayerString.txt +++ /dev/null @@ -1,12 +0,0 @@ -Missing function already used in bg2 biography (cg uses a token) - -Prototype: - -Description: - -Parameters: - -Return value: - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPurchasedAmount.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPurchasedAmount.txt deleted file mode 100644 index 546765bf0..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetPurchasedAmount.txt +++ /dev/null @@ -1,12 +0,0 @@ - -Prototype: SetPurchasedAmount( Index, Amount ) - -Description: Sets the amount of purchased items of a type. If it was 0, then the item will be deselected from the purchase list. This function works only with an active store. - -Parameters: Index - the store item's index - Amount - a numeric value not less than 0 - -Return value: None - -See also: EnterStore, LeaveStore, SetPurchasedAmount - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetRepeatClickFlags.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetRepeatClickFlags.txt deleted file mode 100644 index 852343d7b..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetRepeatClickFlags.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.SetRepeatClickFlags(value, op) - -Description: Sets the mode repeat clicks are handled. - -Parameters: -value - speed, see the GEM_RK* flags in GUIDefines.py -op - operation - -Return value: N/A - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetSaveGamePortrait.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetSaveGamePortrait.txt deleted file mode 100644 index 8283acbe2..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetSaveGamePortrait.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.SetSaveGamePortrait(WindowIndex, ControlIndex, SaveSlotCount, PCSlotCount) - -Metaclass Prototype: SetSaveGamePortrait(SaveSlotCount, PCSlotCount) - -Description: Sets a savegame PC portrait bmp onto a button as picture. - -Parameters: WindowIndex, ControlIndex - the control's reference -SlotCount - the index of a saved game -PCSlotCount - the index of the portrait in the saved game - -Return value: N/A - -See also: SetSaveGamePreview - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetSaveGamePreview.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetSaveGamePreview.txt deleted file mode 100644 index 47c9e405a..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetSaveGamePreview.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.SetSaveGamePreview(WindowIndex, ControlIndex, SlotCount) - -Metaclass Prototype: SetSaveGamePreview(SlotCount) - -Description: Sets a savegame area preview bmp onto a button as picture. - -Parameters: WindowIndex, ControlIndex - the control's reference - SlotCount - the index of a saved game - -Return value: N/A - -See also: SetSaveGamePortrait - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetScrollBarSprites.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetScrollBarSprites.txt deleted file mode 100644 index 4b93c34b8..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetScrollBarSprites.txt +++ /dev/null @@ -1,23 +0,0 @@ - -Prototype: GemRB.SetScrollBarSprites(WindowIndex, ControlIndex, ResRef, Cycle, UpUnpressedFrame, UpPressedFrame, DownUnpressedFrame, DownPressedFrame, TroughFrame, SliderFrame) - -Metaclass Prototype: SetSprites(ResRef, Cycle, UpUnpressedFrame, UpPressedFrame, DownUnpressedFrame, DownPressedFrame, TroughFrame, SliderFrame) - -Description: Sets a ScrollBar Sprites Images. - -Parameters: -WindowIndex - the window control id -ControlID - the id of the target control -ResRef - bam resref -Cycle - cycle number -UpUnpressedFrame - frame number -UpPressedFrame - frame number -DownUnpressedFrame - frame number -DownPressedFrame - frame number -TroughFrame - frame number -SliderFrame - frame number - -Return value: - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetSpellIcon.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetSpellIcon.txt deleted file mode 100644 index aef782a1d..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetSpellIcon.txt +++ /dev/null @@ -1,20 +0,0 @@ - -Prototype: GemRB.SetSpellIcon(WindowIndex, ControlIndex, SPLResRef[, Type, Tooltip, Function]) - -Metaclass Prototype: SetSpellIcon(SPLResRef[, Type, Tooltip, Function]) - -Description: Sets Spell icon image on a Button control. Type determines the icon type, if set to 1 it will use the Memorised Icon instead of the Spellbook Icon - -Parameters: -WindowIndex, ControlIndex - the control's reference -SPLResRef - the name of the spell (.spl resref) -Type - 0 (default, use parchment background) or 1 (use stone background) -Tooltip - 0 (default); if 1, set the tooltip "F " -Function - number to be used in the tooltip above - -Return value: N/A - -See also: SetItemIcon - - -MD5: b7895d38a8e3f389bb1f702ce99bcf57 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetTAHistory.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetTAHistory.txt deleted file mode 100644 index 216f525f0..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetTAHistory.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: SetTAHistory(Win, Ctrl, KeepLines) - -Metaclass Prototype: SetHistory(KeepLines) - -Description: Sets up a textarea control for holding large amounts of text. If more than 'KeepLines' text scrolls up above, it will be discarded. This works best if TEXTAREA_AUTOSCROLL was set. The text is cut when new text is appended to the buffer, without TEXTAREA_AUTOSCROLL there is no automatic scrolling out of text. This function sets the TEXTAREA_HISTORY flag. - -Parameters: Win, Ctrl - a window index/control index pair of the textarea - KeepLines - the number of lines to be kept - -Return value: N/A - -See also: RewindTA, SetTextAreaFlags diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetText.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetText.txt deleted file mode 100644 index ca43b5636..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetText.txt +++ /dev/null @@ -1,18 +0,0 @@ - -Prototype: GemRB.SetText(WindowIndex, ControlIndex, String|Strref) - -Metaclass Prototype: SetText(String|Strref) - -Description: Sets the Text of a control in a Window. In case of strrefs, any tokens contained by the string will be resolved. (For example the substring "" will be replaced by the "CHARNAME" token.) -1 is a special Strref, it will be resolved to the name/version of the running engine. - -Parameters: -WindowIndex, ControlIndex - the control's reference -String - an arbitrary string -Strref - a string index from the dialog.tlk table. - -Return value: -0 on success, -1 otherwise - -See also: QueryText, DisplayString, GetControl, accessing_gui_controls - -MD5: 583a8146b015a25b137c43a036043991 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetTextAreaFlags.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetTextAreaFlags.txt deleted file mode 100644 index 19e57107a..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetTextAreaFlags.txt +++ /dev/null @@ -1,34 +0,0 @@ - -Prototype: GemRB.SetTextAreaFlags(WindowIndex, ControlIndex, Flags, Operation) - -Metaclass Prototype: SetFlags(Flags, Operation) - -Description: Sets the Flags of a TextArea. - -Parameters: WindowIndex, ControlIndex - the control's reference -Flags - various bits altering the behaviour of the control -To make sure the flags are not misplaced, the high byte must be 5 (the textarea control's type). - -IE_GUI_TEXTAREA_SELECTABLE - 0x05000001 -The TextArea will be able to return a selected row. -IE_GUI_TEXTAREA_AUTOSCROLL - 0x05000002 -Some TextAreas are autoscrolling while text was written into them, thus always showing the last content. -IE_GUI_TEXTAREA_SMOOTHSCROLL - 0x05000004 -The TextArea will slowly scroll its content. If it is out of text, it will call the TEXTAREA_OUT_OF_TEXT callback. -IE_GUI_TEXTAREA_HISTORY - 0x05000008 -The TextArea will drop some of the scrolled out text. - -Operation - could be OP_SET, OP_OR or OP_NAND, default is OP_SET. - -Return value: N/A - -Example: - TextAreaControl = GemRB.GetControl(SoundWindow, 45) - GemRB.SetTextAreaFlags(SoundWindow, TextAreaControl,IE_GUI_TEXTAREA_SELECTABLE) - GemRB.SetVarAssoc(SoundWindow, TextAreaControl, "Sound", 0) - RowCount=GemRB.GetCharSounds(SoundWindow, TextAreaControl) -The above code will set up the TextArea as a ListBox control, by reading the names of available character soundsets into the TextArea and setting it up as selectable. When the user clicks on row, the "Sound" variable will be assigned a row number. - -See also: RewindTA, SetTAHistory, GetCharSounds, GetCharacters, QueryText, accessing_gui_controls - -MD5: 30fd7c88972e5fc7e4f41158a28ceaff diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetTimedEvent.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetTimedEvent.txt deleted file mode 100644 index 79a692f88..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetTimedEvent.txt +++ /dev/null @@ -1,12 +0,0 @@ - -Prototype: GemRB.SetTimedEvent(FunctionName, rounds) - -Description: Sets a timed event to be called by the Game object. If there is no game loaded, this command is ignored. If the game is unloaded, the event won't be called. - -Parameters: -FunctionName - a python function object -rounds - the time when the function should be called - -Return value: N/A - -See also: SetEvent diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetToken.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetToken.txt deleted file mode 100644 index 72bcb2905..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetToken.txt +++ /dev/null @@ -1,27 +0,0 @@ - -Prototype: GemRB.SetToken(VariableName, Value) - -Description: Set/Create a token to be replaced in StrRefs. QueryText() will use the actual value of the token when it encounters "" substrings in a retrieved dialog.tlk entry. Some tokens are hardcoded and you can't affect QueryText() by setting them. Usage of those tokens should be avoided. The hardcoded token list: -FIGHTERTYPE - always resolves to strref #10174 -RACE - always resolves to the race of the last speaker -GABBER - always resolves to the longname of the last speaker -SIRMAAM - strref #27473/#27475 depending on last speaker's gender -GIRLBOY - strref #27477/#27476 depending on last speaker's gender -BROTHERSISTER- strref #27478/#27479 ... -LADYLORD - strref #27481/#27480 ... -MALEFEMALE - strref #27483/#27482 ... -HESHE - strref #27485/#27484 ... -HISHER - strref #27487/#27486 ... -HIMHER - strref #27487/#27488 ... -MANWOMAN - strref #27490/#27489 ... -PRO_* - same as above with protagonist - -Parameters: - VariableName - the name of the variable must be shorter than 32 bytes - Value - string, the value of the token - -Return value: N/A - -See also: GetToken, QueryText - -MD5: fd99519e2b63105ddb7d772476886701 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetTooltip.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetTooltip.txt deleted file mode 100644 index dff924ea1..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetTooltip.txt +++ /dev/null @@ -1,26 +0,0 @@ - -Prototype: GemRB.SetTooltip(WindowIndex, ControlIndex, String|Strref) - -Metaclass Prototype: SetTooltip(String|Strref) - -Description: Sets control's tooltip. Any control may have a tooltip. - -Parameters: WindowIndex, ControlIndex - the control's reference -String - an arbitrary string -Strref - a string index from the dialog.tlk table. - -Return value: -0 on success, -1 on error - -The tooltip's visual properties must be set in the gemrb.ini file: - TooltipFont - Font used to display tooltips - TooltipBack - Sprite displayed behind the tooltip text, if any - TooltipColor - Tooltip text color (RGBA) - TooltipMargin - Space between tooltip text and sides of TooltipBack (x2) - - - -See also: SetText - - -MD5: 055166c150ec66ca9649006b42114967 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetTooltipDelay.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetTooltipDelay.txt deleted file mode 100644 index a3812041e..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetTooltipDelay.txt +++ /dev/null @@ -1,9 +0,0 @@ - -Prototype: GemRB.SetTooltipDelay(time) - -Description: Sets the tooltip delay. - -Parameters: -time - 0-10 - -See also: SetTooltip, SetMouseScrollSpeed diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetVar.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetVar.txt deleted file mode 100644 index 003db0bdf..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetVar.txt +++ /dev/null @@ -1,28 +0,0 @@ - -Prototype: GemRB.SetVar(VariableName, Value) - -Description: Set a Variable of the Global Dictionary. This is an independent dictionary from the gamescript. It contains configuration variables, and provides a flexible interface between guiscript and the engine core. There are some preserved names that are referenced from the core, these are described in different places. -variable described in -PlayMode - LoadGame -*Window - HideGUI -*Position - HideGUI -Progress - data_exchange - -Parameters: VariableName - the name of the variable must be shorter than 32 bytes - Value - numeric, the new value - -Return value: N/A - -Examples: - GemRB.SetVar("ActionsWindow", ActionsWindow) - GemRB.SetVar("OptionsWindow", OptionsWindow) - GemRB.SetVar("MessageWindow", MessageWindow) - GemRB.SetVar("ActionsPosition", 4) #BottomAdded - GemRB.SetVar("OptionsPosition", 0) #Left - GemRB.SetVar("MessagePosition", 4) #BottomAdded -The above lines set up some windows of the main game screen. - -See also: SetVarAssoc, SetToken, LoadGame, HideGUI, data_exchange - - -MD5: f85bcb143ff3359936e78780da210367 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetVarAssoc.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetVarAssoc.txt deleted file mode 100644 index e59aa6489..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetVarAssoc.txt +++ /dev/null @@ -1,20 +0,0 @@ - -Prototype: GemRB.SetVarAssoc(WindowIndex, ControlIndex, VariableName, LongValue) - -Metaclass Prototype: SetVarAssoc(VariableName, LongValue) - -Description: It associates a variable name and value with a control. The control uses this associated value differently, depending on the control. See more about this in "data_exchange". - -Parameters: -WindowIndex, ControlIndex - the control's reference -Variablename - string, a Global Dictionary Name associated with the control -LongValue - numeric, a value associated with the control - -Return value: N/A - -Special: If the 'DialogChoose' variable was set to -1 or 0 during a dialog session, it will terminate (-1) or pick the first available option (0) from the dialog automatically. (0 is used for 'continue', -1 is used for 'end dialogue'). - -See also: SetButtonFlags, SetVar, GetVar, data_exchange, accessing_gui_controls - - -MD5: df5c51a71e7368c22b2d3e5a0bac311a diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetVisible.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetVisible.txt deleted file mode 100644 index 995521d5b..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetVisible.txt +++ /dev/null @@ -1,21 +0,0 @@ - -Prototype: GemRB.SetVisible(WindowIndex, Visible) - -Metaclass Prototype: SetVisible(Visible) - -Description: Sets the Visibility Flag of a Window. -Window index 0 can be used to manipulate the game control window - -Parameters: WindowIndex - the index returned by LoadWindow() - Visible: -WINDOW_INVISIBLE - Window is invisible -WINDOW_VISIBLE - Window is visible -WINDOW_GRAYED - Window is shaded -WINDOW_FRONT - Window is drawn in the foreground - -Return value: N/A - -See also: ShowModal, SetWindowFrame - - -MD5: cc9b69351e5e62f28a5c65247cae7880 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetWindowFrame.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetWindowFrame.txt deleted file mode 100644 index 00632b62b..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetWindowFrame.txt +++ /dev/null @@ -1,24 +0,0 @@ -Prototype: GemRB.SetWindowFrame(WindowIndex) - -Metaclass Prototype: SetFrame() - -Description: Sets Window to have a frame used to fill screen on higher - resolutions. At present all windows having frames have the same one. - - To automatically move the windows from the edges and to let GemRB know - how much space is there, the LoadWindowPack() function should be called - with size parameters. - - Make sure to set the frame only for the window on the bottom, because the - frames will erase the whole screen before drawing. - -Parameters: - WindowIndex - the index returned by LoadWindow() - -Return value: N/A - -See also: LoadWindowFrame, LoadWindowPack, LoadWindow, SetWindowPos - -MD5: 1b3199cc5121101643080fbac127f93d - - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetWindowPicture.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetWindowPicture.txt deleted file mode 100644 index c4f890e41..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetWindowPicture.txt +++ /dev/null @@ -1,23 +0,0 @@ - -Prototype: GemRB.SetWindowPicture(WindowIndex, MosResRef) - -Metaclass Prototype: SetPicture(MosResRef) - -Description: Changes the background of a Window. - -Parameters: -WindowIndex - the index returned by LoadWindow() -MosResRef - the name of the background image (.mos resref) - -Return value: N/A - -Example: - LoadPic = GemRB.GetGameString (STR_LOADMOS) - if LoadPic=="": - LoadPic = "GUILS0"+str(GemRB.Roll(1,9,0)) - GemRB.SetWindowPicture(LoadScreen, LoadPic) -The above snippet is responsible to generate a random loading screen. - -See also: SetButtonPicture - -MD5: 62884cae84603d33be1551873d6b93cc diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetWindowPos.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetWindowPos.txt deleted file mode 100644 index 2b68fc65b..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetWindowPos.txt +++ /dev/null @@ -1,36 +0,0 @@ - -Prototype: GemRB.SetWindowPos(WindowIndex, X, Y, [Flags=WINDOW_TOPLEFT]) - -Metaclass Prototype: SetPos(X, Y, [Flags=WINDOW_TOPLEFT]) - -Description: Moves a Window. - -Parameters: -WindowIndex - the index returned by LoadWindow() -X,Y - placement of the window, see Flags below for meaning - for each flag -Flags - bitmask of WINDOW_(TOPLEFT|CENTER|ABSCENTER|BOUNDED), - used to modify the meaning of X and Y. - TOPLEFT : X, Y are coordinates of upper-left corner. - CENTER : X, Y are coordinates of window's center. - ABSCENTER: window is placed at screen center, moved by X, Y. - RELATIVE : window is moved by X, Y. - SCALE : window is moved by diff of screen size and X, Y, divided by 2. - BOUNDED : the window is kept within screen boundaries. - - -Return value: N/A - -Note: - All flags except WINDOW_BOUNDED are mutually exclusive - -Example: - x, y = GemRB.GetVar ("MenuX"), GemRB.GetVar ("MenuY") - GemRB.SetWindowPos (Window, x, y, WINDOW_CENTER | WINDOW_BOUNDED) - -The above example is from the PST FloatMenuWindow script. It centers -pie-menu window around the mouse cursor, but keeps it within screen. - -See also: SetWindowSize, SetControlPos - -MD5: e560702a81119365804f7944792d9b01 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetWindowSize.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetWindowSize.txt deleted file mode 100644 index 025f8f323..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetWindowSize.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.SetWindowSize(WindowIndex, Width, Height) - -Metaclass Prototype: SetSize(Width, Height) - -Description: Resizes a Window. - -Parameters: -WindowIndex - the index returned by LoadWindow() -Width, Height - the new dimensions of the window - -Return value: N/A - -See also: LoadWindow, SetWindowPos, SetControlSize - -MD5: 2188d78694c9c447bf881fb37a9bfa4e diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetWorldMapTextColor.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetWorldMapTextColor.txt deleted file mode 100644 index 09e60a6fa..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetWorldMapTextColor.txt +++ /dev/null @@ -1,19 +0,0 @@ - -Prototype: GemRB.SetWorldMapTextColor(WindowIndex, ControlIndex, which, red, green, blue) - -Metaclass Prototype: SetTextColor(which, red, green, blue) - -Description: Sets the label colors of a WorldMap Control. "which" selects the color affected and is one of IE_GUI_WMAP_COLOR_(BACKGROUND|NORMAL|SELECTED|NOTVISITED). - -Parameters: -WindowIndex - the window control id -ControlID - the id of the target control -which - selects the color affected (one of IE_GUI_WMAP_COLOR_(BACKGROUND|NORMAL|SELECTED|NOTVISITED) -red - red value -green - green value -blue - blue value - -Return value: N/A - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetupControls.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetupControls.txt deleted file mode 100644 index 61bfd09c8..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetupControls.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.SetupControls(WindowIndex, Slot) - -Metaclass Prototype: SetupControls(Slot) - -Description: Sets up all 12 action buttons for a player character, based on preset preferences and the character's class. - -Parameters: -WindowIndex - the buttons' window index -Slot - the player character's index in the party - -Return value: N/A - -See also: SetActionIcon, SetDefaultActions, SetupEquipmentIcons, SetupSpellIcons diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetupEquipmentIcons.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetupEquipmentIcons.txt deleted file mode 100644 index 81c58a9bd..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetupEquipmentIcons.txt +++ /dev/null @@ -1,17 +0,0 @@ - -Prototype: GemRB.SetupEquipmentIcons(WindowIndex, Slot[, Start]) - -Metaclass Prototype: SetupEquipmentIcons(Slot[, Start]) - -Description: Sets up all 12 action buttons for a player character with the usable equipment functions. -It also sets up the scroll buttons left and right if needed. -If Start is supplied, it will skip the first few items. - -Parameters: -WindowIndex - the buttons' window index -Slot - the player character's index in the party -Start - start the equipment list from this value - -Return value: N/A - -See also: SetupSpellIcons, SetupControls, UseItem diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetupQuickSlot.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetupQuickSlot.txt deleted file mode 100644 index a22087a80..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetupQuickSlot.txt +++ /dev/null @@ -1,22 +0,0 @@ -Prototype: GemRB.SetupQuickSlot(PartyID, QuickSlotID, InventorySlot[, AbilityIndex]) - -Description: Sets up a quickslot to point to a particular inventory slot. -Also sets the used ability for that given quickslot. -If the abilityindex is omitted, it will be assumed as 0. -If the InventorySlot is -1, then it won't be assigned to the quickslot -(this way you can alter the used Ability index only). -If the QuickSlotID is 0, then it will try to find the quickslot/weaponslot -by the InventorySlot, and assign the AbilityIndex to it. -(Use this if you don't know the exact quick slot, or don't care to find it). - -Parameters: -PartyID - the PC's position in the party (1 based) -QuickSlotID - the quickslot to set up -InventorySlot - the inventory slot assigned to this quickslot, this is usually constant -and taken care by the core -AbilityIndex - the number of the item extended header to use with this quickslot - -Return value: N/A - -See also: GetEquippedQuickSlot, SetEquippedQuickSlot - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetupSpellIcons.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetupSpellIcons.txt deleted file mode 100644 index 343a4dd7f..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SetupSpellIcons.txt +++ /dev/null @@ -1,18 +0,0 @@ - -Prototype: GemRB.SetupSpellIcons(WindowIndex, Slot, Type[, Start]) - -Metaclass Prototype: SetupSpellIcons(Slot, Type[, Start]) - -Description: Sets up all 12 action buttons for a player character with spell or innate icons. -It also sets up the scroll buttons left and right if needed. -If Start is supplied, it will skip the first few items. - -Parameters: -WindowIndex - the buttons' window index -Slot - the player character's index in the party -Type - the spell type bitfield (1-mage, 2-priest, 4-innate) -Start - start the spell list from this value - -Return value: N/A - -See also: SetupEquipmentIcons, SetupControls, SpellCast diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ShowModal.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ShowModal.txt deleted file mode 100644 index e4d873a83..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/ShowModal.txt +++ /dev/null @@ -1,18 +0,0 @@ - -Prototype: GemRB.ShowModal(WindowIndex, [Shadow=MODAL_SHADOW_NONE]) - -Metaclass Prototype: ShowModal([Shadow=MODAL_SHADOW_NONE]) - -Description: Show a Window on Screen setting the Modal Status. If Shadow is MODAL_SHADOW_GRAY, other windows are grayed. If Shadow is MODAL_SHADOW_BLACK, they are blacked out. - -Parameters: WindowIndex - the index returned by LoadWindow() -Shadow - 0,1 or 2 -MODAL_SHADOW_NONE = 0 -MODAL_SHADOW_GRAY = 1 -MODAL_SHADOW_BLACK = 2 - -Return value: N/A - -See also: SetVisible - -MD5: fdde4cda097b7ab5cd23aae7fb1313ec diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SoftEndPL.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SoftEndPL.txt deleted file mode 100644 index 3fed5308d..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SoftEndPL.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.SoftEndPL() - -Description: Ends the currently playing Music Playlist softly. - -Parameters: N/A - -Return value: N/A - -See also: HardEndPL - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SpellCast.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SpellCast.txt deleted file mode 100644 index cdf39a6a1..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SpellCast.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.SpellCast(PartyID, Type, Spell) - -Description: Makes PartyID to cast a spell of Type. This handles targeting and executes the appropriate scripting command. - -Parameters: -PartyID - the player character's index in the party -Type - the spell type bitfield (1-mage, 2-priest, 4-innate) -Spell - the spell's index in the list - -Return value: N/A - -See also: SetupSpellIcons diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/StatComment.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/StatComment.txt deleted file mode 100644 index b081a8e67..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/StatComment.txt +++ /dev/null @@ -1,20 +0,0 @@ - -Prototype: GemRB.StatComment(Strref, X, Y) - -Description: Replaces %d's with the values of X and Y in a string referenced by strref. PST uses %d values in place of tokens, thus it requires a special command. (Note that you can safely replace this command with a few Python scripting commands). In other engines use GetString after setting the needed tokens by SetToken (if you need to set them at all). - -Parameters: Sttref - a string index from the dialog.tlk table. - X,Y - two numerical values to be replaced in place of %d's. - -Return value: A string with resolved %d's. - -Example: -def IntPress(): - GemRB.SetText(NewLifeWindow, TextArea, 18488) - GemRB.TextAreaAppend(NewLifeWindow, TextArea, "\n\n"+GemRB.StatComment(GemRB.GetTableValue(StatTable,Int,1),0,0) ) - return - -The above example comes directly from our PST script, it will display the description of the intelligence stat (strref==18488), adding a comment based on the current Int variable. StatTable (a table index) contains the comment strref values associated with an intelligence value. - -See also: GetString, SetToken, GetTableValue, SetText, LoadTable, TextAreaAppend - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/StealFailed.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/StealFailed.txt deleted file mode 100644 index 9a9f46037..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/StealFailed.txt +++ /dev/null @@ -1,12 +0,0 @@ - -Prototype: StealFailed() - -Description: Triggers the steal failed event for the currently selected actor. -The event will be triggered in the actor 'owning' the store currently open. - -Parameters: None - -Return value: N/A - -See also: GetStore, EnterStore, LeaveStore, GameGetSelectedPCSingle - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SwapPCs.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SwapPCs.txt deleted file mode 100644 index fe5e2123a..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/SwapPCs.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.SwapPCs(idx1, idx2) - -Description: Swaps the party order for two player characters. - -Parameters: -idx1 - position in the party -idx2 - position in the party - -Return value: N/A - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/TextAreaAppend.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/TextAreaAppend.txt deleted file mode 100644 index 56639b79c..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/TextAreaAppend.txt +++ /dev/null @@ -1,23 +0,0 @@ - -Prototype: GemRB.TextAreaAppend(WindowIndex, ControlIndex, String|Strref [, Row[, Flag]]) - -Metaclass Prototype: TextAreaAppend(String|Strref [, Row[, Flag]]) - -Description: Appends the Text to the TextArea Control in the Window. If row is specificed, it can also append text to existing rows. - -Parameters: -WindowIndex, ControlIndex - the control's reference -String - literal text, it could have embedded colour codes -Strref - a string index from the dialog.tlk table. -Row - the row of text to add the text to, if omitted, the text will be added (in a new row) after the last row. -Flag - the flags for QueryText (if strref resolution is used) - 1 - strrefs displayed (even if not enabled by default) - 2 - sound (plays the associated sound) - 4 - speech (works only with if sound was set) - 256 - strrefs not displayed (even if allowed by default) - -Return value: - Index of the row appended or changed - -See also: TextAreaClear, SetText, QueryText - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/TextAreaClear.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/TextAreaClear.txt deleted file mode 100644 index f924199f0..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/TextAreaClear.txt +++ /dev/null @@ -1,14 +0,0 @@ - -Prototype: GemRB.TextAreaClear(WindowIndex, ControlIndex) - -Metaclass Prototype: Clear() - -Description: Clears the Text from the TextArea Control in the Window. - -Parameters: WindowIndex, ControlIndex - the control's reference - -Return value: N/A - -See also: TextAreaAppend - -MD5: 4c563da47e77f8962c62c67a6de8c906 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/TextAreaScroll.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/TextAreaScroll.txt deleted file mode 100644 index 0e9d3063d..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/TextAreaScroll.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.TextAreaScroll(WindowIndex, ControlIndex, offset) - -Metaclass Prototype: Scroll(offset) - -Description: Scrolls the textarea up or down by offset. - -Parameters: -WindowIndex - the window control id -ControlID - the id of the target control -offset - amount to scroll - -Return value: N/A - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UnhideGUI.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UnhideGUI.txt deleted file mode 100644 index c184ab838..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UnhideGUI.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: GemRB.UnhideGUI() - -Description: Shows the Game GUI and redraws windows. - -Parameters: N/A - -Return value: N/A - -See also: HideGUI, InvalidateWindow, SetVisible - - -MD5: da75d42bc5444aff63580ee249c5b858 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UnloadSymbol.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UnloadSymbol.txt deleted file mode 100644 index c1f88f2e2..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UnloadSymbol.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.UnloadSymbol(SymbolIndex) - -Metaclass Prototype: Unload() - -Description: Unloads an IDS symbol list. - -Parameters: SymbolIndex - returned by a previous LoadSymbol command. - -Return value: N/A - -See also: LoadSymbol, UnloadTable - - -MD5: 87793ebcb18bf5c2fb1fa011245e470d diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UnloadTable.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UnloadTable.txt deleted file mode 100644 index 74f86787f..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UnloadTable.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.UnloadTable(TableIndex) - -Metaclass Prototype: Unload() - -Description: Unloads a 2DA Table. - -Parameters: TableIndex - returned by a previous LoadTable command. - -Return value: N/A - -See also: LoadTable - - -MD5: f281a449838425a6265967006640abbc diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UnloadWindow.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UnloadWindow.txt deleted file mode 100644 index 46b1fd1e2..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UnloadWindow.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.UnloadWindow(WindowIndex) - -Metaclass Prototype: Unload() - -Description: Unloads a previously loaded Window. EnterGame() and QuitGame() automatically unload all loaded windows. - -Parameters: WindowIndex - the index returned by LoadWindow() - -Return value: N/A - -See also: LoadWindow, EnterGame, QuitGame - - -MD5: 0a64fd889b01eecf2351c4ebb77b3ca0 diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UnmemorizeSpell.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UnmemorizeSpell.txt deleted file mode 100644 index 8cb391c57..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UnmemorizeSpell.txt +++ /dev/null @@ -1,15 +0,0 @@ - -Prototype: GemRB.UnmemorizeSpell(PartyID, SpellType, Level, Index) - -Description: Unmemorizes specified memorized spell. - -Parameters: -PartyID - the PC's position in the party -SpellType - 0 - priest, 1 - wizard, 2 - innate -Level - the memorized spell's level -Index - the memorized spell's index - -Return value: boolean, 1 on success - -See also: MemorizeSpell, GetMemorizedSpellsCount, GetMemorizedSpell - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UpdateAmbientsVolume.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UpdateAmbientsVolume.txt deleted file mode 100644 index b52e27cc6..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UpdateAmbientsVolume.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.UpdateAmbientsVolume() - -Description: Updates ambients volume on-the-fly. - -Parameters: N/A - -Return value: N/A - -See also: UpdateMusicVolume - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UpdateMusicVolume.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UpdateMusicVolume.txt deleted file mode 100644 index e6ab838ca..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UpdateMusicVolume.txt +++ /dev/null @@ -1,11 +0,0 @@ - -Prototype: GemRB.UpdateMusicVolume() - -Description: Updates music volume on-the-fly. - -Parameters: N/A - -Return value: N/A - -See also: UpdateAmbientsVolume - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UseItem.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UseItem.txt deleted file mode 100644 index 747609f64..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/UseItem.txt +++ /dev/null @@ -1,16 +0,0 @@ - -Prototype: GemRB.UseItem(PartyID, Slot, ItemIndex) - -Description: Makes PartyID to use an item. -If slot is negative, then item is the index of the item functionality in the use -item list. If slot is non-negative, then item is the quick item or weapon in slot. -This handles targeting and executes the appropriate scripting command. - -Parameters: -PartyID - the player character's index in the party -Slot - the item's inventory slot, if it is -1 then ItemIndex is used -ItemIndex - the item index from the SetupEquipmentIcons list, an item may have multiple entries, because of multiple features - -Return value: N/A - -See also: CanUseItemType, SpellCast, SetupEquipmentIcons diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/accessing_gui_controls.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/accessing_gui_controls.txt deleted file mode 100644 index 42638c4ca..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/accessing_gui_controls.txt +++ /dev/null @@ -1,11 +0,0 @@ -Accessing GUI controls. - -Description: To access a GUI control, you must know its window index and control index. You must use LoadWindow and GetControl to obtain these indices. -Usually a GUI command works only on one type of controls. A wrong control type will cause a Runtime Error and terminates the GUI script (not the game or the engine). - -Example: - StartWindow = GemRB.LoadWindow(7) - Label = GemRB.GetControl(StartWindow, 0x0fff0000) - GemRB.SetText(StartWindow, Label, GEMRB_VERSION) - -In the above example we just load a window whose window ID is 7, and store its window index in StartWindow. We also try to find a control whose control ID is 0xfff0000 and resides on the window pointed by StartWindow. diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/bit_operation.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/bit_operation.txt deleted file mode 100644 index 77e36f274..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/bit_operation.txt +++ /dev/null @@ -1,7 +0,0 @@ -The following bitwise operators exist in many guiscript commands. - - BM_SET 0 - sets exact value - BM_AND 1 - performs the AND operation (turns off unlisted bits) - BM_OR 2 - performs the OR operation (turns on listed bits) - BM_XOR 3 - performs the XOR operation (toggles the listed bits) - BM_NAND 4 - performs the NAND operation (turns off listed bits) diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/console.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/console.txt deleted file mode 100644 index 410991c4a..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/console.txt +++ /dev/null @@ -1,9 +0,0 @@ -The 'cheat console'. - -Description: You can pop the Console window anytime by pressing the ESC key. Any command you type in will be executed as a GUIScript command. You can use Python variables, issue Python commands as well as the GemRB scripting commands. If a command didn't execute, GemRB will retry its execution by adding "GemRB." to it, thus you can omit it in case you are extremely lazy. - -Examples (typed in the console): -GemRB.Quit() - quit the program -Quit() - same as above, but shorter -EnableCheatKeys(1) - enables the debug keys - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/controls.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/controls.txt deleted file mode 100644 index 8c1ee3082..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/controls.txt +++ /dev/null @@ -1,52 +0,0 @@ -Button: - -Buttons are the most versatile controls in the GUI engine. The following button types exist: checkbox, radiobutton and normal button. -Checkboxes of the same type are cummulative, and usually hold a bit value. -Radiobuttons of the same type are mutually exclusive. -Normal buttons are similar to radiobuttons, but they are not affecting each other. - -Progressbar: - -This control has no equivalent in the original Infinity Engine. It provides a graphical output of a numeric value, currently used only in LoadScreen. - - -Slider: - -A slider is used for limited numeric input. - - -TextEdit: - -This is a text input field. It has a configurable maximum input length. - - -TextArea: - -Textareas are used in two ways: massive text output, it could be colour coded. Textareas are also used to simulate list controls where you could select a line and receive the row number of the selected item. It is also possible to assign a specific value to each row. - - -Label: - -A label is simply a static text control, but it defines a few mouse events. Not so complex as a button. - - -Scrollbar: - -A scrollbar is mostly used in connection with a Textarea, but it could be used differently. (See GUILOAD as an example). - - -Worldmap: - -This control has a button type placeholder in the original user interface files. - The current GemRB chui loader can't handle this type, so you must create it via a CreateWorldMapControl command. - - -Map: - -This control has a button type placeholder in the original user interface files. The current GemRB chui loader can't handle this type, so you must create it via a CreateMapControl command. - - -Game: - -This control has no equivalent in the original user interface files. It covers the main game area where the actors are placed. The engine enforces that the game control is always the first control of the first window. To achieve this, it will close all windows when entering the game. - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/data_exchange.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/data_exchange.txt deleted file mode 100644 index c7e221e97..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/data_exchange.txt +++ /dev/null @@ -1,48 +0,0 @@ -Data exchange between GUI controls and Global Dictionary Names. - -Each control has an associated 'Value' which could be assigned to it by the SetVarAssoc command. The controls handle this value according to their type and subtype. To set a button's subtype, use the SetButtonFlags command. - -Normal button: the associated variable will be set to the 'Value', other controls are unaffected. -CheckBox : the associated variable will be or-ed with the value, other controls may change accordingly to the new value. -RadioButton : the associated variable will be set to the 'Value', other controls are changed accordingly to the new value. - -Progressbar: the progressbar will handle Value as a percentage (it can't alter the value). - -Slider: the slider will handle Value as a scaling factor (not the actual position!), it will set the associated Variable to Position*Value. - -TextEdit: cannot be associated with a variable. You have to use QueryText() - -TextArea: cannot be associated with a variable, use the various TextArea commands. - -Label: labels work like a normal button, the Value will be assigned to the associated variable when the label was 'pushed'. - -ScrollBar: Value will be set based on the scrollbar's knob position. The scrollbar will be redrawn based on Value. If a textarea was associated to the ScrollBar (via the .chu) then the textarea will also be scrolled. - -WorldMapControl: whether travel allowed or not (change the cursor) - -MapControl: the mapcontrol will use the first bit of the associated value to display mapnotes. - -Examples: - Progress = 0 - GemRB.SetVar ("Progress", Progress) - Bar = GemRB.GetControl (LoadScreen, 0) - GemRB.SetVarAssoc (LoadScreen, Bar, "Progress", Progress) -Bar is a ProgressBar control, the engine will refresh the "Progress" Global Dictionary Variable as it progresses with the EnterGame command. - - GemRB.SetButtonFlags(FeedbackWindow,THac0RollsB, IE_GUI_BUTTON_CHECKBOX, OP_OR) - GemRB.SetVarAssoc(FeedbackWindow,THac0RollsB, "Rolls",1) -The above commands (from the options screen) will change the "Rolls" variable according to the CheckBox' state. - - BppButtonB1 = GemRB.GetControl(GraphicsWindow, 5) - BppButtonB2 = GemRB.GetControl(GraphicsWindow, 6) - BppButtonB3 = GemRB.GetControl(GraphicsWindow, 7) - GemRB.SetButtonFlags(GraphicsWindow, BppButtonB1, IE_GUI_BUTTON_RADIOBUTTON,OP_OR) - GemRB.SetButtonFlags(GraphicsWindow, BppButtonB2, IE_GUI_BUTTON_RADIOBUTTON,OP_OR) - GemRB.SetButtonFlags(GraphicsWindow, BppButtonB3, IE_GUI_BUTTON_RADIOBUTTON,OP_OR) - GemRB.SetVarAssoc(GraphicsWindow, BppButtonB1, "BitsPerPixel",16) - GemRB.SetVarAssoc(GraphicsWindow, BppButtonB2, "BitsPerPixel",24) - GemRB.SetVarAssoc(GraphicsWindow, BppButtonB3, "BitsPerPixel",32) -The above commands will set up the BPP selection RadioButton group. - -See also: SetVarAssoc, SetVar, GetVar, QueryText, SetButtonFlags, accessing_gui_controls - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/doc_template.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/doc_template.txt deleted file mode 100644 index da13f83ad..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/doc_template.txt +++ /dev/null @@ -1,13 +0,0 @@ - -Prototype: - -Metaclass Prototype: - -Description: - -Parameters: - -Return value: - -See also: - diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/reserved_functions.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript/reserved_functions.txt deleted file mode 100644 index 032ab5e72..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript/reserved_functions.txt +++ /dev/null @@ -1,44 +0,0 @@ -The following functions have a special meaning: - -OnLoad(): - This function is called when the GUI script was loaded by GemRB. - -StartTextScreen(): - This function is called when the engine encountered a TextScreen or an - IncrementChapter game script action. - -OpenWorldMapWindow(): - This function is called when the worldmap window must be opened. - -UpdatePortraitWindow(): - This function is called when there was a change in the party, this includes - party order and PC hitpoints or state changes that may affect portraits. - -SelectionChanged(): - This function is called when there was a change in selection of a team member. - -OpenStoreWindow(): - This function is called when the StartStore scripting action was called. - Or a container item was accessed. - -UpdateControlStatus(): - This function is called when a pane changed on the game screen. - -OpenContinueMessageWindow(): - This function is called when the player may choose to continue a dialog. - -OpenEndMessageWindow(): - This function is called when the player may choose to end a dialog. - -DeathWindow(): - This function is called when the team/protagonist is killed. See also - GameSetProtagonistMode(). - -OpenReformPartyWindow(): - This function is called when there are too many teammembers. - -OpenContainerWindow(): - This function is called when the player accessed a ground pile or container. - -CloseContainerWindow(): - This function is called when GemRB requests the container window to be closed. diff --git a/project/jni/application/gemrb/gemrb/docs/en/GUIScript_introduction.txt b/project/jni/application/gemrb/gemrb/docs/en/GUIScript_introduction.txt deleted file mode 100644 index 17d588e9b..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/GUIScript_introduction.txt +++ /dev/null @@ -1,275 +0,0 @@ -GUISCRIPT INTRODUCTION ----------------------- - -This file is intended as a brief overview for one of two scripting systems -in GemRB - GUIScript. You should read it if you want to hack on GemRB's GUI. - - -Contents --------- - - - Introduction - GUIScript and GameScript - - Script execution - - Typical GUIScript - - GUIScripter's Workflow - - Notes - -Introduction - GUIScript and GameScript ---------------------------------------- - -As said above, there are two scripting systems within GemRB - GUIScript -and GameScript. What's the difference between them? - -The first one, GUIScript, concerns mostly with game GUI, i.e. user -interaction, opening and closing windows, pushing of character sheet -buttons, inventory, etc. This functionality was hardwired in the -original games (probably with Lua scripts compiled-in into the main -EXE) and so we need to implement it anew. GUIScript scripts have to be -tailored for each game type, because each game uses more or less -different GUI, string refs, and so on. We program these scripts in -Python. - -The second one, GameScript, governs almost all AI and "AI" in game, -effects of opening a trapped chest, annoying an important NPC or -putting together pieces of a puzzle. These scripts are of course -totally story (and hence game) dependent, fortunately they are stored -in game's data files. They are written in special language and -usually compiled in *.bcs files. Some of them are uncompiled (*.bs -files) or even stored in dialog.tlk. - -This file concerns with the first type of scripts, GUIScripts. - - -Script execution ----------------- - -GUIScripts are stored in gemrb/GUIScripts//. First script to -be run is always named Start.py. Main window with messages, map -display, character portraits, action buttons etc. is named -MessageWindow.py. Other scripts are usually named after *.CHU resource -file they mostly use. - - Example: - Planescape: Torment startup script: - gemrb/GUIScripts/pst/Start.py - - Baldur's Gate 2 inventory: - gemrb/GUIScripts/bg2/GUIINV.py - -GemRB API is provided to the scripts by means of GemRB module. The -module is implemented together with Python interpreter glue in -GUIScript plugin in gemrb/plugins/GUIScript/GUIScript.cpp. - - Example: - import GemRB - GemRB.LoadTable ("RACES") - -Description of all functions in the huge GemRB module is in -gemrb/docs/en/GUIScript directory, GUIScript.cpp file itself or obtained -by typing help(GemRB) in GemRB console (type ESC to open console). In -that case the help is dumped to stdout. - -All scripts to be run have to define OnLoad() function, which is -called by GemRB each time the script is loaded. Those python files -without OnLoad() function are merely modules imported into another -script, usually MessageWindow.py. - -The control between scripts is passed with GemRB.SetNextScript() -function, which causes another script to be loaded. Repeated loading -of a script causes repeated calling of its OnLoad() function. - -All scripts automagically import all symbols from file -gemrb/GUIScripts/GUIDefines.py, which contains definition of constants -commonly used in the scripts. Other files in this directory can be -imported too. - - Example: - import GemRB - from ie_stats import IE_SAVEVSPOLY - def OnLoad(): - print IE_GUI_BUTTON_NORMAL, IE_SAVEVSPOLY - GemRB.SetNextScript("MessageWindow") - - - -Typical GUIScript ------------------ - -A typical script's task is to open a window, setting button labels and -callbacks and then return control back to GemRB. The script also -provides a mean to close the window created. - -Since most scripts are modules of MessageWindow.py instead of -independent scripts, we will use a simplified version of one of them -for an example - - - ## Standard header and boilerplate, put in all the scripts. - - # -*-python-*- - # GemRB - Infinity Engine Emulator - # Copyright (C) 2003 The GemRB Project - ..... - - - ## Since this is only a module, GemRB and GUIDefines have to be explicitly - ## imported - - ################################################### - import GemRB - from GUIDefines import * - from GUICommon import CloseOtherWindow - - ################################################### - JournalWindow = None - LogWindow = None - QuestsWindow = None - ## Function called from a callback in MessageWindow.py - - ################################################### - def OpenJournalWindow (): - global JournalWindow - - ## This is a common way of closing another window before opening - ## our own one (here Journal window). If Journal window already - ## exists, it's closed and the control is returned to the caller - ## (this implements toggling of a window) - - if CloseOtherWindow (OpenJournalWindow): - ## this part is called if we are closing Journal window - - ## Close any opened children windows - - if LogWindow: OpenLogWindow() - if QuestsWindow: OpenQuestsWindow() - - ## Freezes the GUI - GemRB.HideGUI () - - ## Free the window resource and delete Journal window - ## from window manager - GemRB.UnloadWindow(JournalWindow) - JournalWindow = None - GemRB.SetVar("OtherWindow", -1) - - ## Unfreeze the GUI, redraws screen, reshuffles windows in - ## window manager - - GemRB.UnhideGUI () - - ## Return to the caller - return - - ## This part is executed when we did not close Journal window - ## and will open it instead - - ## Freeze the GUI - GemRB.HideGUI () - - ## Loads CHU resource file. This one contains windows for Journal, - ## Log, and PC/NPC encyclopedia. - - GemRB.LoadWindowPack ("GUIJRNL") - - ## Load window with ID 0 (Main Journal window) from GUIJRNL.CHU file. - - JournalWindow = GemRB.LoadWindow (0) - - ## Add the new window to window manager. "OtherWindow" is name reserved - ## for non-floating windows in the center of the screen. - - GemRB.SetVar("OtherWindow", JournalWindow) - - ## Now access some buttons in the new window and assign - ## labels and callbacks to them - - ## Comment the button processing with the label of the button for - ## easy maintenance - - # Quests - - ## Quest button has ID 0 in GUIJRNL.CHU in window ID 0 - Button = GemRB.GetControl (JournalWindow, 0) - - ## Set the label for the button to strref 20430 ("Quests") - GemRB.SetText (JournalWindow, Button, 20430) - - ## When the button is clicked by mouse, call fn OpenQuestsWindow() - GemRB.SetEvent (JournalWindow, Button, IE_GUI_BUTTON_ON_PRESS, "OpenQuestsWindow") - - ## Now some other buttons. Note that "Done" button calls this - ## function, which causes closing of the Journal window - - # Beasts - Button = GemRB.GetControl (JournalWindow, 1) - GemRB.SetText (JournalWindow, Button, 20634) - GemRB.SetEvent (JournalWindow, Button, IE_GUI_BUTTON_ON_PRESS, "OpenBeastsWindow") - - # Done - Button = GemRB.GetControl (JournalWindow, 3) - GemRB.SetText (JournalWindow, Button, 20636) - GemRB.SetEvent (JournalWindow, Button, IE_GUI_BUTTON_ON_PRESS, "OpenJournalWindow") - - - ## Unfreeze the GUI, redraw screen and restart window manager - GemRB.UnhideGUI() - - -GUIScripter's Workflow ----------------------- - -- Run GemRB and an original game in parallel and notice GUI parts - missing or badly done in GemRB. - -- Divine the CHU file containing the window resource. It can either be - guessed by comparing names of all CHU files in the game to required - functionality, from GUIScript already implementing related part of - the GUI or by viewing all CHU files in CHU/BAM/MOS viewer (DLTCEP, - NearInfinity) and finding the right looking one. - -- Find ID of the window to be implemented in the CHU file, usually - with DLTCEP or NearInfinity. - -- Copy & paste common parts of the script from another one opening - similar windows. - -- Using CHU viewer find control IDs for the controls you need to - configure in the script and add their setting into the script, again - copy & pasting from another script. Usually start with magic trinity - of GetControl, SetText, SetEvent for each button. Use dummy numbers - for now. Beware, NearInfinity displays wrong IDs for labels. You will - have to add the label's control ID to "buffer size" << 32 to get the - right control ID. - -- Write down button labels as they are seen in the original game and - find their strrefs using DLTCEP or NI. Alternatively, you can set - "Strref On=1" in *.INI of the original games and write down directly - the strrefs as they are displayed instead of the labels. This - however does not work with Planescape: Torment. - -- Put the strrefs into the SetText() functions in the script. - -- Now when the trivial parts are done, the real fun can begin. - But that's a subject too advanced for this file :-). - - -Notes ------ - -Please try to follow the indentation style of other GUIScript scripts, -in particular: - - - indent each level with 1 TAB character - - - insert space between function name and opening parenthesis in - function calls and around operators and after the hash sign in - text comments - - - insert blank lines between logically separated chunks of code, - e.g. between setting of different controls - - - insert blank lines after functions and a row of hashes - - - keep naming convention for windows, callback etc. - - - comment your code diff --git a/project/jni/application/gemrb/gemrb/docs/en/Makefile.am b/project/jni/application/gemrb/gemrb/docs/en/Makefile.am deleted file mode 100644 index b4b653e55..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Makefile.am +++ /dev/null @@ -1,6 +0,0 @@ -SUBDIRS = Tables GUIScript Engine -docs_DATA = *.txt -docsdir = $(docdir)/ -EXTRA_DIST = *.txt - -CLEANFILES = doxygen/html/* doxygen/latex/* diff --git a/project/jni/application/gemrb/gemrb/docs/en/Release.txt b/project/jni/application/gemrb/gemrb/docs/en/Release.txt deleted file mode 100644 index ea9ade024..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Release.txt +++ /dev/null @@ -1,78 +0,0 @@ -How to make a release -********************* - -Preparing and testing GIT -========================= - -* Make sure that version numbers in - configure.in - gemrb/includes/globals.h - are correct for the upcoming version. - -* Update NEWS with highlights since the last release - -* Make sure that GemRB GIT is in compilable and runnable state - - download a clean GIT tree and test it. - - Make distribution .tar.gz (see Source release below) and test it as well - - especially make sure all needed files are included. - -* Tag current GIT to version number e.g. v0.9.0 - i.e. in the gemrb root directory do - git tag -a -m "GemRB 0.9.0" v0.9.0 - git push origin v0.9.0 -* Update from GIT to the tagged version - git checkout v0.9.0 - -* After you're done, update the version with a -git suffix, so it will be - easier to tell if people are running release builds or not - -Source release -============== - -* on Unix/Linux: - make dist - - -Linux binary release -==================== - - ./autogen.sh - ./configure --prefix=/usr/local - make - make install DESTDIR=/tmp/fakeroot - cd /tmp/fakeroot/usr/local - copy ~/GemRB-binary.cfg over etc/GemRB.cfg, rename to etc/gemrb.cfg - strip bin/gemrb lib/* lib/gemrb/* - sudo chown -R 0:0 * - sudo tar cvzf ../gemrb-0.2.5-linux_i386.tar.gz * - - -Windows binary release -====================== - -* FIXME: To be defined.... - - -Release and Announcements -========================= - -* Write the release notes if necessary. They are mainly for packagers, so -create them if there are structural or build related changes. New config -options should also be mentioned here if they're not part of the changelog. - -* Put the tarballs/binaries into Releases on SF - - go to the Files section - - click on the sources subdir - - add a new similarly-named folder - - use "add file" to upload the sources and release notes - - change the file properties to set the default platforms (under "view details") - -* Test the downloads from sourceforge.net - -* Announce on homepage, SF, #GemRB in channel and title, Happypenguin, LGDB and - Gibberlings3: - - our forum - - modding news (Avenger, Theacefes, Grim Squeaker, DavidW and cmorgan have access) - (a template is available in admin/announcement.template) - -* Run admin/restart_news.sh to restart the NEWS cycle diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/HPBARB.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/HPBARB.txt deleted file mode 100644 index 943f35d97..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/HPBARB.txt +++ /dev/null @@ -1,8 +0,0 @@ -Description: Contains the hp to gain on barbarian level up. - -Columns - -SIDES - number of sides to roll -ROLL - number of rolls -MODIFIER - add after the roll - -Rows - the level the roll applies to diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/Makefile.am b/project/jni/application/gemrb/gemrb/docs/en/Tables/Makefile.am deleted file mode 100644 index 63decc795..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ -tabledocs_DATA = *.txt -tabledocsdir = $(docdir)/Tables/ -EXTRA_DIST = *.txt diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/ability.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/ability.txt deleted file mode 100644 index bcc2f846d..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/ability.txt +++ /dev/null @@ -1,10 +0,0 @@ -Description: This table lists the abilities (strength, intelligence) in the game. - -Columns - -NAME_REF - the name of the ability -CAP_REF - the capitalized name of the ability -DESC_REF - the description of the ability -STAT_ID - the ability stat value - -Rows - abilities - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/aligns.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/aligns.txt deleted file mode 100644 index 8435eb375..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/aligns.txt +++ /dev/null @@ -1,12 +0,0 @@ -Description: This table lists the alignments pickable in the game. - -Columns - -NAME_REF - the name of the alignment -CAP_REF - the capitalized name of the alignment -DESC_REF - the description of the alignment -VALUE - the alignment stat value -COLNAME - the column name for this alignment in other tables -USABILITY - the item usability flag - -Rows - alignments - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/areapro.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/areapro.txt deleted file mode 100644 index ebee0f6bc..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/areapro.txt +++ /dev/null @@ -1,25 +0,0 @@ -Description: This table lists resource data for area projectiles. The original engine had these hardcoded in the .exe - -Columns - - RESOURCE1 - A BAM resref which is drawn in the entire area of effect. - RESOURCE2 - A VVC (or BAM) resref which is drawn in the center of effect once. - RESOURCE3 - An alternate animation (named recoil without better name) - SOUND1 - Explosion sound (played on first explosion) - SOUND2 - Area sound (played on subsequent explosions) - FLAGS - a bitfield which alters the way the resources are drawn - -Values for the FLAGS bitfield - - 1 - RESOURCE1 is recoloured by the gradient set in the projectile - 2 - fills the entire area of effect randomly, otherwise it is a (spreading) circle - 4 - no spreading, the filler graphic is already at its destination, otherwise it starts from the center - 8 - RESOURCE2 is recoloured by the gradient set in the projectile - 0x10 - repopulate children that vanished - 0x20 - the child projectiles need gradient colouring - 0x40 - draw RESOURCE3 projectiles too (halves the number of children as well) - 0x80 - double the number of child projectiles - 0x100 - if none was affected by this projectile, apply a spell of same name on the caster - -areapro.2da data could be completely incorporated into the projectile file, it is supplied -only for some BG2 spells that don't use the extended projectile format. - -See projectile.txt for more information. diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/avatars.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/avatars.txt deleted file mode 100644 index de8e2af44..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/avatars.txt +++ /dev/null @@ -1,66 +0,0 @@ -Description: This table lists the avatar animations. PST has a slightly different animation scheme, this could be turned on by the OneByteAnimationID option (in gemrb.ini). When it is on, the high byte of the animation ID will control the palette flag thus eliminating the need of the PALETTE column. - -[ Note: apparently, PST is more complicated than that: -Foundry gears: 0x2000 -Iron Golem: 0x3000 -Mortuary ghost: 0xD400 -Pillar of Skulls: 0xF000 -black abishai: 0xE000 - -The only normal one of them is black abishai, the others are all somewhat special. For example, Pillar of Skulls consists of two BAMs, POSMAIN and POSSHAD (the pillar and its shadow, both animated). See ANIMATE.IDS. ] - - -Columns: AT_1 - first armour level animation prefix - AT_2 - second armour level animation prefix - AT_3 - third armour level animation prefix - AT_4 - fourth armour level animation prefix - TYPE - the animation scheme - -0 - Many files, this is the avatar animation of BG2. -1 - The whole animation is in one file. Scheme is: [NAME][G1]. There are 16 orientations. -2 - The whole animation is in four files. Scheme is: [NAME][G1-2][/E]. -3 - The whole animation is in two files. Scheme is: [NAME][G1][/E]. -4 - Many files (simular to 0), but all with G. Scheme is: [NAME][G][1-2][1-6]. -5 - ? -6 - BG2 style animation. Scheme is:[NAME][ACTIONCODE][/E]. The G1 code contains many sequences. (5 orientations). -7 - Bird animations, one file, only movement with orientations. -8 - Six files contain the whole animation. Scheme is:[NAME][G1-3][/E] -9 - IWD style animation. Scheme is:[NAME][ACTIONTYPE][/E]. The main difference from 6 is that instead of G1, it has separate bams for many actions. (9 orientations). -10 - The whole animation is in two files [NAME][G1][/E]. Used for some low res static BG1 animations like the horse and cow. It lacks the walking animations of type 3. -11 - large 2x2 animations (wyvern and balor) -12 - huge 3x3 dragon animations -13 - 15 reserved for non pst anims -16 - full PST style animation. Scheme is:[C/D][ACTIONTYPE][NAME][B] -17 - stand still animation (no orientations) -18 - stand still animation with orientations -19 - full PST animation without different stc/std sequences - -PST ACTIONTYPE: -AT1, AT2 -C2S -CF1, CF2 -DFB -GUP Get Up -HIT Hit -MS1, MS2 -RUN Run -S2C -SF1, SF2 -SP1 .. SP4 -STC Fight Stance? -STD -TK1 .. TK6 Talk -WLK Walk - - SPACE - the personal space of the creature - PALETTE - set it to 1 if the animation has its own palette (0 for fake colored avatars). -Not needed if OneByteAnimation was set. - SIZE - Used for selecting possible weapon animation BAMs. -Not needed if OneByteAnimation was set. - -Rows: each row begins with a hexadecimal Animation ID. One or two bytes. - -Example: the wyvern animation - AT_1 AT_2 AT_3 AT_4 TYPE SPACE PALETTE -0x1000 MWYV MWYV MWYV MWYV 2 5 1 - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/avprefix.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/avprefix.txt deleted file mode 100644 index 50b90c857..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/avprefix.txt +++ /dev/null @@ -1,34 +0,0 @@ -Description: Contains the scheme of the avatar animation IDs based on character stats. The first row, contains the base Animation ID of the avatars. A second column may store the first stance of the generated character (useful only for PST). Additional rows may contain a table ResRef which modifies the animation ID based on a stat. These tables contain a stat number in their first (0.) row. The other rows contain the modifier value based on the stat. - -Columns: RESREF - One column, with different values. - -Rows: 0 - base Animation ID - - table ResRef - -Example (BG2): - RESOURCE -0 0x6000 -1 avprefr -2 avprefg -3 avprefc - -avprefr.2da: - RACE -TYPE 201 -HUMAN 0 -ELF 1 -... -avprefc.2da: - CLASS -TYPE 202 -FIGHTER 0x100 -MAGE 0x200 -... -The Animation ID depends on race, gender and class in bg2. The race stat is 201, so that is in the first row. - -Example (PST): - RESOURCE STANCE -0 0x6032 18 - -The Animation ID is constant, but there is a special stance (waking up on the slab). - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/cgtable.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/cgtable.txt deleted file mode 100644 index c7d8e6df3..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/cgtable.txt +++ /dev/null @@ -1,6 +0,0 @@ -Description: This table is used by the casting glow opcode and also when casting a spell (the spell header contains the casting glow code). - -Columns: the casting glow resref (VVC or BAM) - -Rows: the casting glow code - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/classes.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/classes.txt deleted file mode 100644 index b51630e69..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/classes.txt +++ /dev/null @@ -1,15 +0,0 @@ -Description: This table lists the playable classes in the game. - -Columns - -NAME_REF - the name of the class -CAP_REF - the capitalized name of the class -DESC_REF - the description of the class -SAVE - the saving throw table for this class -USABILITY - the item usability flag -MULTI - if multi class, which classes are combined -ID - the class stat value -HP - the hp table for the class - - the rest of the columns enable or disable the class (2 means partially usable) - -Rows - classes - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/clowncol.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/clowncol.txt deleted file mode 100644 index 85e592b09..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/clowncol.txt +++ /dev/null @@ -1,10 +0,0 @@ -Description: This table lists the pickable colours for the avatar. - -Columns - gradient slots - -Rows - - MAJOR - the gradient values for the major colour - MINOR - the gradient values for the minor colour - HAIR - the gradient values for the hair colour - SKIN - the gradient values for the skin colour - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/containr.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/containr.txt deleted file mode 100644 index 28f9472c2..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/containr.txt +++ /dev/null @@ -1,11 +0,0 @@ -Description: This table lists the resources used for container types. - -Columns: The BAM and Sound resource references associated with the type. - -Rows: Container types. The row index is based on the container type set in the container data of an area. - -Example: - SOUND BAM -* * * -BAG GAM_12A1 CONTSACK - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/damage.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/damage.txt deleted file mode 100644 index 0d7a8113b..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/damage.txt +++ /dev/null @@ -1,10 +0,0 @@ -Description: This table lists the damage animations. - -Columns - - MAIN - the damage hit animation - SPARKS - additional splash animations - GRADIENT - fake coloured animations will be recoloured with this gradient - -Rows - damage types - -See also: dmgtypes.txt diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/defsound.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/defsound.txt deleted file mode 100644 index cc4a801a9..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/defsound.txt +++ /dev/null @@ -1 +0,0 @@ -Description: This table lists default sounds used by the engine. diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/dmgtype.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/dmgtype.txt deleted file mode 100644 index 4dbad7299..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/dmgtype.txt +++ /dev/null @@ -1,11 +0,0 @@ -Description: This table lists the damage type resistances. - -Columns - - LOWER - string reference index (there is a second indirection by strings.2da) - RESIST_STAT - character stat which provides resistance - VALUE - damagetype value - IWDMOD - value of the type parameter to the bonus damage modifier effect in iwd - -Rows - damage types - -See also: damage.txt diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/fistweap.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/fistweap.txt deleted file mode 100644 index 32a5d2d39..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/fistweap.txt +++ /dev/null @@ -1,7 +0,0 @@ -Description: This table contains what resref will be created in the fist slot of a creature. -This is usually the FIST object, but for the monk class it varies with level. -It is possible to add other classes which have level based fist weapon. - -Columns: The levels - -Rows: The classes (use class id as label) diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/fonts.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/fonts.txt deleted file mode 100644 index 4e2b730d7..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/fonts.txt +++ /dev/null @@ -1,13 +0,0 @@ -Description: This table lists fonts. Only fonts listed here could be used as a font resource. - -Columns: RESREF - the .bam ResRef of the font - NEED_PALETTE - if the font has no own palette, set this to 1 - FIRST_CHAR - usually 0, it contains the first printable character of the font. - -Rows: - make sure the 9. font is a 'normal' font. Used for floating texts. (this is a hacked legacy feature, it may go away). - -Example (BG2): - RESREF NEED_PALETTE FIRST_CHAR -0 NORMAL 1 0 -1 NUMBER 0 47 -2 INITIALS 0 0 diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/formatio.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/formatio.txt deleted file mode 100644 index c8e2fd72e..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/formatio.txt +++ /dev/null @@ -1,10 +0,0 @@ -Description: This table contains preset party formations. - -Columns: X/Y pairs of relative coordinates from the target location. 7-10 pairs can be specified. The coordinates must be given for the north direction. (Other directions will be calculated). - -Rows: Formation types. - -Example: - X1 Y1 X2 Y2 X3 Y3 X4 Y4 X5 Y5 X6 Y6 X7 Y7 -FOLLOW 0 0 0 1 0 2 0 3 0 4 0 5 0 6 - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/guibtact.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/guibtact.txt deleted file mode 100644 index 05f2506dd..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/guibtact.txt +++ /dev/null @@ -1,9 +0,0 @@ -Description: This file describes the action button icons and associated tooltips. - -The row names are also part of the function name to run when the button is -pressed ("Action%sPressed"). For example, clicking the thieving button -will run "ActionThievingPressed()". - -Columns: 1-4: The button BAM Frame numbers for the four button sprites. - TOOLTIP: The tooltip strref for the action. - RESREF: The resref of the button icon. diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/item_use.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/item_use.txt deleted file mode 100644 index 5a96e86b8..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/item_use.txt +++ /dev/null @@ -1,7 +0,0 @@ -Description: This table lists special items that won't be dropped by certain actors. - -Columns: -USER - the scripting name of the playable character -STRREF - the displayed string - -Rows: Item resrefs diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/itemsnd.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/itemsnd.txt deleted file mode 100644 index d8dea45e2..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/itemsnd.txt +++ /dev/null @@ -1,9 +0,0 @@ -Description: This table assigns sounds to item types. The itemtypes must be defined by itemtype.2da. The last four itemtypes are reserved for armourlevel based sounds of body armors. - -Columns: Sound resource references for the TAKE and the DROP sound. - -Rows: Item types. They must follow the item types in itemtype.2da. There must be four extra item types at the end: -DEFAULT -LEATHER -CHAIN -PLATE diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/itemspec.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/itemspec.txt deleted file mode 100644 index bb08a97cf..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/itemspec.txt +++ /dev/null @@ -1,6 +0,0 @@ -Description: This table lists special functionality items. - -Columns: - IDENTIFY - the item could be used as identifying tool. The item's first extended header will be executed. - -Rows: Item resrefs diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/itemtype.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/itemtype.txt deleted file mode 100644 index d13e75a6b..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/itemtype.txt +++ /dev/null @@ -1,17 +0,0 @@ -Description: This table assigns item types to inventory slot types. It tells which item may go into which inventory slot. The slot types are the bit values of slottypes.2da - 1 - helm (or earring in pst) - 2 - armour - 4 - shield - 8 - gauntlet - 16 - ring - 32 - amulet - 64 - belt - 128 - boot - 256 - weapon - 512 - quiver -1024 - cloak -2048 - quick item - -Columns: Slot types. They must follow in the same order in any engine, you may add additional columns if needed. (Probably only in PST). - -Rows: Item types. They must follow the natural order of item types as of the original engine. diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/itemuse.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/itemuse.txt deleted file mode 100644 index 133be8ec7..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/itemuse.txt +++ /dev/null @@ -1,10 +0,0 @@ -Description: This table lists the item usability flags. - -Columns: -STAT - the stat which affects the bits -FILE - the file which contains the usability values assigned to the stat values -MCOL - the stat values -VCOL - the usability values -WHICH - which bitfield group is affected (could be only 0 or 1) - -Rows: Item resrefs diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/magesch.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/magesch.txt deleted file mode 100644 index 7897694b3..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/magesch.txt +++ /dev/null @@ -1,9 +0,0 @@ -Description: This table lists the mage schools pickable in the game. - -Columns - -NAME_REF - the name of the mage school -CAP_REF - the capitalized name of the mage school -DESC_REF - the description of the mage school -KIT - the mage school kit value (also used as usability flag) - -Rows - mage schools diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/modal.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/modal.txt deleted file mode 100644 index a67632292..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/modal.txt +++ /dev/null @@ -1,15 +0,0 @@ -Description: This table assigns spell resources to modal actions. -These modal actions were hardcoded in the original engines. - -Columns - - SPELL - the spell resource assigned to the modal action. - ACTION - the name of the equivalent action in GemRB - STR_ON - the string to display when enabling this action/state - STR_OFF - the string to display when disabling this state - STR_FAILED - the string to display when enabling of this state fails - AOESPELL - does the SPELL have an area of effect? - -Rows - the modal actions have a somewhat determined order. -The first row should be left blank. - -See modal.ids of the original engine. diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/overlay.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/overlay.txt deleted file mode 100644 index 0e951529a..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/overlay.txt +++ /dev/null @@ -1,5 +0,0 @@ -Description: This table lists the hardcoded overlay animations. - -Columns - - -Rows - resrefs for each overlay type (the slots are mandatory) diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/pathfind.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/pathfind.txt deleted file mode 100644 index 3052106f8..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/pathfind.txt +++ /dev/null @@ -1,16 +0,0 @@ -Description: This table describes how the pathfinder must handle the searchmap entries. Also it sets the cost of reaching a neighbouring point. - -Columns: - -Rows: The first row contains 16 bitfields, one for each search map value. The bits make it possible to have an opaque, but passable area (but this isn't too meaningful). -1 - passable (can walk through) -2 - travel region -4 - opaque (can't see through) -8 - sidewall (blocks sight specially) -(As you can see 14 marks the travel region). -The second row contains the cost of walking straight, and the additional cost of walking diagonals. - -Example (BG2): - 0 1 2 3 4 5 6 7 8 9 a b c d e f -PASSABLE 4 1 1 1 1 1 1 1 0 1 8 0 0 0 3 1 -COST 10 4 diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/pdolls.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/pdolls.txt deleted file mode 100644 index 9e22f7c90..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/pdolls.txt +++ /dev/null @@ -1,8 +0,0 @@ -Description: This table lists the paperdolls linked to each avatar animation ID. - -Columns - - LEVEL1-4 - the paperdoll for each armour level - SIZE - the size suffix (for equipment layers) - -Rows - animation IDs - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/pictures.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/pictures.txt deleted file mode 100644 index 0da0aa25d..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/pictures.txt +++ /dev/null @@ -1,11 +0,0 @@ -Description: This table lists the pickable portraits and the default colours for the avatar, based on the portrait icon. - -Columns - - GENDER - male of female portrait (the gender stat) - HAIR - the default hair colour - SKIN - the default skin colour - MAJOR - the default major robe colour - MINOR - the default minor robe colour - -Rows - - portraits diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/polystat.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/polystat.txt deleted file mode 100644 index 0068f084a..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/polystat.txt +++ /dev/null @@ -1,4 +0,0 @@ -Description: This table lists the stats that are copied from a polymorph creature into the target of a polymorph effect. The stats could be given numerically, or literally as they are written in stats.ids - -Columns - - 0 - the only column, containing stat values (or names). diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/qslots.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/qslots.txt deleted file mode 100644 index 22531877d..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/qslots.txt +++ /dev/null @@ -1,11 +0,0 @@ -Description: This file contains the default action buttons based on class. -This file is inherited from IWD2, although IWD2 uses a slightly different version. -The columns of the table contain the nine modifiable actions for each class. -A value of 100 means an unavailable slot. -The values may be 0-31, and represent the first 32 rows of guibtact.2da - -Columns: the quick slots - -Rows: the classes - -See also: guibtact.txt diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/races.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/races.txt deleted file mode 100644 index 8d66a8552..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/races.txt +++ /dev/null @@ -1,11 +0,0 @@ -Description: This table lists the playable races in the game. - -Columns - -NAME_REF - the name of the race -CAP_REF - the capitalized name of the race -DESC_REF - the description of the race -ID - the race stat value -USABILITY - the item usability flag - -Rows - races - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/randitem.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/randitem.txt deleted file mode 100644 index f41ff18e9..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/randitem.txt +++ /dev/null @@ -1,25 +0,0 @@ -Description: The randitem.2da file serves as a compatibility switch between different engine versions. It contains the ResRef for the gold item and it is the root table for random item tables. Two major random item distributions are allowed: multiple tables or single table. To have a single table, the second row (RND) must contain two ResRefs. -More rows will follow with the table prefixes. The table prefixes must not exceed 6 characters in length. It may also contain two ResRefs for original game engine single treasure tables (no suffix). - -Columns: RESREF - the table names - FURY_MODE - use these values in the highest difficulty level - -Rows: GOLD - it must be the first row, and contains the gold ResRef. When the system needs the gold item, it will use this ResRef. - RND - if numeric, it contains the number of treasure tables which employ a numerical suffix (like rndequ01). If text, it contains table ResRefs. - - if RND was numeric, there follows x table suffixes - -Example (BG2): - RESREF FURY_MODE -GOLD MISC07 -RND 5 5 -RNDEQU RNDEQUIP RNDEQUIP -RNDMAG RNDMAGIC RNDMAGIC -RNDSCR RNDSCROL RNDSCROL -RNDTRE RNDTREAS RNDTREAS -RNDWEP RNDWEP RNDWEP - -Example (IWD2): - RESREF FURY_MODE -GOLD MISC07 -RND RT_NORM RT_FURY - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/restmov.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/restmov.txt deleted file mode 100644 index 0cb480af3..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/restmov.txt +++ /dev/null @@ -1,12 +0,0 @@ -Description: This table lists the resting and day/night switching movies. -The resting movie index is determined by 3 bits of the areatype. (CITY/FOREST/DUNGEON). -Day/night switching occurs only for areas marked by the EXTENDED_NIGHT flag (also in areatype). -The original engine showed only a single switching movie (for a city environment), but -GemRB allows for 8 different movies (based on the areatype bit combinations). - -Columns - - resting movies - day switching movies - night movies - -Rows - The movie resource references for each areatype. diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/savegame.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/savegame.txt deleted file mode 100644 index 7eb03372a..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/savegame.txt +++ /dev/null @@ -1 +0,0 @@ -Description: This table lists save game name prefixes used by the SaveGame() action. diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/script.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/script.txt deleted file mode 100644 index 41e190efe..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/script.txt +++ /dev/null @@ -1,14 +0,0 @@ -Description: This table describes how the script file objects and triggers look like. - -Columns: - -Rows: - OBJECT_IDS_COUNT - the count and name of the IDS identifiers (ea, general, race...) - MAX_OBJECT_NESTING - the maximum number of object filters - - ADDITIONAL_RECT - 1 if the object has additional rectangle parameter - - EXTRA_PARAMETERS_COUNT - the number of IDS after the string parameter - - TRIGGER_POINT - 1 if the triggers contain an extra point parameter - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/shtable.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/shtable.txt deleted file mode 100644 index 84a9ec1e8..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/shtable.txt +++ /dev/null @@ -1,6 +0,0 @@ -Description: This table is used by the spell hit animation opcode. - -Columns: the spell hit animation resref (VVC or BAM) - -Rows: the spell hit code - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/skills.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/skills.txt deleted file mode 100644 index be45c9e4e..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/skills.txt +++ /dev/null @@ -1,9 +0,0 @@ -Description: This table is used by the character generator (and when leveling up). -It lists the thieving skills. The first two rows contain the distributable points per level. - -Columns - rogue classes or kits - -Rows - distributable points and skills - -The clskills.2da table's THIEFSKILL column contains the reference to this table. -Theoretically it is possible to have different tables per class. diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/skillsta.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/skillsta.txt deleted file mode 100644 index a70b8e06e..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/skillsta.txt +++ /dev/null @@ -1 +0,0 @@ -Description: This table is used by the CheckSkill gamescript trigger to translate skills to stats. The guiscript for character generation in IWD2 also uses it. diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/slottype.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/slottype.txt deleted file mode 100644 index f3640b60a..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/slottype.txt +++ /dev/null @@ -1,20 +0,0 @@ -Description: This table must have rows equal to the number of itemslots in a creature. - -Columns: BITS - connects the itemslots to item types (see itemtype.2da). If a bit is set to 1, the slot may carry a specific item type. -1 means all (inventory slot). The core system uses this column to determine slot types. - SCRIPT - usually the ControlID of the slot on the inventory screen, but your script may use it differently. (For example PST is a bit different). - ICON - usually a bam ResRef of the background image of the slot in the inventory screen. (Your script may use it differently). - STRREF - usually a tooltip StrRef, but your script may use it differently. - EFFECT - whether the slot is an equipping slot (for equipping effects) - FLAGS - fine tuning of slot mechanics: - - 0: normal - - 1: this slot cannot be stolen from (used for eg. the fists slot) - -Rows: each row represents a creature item slot, even unused or invisible slots must be represented. - -Example (BG2): - BITS SCRIPT ICON STRREF EFFECT FLAGS -10 0 0 * 0 2 0 -6 1 13 STONHELM 11999 7 0 -1 2 11 STONARM 11997 1 0 -... - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/spells.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/spells.txt deleted file mode 100644 index 9e1eaa896..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/spells.txt +++ /dev/null @@ -1,6 +0,0 @@ -Description: This table lists the highest .spl learnable at the given level. - -Columns - -1-9 - the level to limit - -Rows - the types of spells to limit (MAGE, PRIEST, INNATE) diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/splprot.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/splprot.txt deleted file mode 100644 index 8440379f0..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/splprot.txt +++ /dev/null @@ -1,41 +0,0 @@ -Description: This table implements spell resistances based on a simple condition of the target's stats. -One row defines a certain 'semi-hardcoded' condition. For iwd/iwd2 these conditions were hardcoded into the engine. - -Columns - -STAT - the name or number of the stat -VALUE - a value which has to match the stat -RELATION - a symbol for the comparation to be performed -COMMENT - unused by GemRB, it is just a reminder - -Rows - spell immunity conditions used by some iwd effects. - -Stat names are coming from stats.ids -Stats over 255 (0x100 and above) are not real stats, but either virtual stats, or -composite conditions. - - -0x100 - caster is source of the spell (spell effect won't affect self) -0x101 - caster isn't source of the spell (spell effect won't affect others) -0x102 - the personal space of the target, set in avatars.2da (SPACE column) -0x103 - both rows are true (the two fields designate 2 other rows in this file) -0x104 - neither rows are true (similar to 0x103) -0x105 - only the lowest 2 bits of alignment are calculated -0x106 - area flags (outdoor, forest, etc) -0x107 - daytime flag -0x108 - caster and target EA relation (using the EA fields to calculate this) - -The relation could be -0 - less or equal -1 - equal -2 - less -3 - greater -4 - greater or equal -5 - not equal -6 - binary less or equal (all bits of left side are in right side) -7 - binary more or equal (all bits of right side are in left side) -8 - binary intersect (left and right side has at least one common bit) -9 - binary not intersect (left and right side has no common bits) -10 - binary more (left side has bits that are not in right side) -11 - binary less (right side has bits that are not in left side) - -See also: featreq diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/start.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/start.txt deleted file mode 100644 index 16b90dc7d..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/start.txt +++ /dev/null @@ -1,12 +0,0 @@ -Description: This table is a layer of indirection to support various startpos.2da configurations. It simply describes the used row labels for startpos.2da - -Columns - -XPOS - x position labels -YPOS - y position labels -AREA - starting area labels -ROT - optional facing direction labels - -Rows - -NORMAL - data for a normal game starting positions -TUTORIAL - data for the tutorial starting positions -EXPANSION - data for the expansion only game starting positions diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/states.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/states.txt deleted file mode 100644 index f4ea6efd9..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/states.txt +++ /dev/null @@ -1,16 +0,0 @@ -Description: strrefs for character state names. - -Columns: (keys) - bitmask for particular state - NAME_REF - strref for name of this state - -Rows: each row maps one state bit (as a bitmask) to its strref - -Example (PST): - NAME_REF -0 67220 -1 59824 -2 59825 -4 59826 -8 59830 -16 59831 -... diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/strings.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/strings.txt deleted file mode 100644 index 4912e5fc7..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/strings.txt +++ /dev/null @@ -1,5 +0,0 @@ -Description: This table lists the hardcoded string constants used by the core engine. - -Columns - - -Rows - string references for each slot. (The order is mandatory). diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/table_template.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/table_template.txt deleted file mode 100644 index 9a1033744..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/table_template.txt +++ /dev/null @@ -1,7 +0,0 @@ -Description: - -Columns: - -Rows: - -Example: diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/wildmag.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/wildmag.txt deleted file mode 100644 index 041674ae1..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/wildmag.txt +++ /dev/null @@ -1,27 +0,0 @@ -Description: This table lists spells that are used when wild magic surges occur. The original engine had these hardcoded in the .exe. - -The row name corresponds to the required roll. The 100th row will be ignored, since a roll of 100 or more signifies a normal cast. - -Columns - - SPELL - A spell resref (to be cast instead) or one of the special codes below. - STRREF - The string to be displayed when the surge occurs (eg. "Oops, is that a Pit Fiend?") - COMMENT - unused - -The syntax of the SPELL column is as follows: - - SPELLREF (use this spell instead) - - +SPELLREF (cast this spell first, then the chosen one) - - ID.parameter (use hardcoded feature number ID, passing a parameter) - -Possible values for ID are - - 0 - cast spell //parameter// times - 1 - change projectile to parameter - 2 - also target (caster) - 3 - roll on this wild surge table //parameter// times - 4 - change target to parameter - 5 - use a random target - 6 - change the spell saving throws by //parameter// - 7 - cast a random known spell - 8 - set the projectile speed to //parameter// percent - -2 and 4 can take any effect target type as the parameter. - diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/wsshield.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/wsshield.txt deleted file mode 100644 index 427f1132a..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/wsshield.txt +++ /dev/null @@ -1,6 +0,0 @@ -Description: This table lists the benefits for points in sword/shield proficiency. (BG2-specific) - -Columns - -ACVSMISSILE - bonus to ac vs missile weapons - -Rows - number of stars diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/wssingle.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/wssingle.txt deleted file mode 100644 index 4586f5e92..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/wssingle.txt +++ /dev/null @@ -1,7 +0,0 @@ -Description: This table lists the benefits for points in single-weapon proficiency. (BG2-specific) - -Columns - -AC - bonus to ac -CRITICALHITBONUS - bonus to critical range - -Rows - number of stars diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/wstwohnd.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/wstwohnd.txt deleted file mode 100644 index 420000411..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/wstwohnd.txt +++ /dev/null @@ -1,8 +0,0 @@ -Description: This table lists the benefits for points in two-handed weapon proficiency. (BG2-specific) - -Columns - -DAMAGEBONUS - additional damage -CRITICALBONUS - critical roll modifier -PHYSICALSPEED - speed modifier - -Rows - number of stars diff --git a/project/jni/application/gemrb/gemrb/docs/en/Tables/wstwowpn.txt b/project/jni/application/gemrb/gemrb/docs/en/Tables/wstwowpn.txt deleted file mode 100644 index c656150f3..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/Tables/wstwowpn.txt +++ /dev/null @@ -1,7 +0,0 @@ -Description: This table lists the benefits for points in two-weapon proficiency. (BG2-specific) - -Columns - -THAC0BONUSRIGHT - penalty to the main hand -THAC0BONUSLEFT - penalty to the off hand - -Rows - number of stars diff --git a/project/jni/application/gemrb/gemrb/docs/en/gemrb_ini.txt b/project/jni/application/gemrb/gemrb/docs/en/gemrb_ini.txt deleted file mode 100644 index a1a1a9d07..000000000 --- a/project/jni/application/gemrb/gemrb/docs/en/gemrb_ini.txt +++ /dev/null @@ -1,322 +0,0 @@ -GAME-SPECIFIC CONFIGURATION FILE GEMRB.INI -****************************************** - -Contents --------- - - Introduction - - INI File Format - - Options Values Types - - List of Options - - -Introduction ------------- - -gemrb.ini is a file containing game-specific configuration for GemRB -engine. It's used for options with simple value types which are -specific to GemRB and which are not intended to be usually changed by -a user. More complicated configuration data (tables, etc.) are kept in -their own files. User specific configuration is in other file (GemRB.cfg). - -[FIXME: eventually, this file could be searched for in user's config directory too] - -This file's path can be - /gemrb/override//gemrb.ini - /gemrb/override//gemrb.ini - /override//gemrb.ini - - -INI File Format ---------------- - -gemrb.ini file is in Windows *.INI format. That means it's line -oriented, consisting of a list of options, each on its own -line. Options are grouped into sections, each section labeled with -section name in [brackets]. Comments have to be on their own line, they -start with a semicolon (;) and last to the end of the line. - -Options are in this file described in the format optionname = . -For the moment all the options have to be in [resources] section. - - -Options Values Types --------------------- -These are types of values used in description of particular options. - - resref - resource identifier as defined in KEY file, string of at most - 8 characters. The case is not important, but is usually written in - all upper-case to be easily distinguished. - - string - - rgba_color - hexadecimal RGBA quadruplet written as #rrggbbaa, - e.g. #00ff00ff is opaque bright green. - - number - unsigned integer number - - bool - boolean value, for now either 0 (false) or 1 (true) - - -List of Options ---------------- - -CursorBAM = -- - - - - - - - - - - -Name of bitmap resource with cursor images (e.g. PST: CARET) - -ScrollCursorBAM = -- - - - - - - - - - - - - - -Name of bitmap resource with scroll cursor images (e.g. BG2: CURSARW) - -ButtonFont = -- - - - - - - - - - - -Name of bitmap resource used for button font in dialog windows -(e.g. BG1: STONESML) - -MovieFont = -- - - - - - - - - - - -Name of bitmap resource used for the movie subtitles - -TooltipFont = -- - - - - - - - - - - - -Name of bitmap resource with font used to display tooltips -(e.g. PST: TRMTFONT) - - -TooltipBack = -- - - - - - - - - - - - -Sprite displayed behind the tooltip text, if any. Leave undefined when -tooltips don't use background bitmap. -(e.g. BG1: TOOLTIP) - - -TooltipColor = -- - - - - - - - - - - - - - -Tooltip text color. Default is #ffffffff, i.e. opaque white. - - -TooltipMargin = -- - - - - - - - - - - - - -Space between tooltip text and sides of TooltipBack (x2) - - -GroundCircleBAM1 = -GroundCircleBAM2 = -GroundCircleBAM3 = / -- - - - - - - - - - - - - - - - - -Sprites displayed as a ground circle under actors (PST only). -Actually, there should be this directive for each ground circle -size, from 1 to 3 (sizes in PST). - -If the ResRef is immediately followed by a slash and a number, -the bitmap is scaled down by this factor. That's used in PST, -where resources exist for circle sizes 2 and 3 only. -(e.g. GroundCircleBAM1 = wmpickl/3) - - -INIConfig = -- - - - - - - - - - - - -Name of INI file from the original game. This file is searched for in -the game root directory. - - -Palette16 = -Palette32 = -Palette256 = -- - - - - - - - - - - -Palette bitmap resources for various number of colors in a gradient. -Each pixel line in these files is for one base color. Pixels in the -row then define the gradient of that color. - - -IgnoreButtonFrames = -- - - - - - - - - - - - - - -If set to 1, buttons will ignore frame numbers as set in button CHU -resource, and always use frames 0, 1, 2, 3 from their associated -BAM. (PST, ...) - - -AllStringsTagged = -- - - - - - - - - - - - - -If set to 1, .tlk tokens are always resolved regardless of the token -flag in dialog.tlk. Normally only BG2 has token flags (0), all other -games have this option set to 1. - -HasDPLAYER = -- - - - - - - - - - -If set to 1, then NPCs will get a default player script (DPLAYER2) set -when they join the party. PST has no such feature. - -HasPickSound = -- - - - - - - - - - - -If set to 1, items have a pick up sound resource reference instead of a -description icon. PST has this option. (Mutually exclusive with the -HasDescIcon option). - -HasDescIcon = -- - - - - - - - - - - -If set to 1, items have a description icon, instead of a pick up sound. -BG2 has this option. (Mutually exclusive with the HasPickSound option). - -HasEXPTABLE = -- - - - - - - - - - - -If set to 1, then an exptable.2da file is responsible of storing quest -based experience awards. If the option doesn't exist, then the engine -will use xplist.2da table for a similar feature. AddXP2da and AddXPVar -scripting actions use this option to determine which .2da file to use. -XPList is bg2 specific, while exptable is an iwd2 feature. - -SoundFolders = -- - - - - - - - - - - -If set to 1, then there are separate directories for each player -character soundset. IWD2 specific. - -HasSongList = -- - - - - - - - - - - -If set to 1, then the music files are listed in a songlist.2da file. -Otherwise the music files are listed in a music.2da file. Original -BG1 and PST doesn't have either of these files (the list is hardcoded -into the engine), GemRB supplies a music.2da file for them. - -UpperButtonText = -- - - - - - - - - - - - - -Set to 1 if button labels should be converted to upper-case (e.g. BG2) - - -LowerLabelText = -- - - - - - - - - - - - -Set to 1 if label text should be converted to lower-case. - -HasPartyINI = -- - - - - - - - - - - -If set to 1, then there is a party.ini file describing pre-generated -parties. Normally only IWD2 has this option set. - -HasBeastsINI = -- - - - - - - - - - - -Whether original game data contains beasts.ini and quests.ini files -with descriptions of monsters and quests (PST only). - -ForceStereo = -- - - - - - - - - - - -If set to 1, all acm files will be player as if they are stereo. -Some early .ACM files (PST, IWD1) were encoded with a faulty channel -number, this option overrides the channel number. - -TeamMovement = -- - - - - - - - - - - -If set to 1, the team always moves to the protagonist (first player). -This option is 1 for original PST. - -OneByteAnimationID = -- - - - - - - - - - - - - - -If set to 1, then only the lower byte of the animation ID will be used -to index the avatar.2da table. The upper byte is responsible for various -displaying properties (clown colour, transparency). This option is 1 for -original PST. /warning/ Some other unrelated, but PST specific, features -are also controlled by this flag. One such example is the avatar icon -size in the saved games. If set to 1, then the avatar portrait won't be -shrunk further. Otherwise the saved portrait bmp's will be shrunk 2:1. - -AutomapINI = -- - - - - - - - - - -If set to 1, automap entries will be done PST style. - -SmallFog = -- - - - - - - - - - - -Whether fog-of-war maintained in Map::ExploredBitmap is aligned with -map boundary (SmallFog=1, like in PST) or the fog is half a tile -larger in each of four cardinal directions (SmallFog=0, e.g. in BG2) - -ReverseDoor = -- - - - - - - - - - - -If set to 1, doors will have a reversed open/closed state. PST quirk. - -ProtagonistTalks = -- - - - - - - - - - - - - -If set to 1, only protagonist speaks with stranger for the whole party (PST). - -HasKaputz = -- - - - - - - - - - -If set to 1, then death variables will be in a separate context. -This is PST specific. - -IWDMapDimensions = -- - - - - - - - - - - - - -If set to 1, then the minimap dimensions are using the IWD specific ratio. - -IWD2ScriptName = -- - - - - - - - - - - - -If set to 1, then areas always override the scripting name of the creature. -Normally there is an area flag for this. - -DialogueScrolls = -- - - - - - - - - - - - - -If set to 1, dialogue window behaves as in PS:T - i.e. talk between -Nameless One and others is appended into the window as it comes. If set to -0 (default) each new pair of NPC's talk and Nameless One's replies is -written from the start of the page, like in BG2. - -MaximumAbility = 25|40 -- - - - - - - - - - - - -Determines the maximum value of character abilities. Setting it to absurd -values might cause problems. Its value should be 40 for IWD2, 25 for all -other games. - -StrrefSaveGame = 0|1 -- - - - - - - - - - - -Determines whether the GameScript action SaveGame uses the int0 paramater -to lookup a strref, or to look in savegame.2da for the save game name. - -ReverseToHit = 0|1 -- - - - - - - - - - -Determines whether higher armor class is better (iwd2) or worse (the rest). - -RedrawTile = 0|1 -- - - - - - - - - -Force redraw of some overlay tiles?? - -CheckAbilities = 0|1 -- - - - - - - - - - - -Determines if character abilities should matter in item usability checks. - -SpellBookIconHack = 0|1 -- - - - - - - - - - - - -Enables the spell book icon name hack needed for ToB. - -DeathOnZeroStat = 0|1 -- - - - - - - - - - - -Determines whether characters should die if any of their primary stats -reaches zero. - -BreakableWeapons = 0|1 -- - - - - - - - - - - - -Determines if weapons can randomly break when used (1% chance in bg1). - -SelectiveMagicRes = 0|1 -- - - - - - - - - - - - -Determines whether the magic resistance applies to all effects, even the -beneficial ones. - -HasHideInShadows = 0|1 -- - - - - - - - - - - - -Enable this if the characters also have the IE_HIDEINSHADOWS stat besides -IE_STEALTH. - -ProperBackstab = 0|1 -- - - - - - - - - - - -Determines how many checks the backstabbing code does before treating an -attack as a backstab. - -HasSpecificDamageBonus = 0|1 -- - - - - - - - - - - - - - - -Determines if the game supports specific damage bonus like for example +10% -extra cold damage. - -StealIsAttack = 0|1 -- - - - - - - - - - -Determines whether a detected stealing attempt causes the shopkeep to turn hostile. - -CutsceneAreascripts = 0|1 -- - - - - - - - - - -Determines whether area scripts should run during cutscenes or not. diff --git a/project/jni/application/gemrb/gemrb/includes/logging.h b/project/jni/application/gemrb/gemrb/includes/logging.h deleted file mode 100644 index b9939551c..000000000 --- a/project/jni/application/gemrb/gemrb/includes/logging.h +++ /dev/null @@ -1,119 +0,0 @@ -/* GemRB - Infinity Engine Emulator - * Copyright (C) 2003 The GemRB Project - * - * This program 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. - * - * 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ - -/** - * @file logging.h - * Logging definitions. - * @author The GemRB Project - */ - - -#ifndef LOGGING_H -#define LOGGING_H - -#include "exports.h" - -#ifdef ANDROID -# include -# include "android_log_printf.h" -#endif - -#ifdef WIN32 -# define ADV_TEXT -# include -extern GEM_EXPORT HANDLE hConsole; -# define textcolor(i) SetConsoleTextAttribute(hConsole, i) -# ifndef __MINGW32__ -# define printf cprintf //broken in mingw !! -# endif -#else //WIN32 -# ifndef ANDROID -# include -# endif -# include -# include -# define textcolor(i) i -#endif //WIN32 - -#ifdef NOCOLOR -# define DEFAULT printf("%s",""); -# define BLACK printf("%s",""); -# define RED printf("%s",""); -# define GREEN printf("%s",""); -# define BROWN printf("%s",""); -# define BLUE printf("%s",""); -# define MAGENTA printf("%s",""); -# define CYAN printf("%s",""); -# define WHITE printf("%s",""); -# define LIGHT_RED printf("%s",""); -# define LIGHT_GREEN printf("%s",""); -# define YELLOW printf("%s",""); -# define LIGHT_BLUE printf("%s",""); -# define LIGHT_MAGENTA printf("%s",""); -# define LIGHT_CYAN printf("%s",""); -# define LIGHT_WHITE printf("%s",""); -#else -# ifdef WIN32 -# define BLACK 0 -# define RED FOREGROUND_RED -# define GREEN FOREGROUND_GREEN -# define BROWN FOREGROUND_GREEN | FOREGROUND_RED -# define BLUE FOREGROUND_BLUE -# define MAGENTA FOREGROUND_RED | FOREGROUND_BLUE -# define CYAN FOREGROUND_BLUE | FOREGROUND_GREEN -# define WHITE FOREGROUND_BLUE | FOREGROUND_GREEN | FOREGROUND_RED -# define LIGHT_RED (RED | FOREGROUND_INTENSITY) -# define LIGHT_GREEN (GREEN | FOREGROUND_INTENSITY) -# define YELLOW (GREEN | RED | FOREGROUND_INTENSITY) -# define LIGHT_BLUE (BLUE | FOREGROUND_INTENSITY) -# define LIGHT_MAGENTA (MAGENTA | FOREGROUND_INTENSITY) -# define LIGHT_CYAN (CYAN | FOREGROUND_INTENSITY) -# define LIGHT_WHITE (WHITE | FOREGROUND_INTENSITY) -# define DEFAULT WHITE -# else //WIN32 -# define DEFAULT printf("\033[0m"); -# define BLACK printf("\033[0m\033[30;40m"); -# define RED printf("\033[0m\033[31;40m"); -# define GREEN printf("\033[0m\033[32;40m"); -# define BROWN printf("\033[0m\033[33;40m"); -# define BLUE printf("\033[0m\033[34;40m"); -# define MAGENTA printf("\033[0m\033[35;40m"); -# define CYAN printf("\033[0m\033[36;40m"); -# define WHITE printf("\033[0m\033[37;40m"); -# define LIGHT_RED printf("\033[1m\033[31;40m"); -# define LIGHT_GREEN printf("\033[1m\033[32;40m"); -# define YELLOW printf("\033[1m\033[33;40m"); -# define LIGHT_BLUE printf("\033[1m\033[34;40m"); -# define LIGHT_MAGENTA printf("\033[1m\033[35;40m"); -# define LIGHT_CYAN printf("\033[1m\033[36;40m"); -# define LIGHT_WHITE printf("\033[1m\033[37;40m"); -# endif //WIN32 -#endif - -#ifndef ANDROID -# define printBracket(status, color) textcolor(WHITE); printf("["); textcolor(color); printf("%s", status); textcolor(WHITE); printf("]") -# define printStatus(status, color) printBracket(status, color); printf("\n") -# define printMessage(owner, message, color) printBracket(owner, LIGHT_WHITE); printf(": "); textcolor(color); printf("%s", message) -#else -# define printf android_log_printf -# define printBracket(status, color) -# define printStatus(status, color) __android_log_print(ANDROID_LOG_INFO, "GemRB", "[%s]", status) -# define printMessage(owner, message, color) __android_log_print(ANDROID_LOG_INFO, "GemRB", "%s: %s", owner, message) -#endif - -#endif diff --git a/project/jni/application/gemrb/gemrb/plugins-prepare.sh b/project/jni/application/gemrb/gemrb/plugins-prepare.sh deleted file mode 100644 index ea3c18ed4..000000000 --- a/project/jni/application/gemrb/gemrb/plugins-prepare.sh +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -# GemRB - Infinity Engine Emulator -# Copyright (C) 2003 The GemRB Project -# -# This program 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. -# -# 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# -# -# link all plugins to the plugin dir, so gemrb can run from the build dir -dir=$1 -if test -z "$dir"; then - cd `dirname $0`/plugins -else - cd "$dir" -fi || return 1 - -if test -d 2DAImporter/.libs; then - ln -sf */.libs/*.so . -else - # cmake; expect to be in the build dir since it is arbitrary - if test -z "$dir"; then - echo missing dir parameter - pass the path to the build dir - exit 1 - fi && - cd gemrb/plugins && - ln -sf */*.so . -fi || return 2 diff --git a/project/jni/application/gemrb/gemrb/templates/cpp_template b/project/jni/application/gemrb/gemrb/templates/cpp_template deleted file mode 100644 index 6afef5d4e..000000000 --- a/project/jni/application/gemrb/gemrb/templates/cpp_template +++ /dev/null @@ -1,16 +0,0 @@ -/*************************************************************************** - |FILENAME| - description - ------------------- - begin : |DATE| - copyright : (C) |YEAR| by |AUTHOR| - email : |EMAIL| - ***************************************************************************/ - -/*************************************************************************** - * * - * This program 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. * - * * - ***************************************************************************/ diff --git a/project/jni/application/gemrb/gemrb/templates/header_template b/project/jni/application/gemrb/gemrb/templates/header_template deleted file mode 100644 index 6afef5d4e..000000000 --- a/project/jni/application/gemrb/gemrb/templates/header_template +++ /dev/null @@ -1,16 +0,0 @@ -/*************************************************************************** - |FILENAME| - description - ------------------- - begin : |DATE| - copyright : (C) |YEAR| by |AUTHOR| - email : |EMAIL| - ***************************************************************************/ - -/*************************************************************************** - * * - * This program 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. * - * * - ***************************************************************************/ diff --git a/project/jni/application/src b/project/jni/application/src index 59d41f41e..d83877510 120000 --- a/project/jni/application/src +++ b/project/jni/application/src @@ -1 +1 @@ -fheroes2 \ No newline at end of file +gemrb \ No newline at end of file