_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          T H E   W A R   B E G I N S
                   Stratagus - A free fantasy real time strategy game engine

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Attributes | List of all members
StringDesc Struct Reference

#include <script.h>

Public Attributes

EString e
 
union {
   unsigned int   Index
 
   char *   Val
 index of the lua function. More...
 
   struct {
      StringDesc **   Strings
 
      int   n
 Array of operands. More...
 
   }   Concat
 Direct value. More...
 
   NumberDesc *   Number
 for Concat two string. More...
 
   StringDesc *   String
 Number. More...
 
   UnitDesc *   Unit
 String. More...
 
   struct {
      NumberDesc *   Cond
 
      StringDesc *   BTrue
 Branch condition. More...
 
      StringDesc *   BFalse
 String if Cond is true. More...
 
   }   If
 Unit desciption. More...
 
   struct {
      StringDesc *   String
 
      NumberDesc *   Begin
 Original string. More...
 
      NumberDesc *   End
 Begin of result string. More...
 
   }   SubString
 conditional string. More...
 
   struct {
      StringDesc *   String
 
      NumberDesc *   Line
 Original string. More...
 
      NumberDesc *   MaxLen
 Line number. More...
 
      CFont *   Font
 Max length of line. More...
 
   }   Line
 For extract a substring. More...
 
   ES_GameInfo   GameInfoType
 For specific line. More...
 
   NumberDesc *   PlayerName
 
D
 which number. More...
 

Detailed Description

String description.

Member Data Documentation

NumberDesc* StringDesc::Begin

Original string.

StringDesc* StringDesc::BFalse

String if Cond is true.

StringDesc* StringDesc::BTrue

Branch condition.

struct { ... } StringDesc::Concat

Direct value.

NumberDesc* StringDesc::Cond
union { ... } StringDesc::D

which number.

EString StringDesc::e
NumberDesc* StringDesc::End

Begin of result string.

CFont* StringDesc::Font

Max length of line.

ES_GameInfo StringDesc::GameInfoType

For specific line.

struct { ... } StringDesc::If

Unit desciption.

unsigned int StringDesc::Index
NumberDesc* StringDesc::Line

Original string.

struct { ... } StringDesc::Line

For extract a substring.

NumberDesc* StringDesc::MaxLen

Line number.

int StringDesc::n

Array of operands.

NumberDesc* StringDesc::Number

for Concat two string.

NumberDesc* StringDesc::PlayerName
StringDesc* StringDesc::String

Number.

StringDesc** StringDesc::Strings
struct { ... } StringDesc::SubString

conditional string.

UnitDesc* StringDesc::Unit

String.

char* StringDesc::Val

index of the lua function.


The documentation for this struct was generated from the following file:
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.
All trademarks and copyrights on this page are owned by their respective owners.