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

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

◆ Begin

NumberDesc* StringDesc::Begin

Original string.

◆ BFalse

StringDesc* StringDesc::BFalse

String if Cond is true.

◆ BTrue

StringDesc* StringDesc::BTrue

Branch condition.

◆ Concat

struct { ... } StringDesc::Concat

Direct value.

◆ Cond

NumberDesc* StringDesc::Cond

◆ D

union { ... } StringDesc::D

which number.

◆ e

EString StringDesc::e

◆ End

NumberDesc* StringDesc::End

Begin of result string.

◆ Font

CFont* StringDesc::Font

Max length of line.

◆ GameInfoType

ES_GameInfo StringDesc::GameInfoType

For specific line.

◆ If

struct { ... } StringDesc::If

Unit desciption.

◆ Index

unsigned int StringDesc::Index

◆ Line [1/2]

NumberDesc* StringDesc::Line

Original string.

◆ Line [2/2]

struct { ... } StringDesc::Line

For extract a substring.

◆ MaxLen

NumberDesc* StringDesc::MaxLen

Line number.

◆ n

int StringDesc::n

Array of operands.

◆ Number

NumberDesc* StringDesc::Number

for Concat two string.

◆ PlayerName

NumberDesc* StringDesc::PlayerName

◆ String

StringDesc* StringDesc::String

Number.

◆ Strings

StringDesc** StringDesc::Strings

◆ SubString

struct { ... } StringDesc::SubString

conditional string.

◆ Unit

UnitDesc* StringDesc::Unit

String.

◆ Val

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.