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

_StringDesc_ Struct Reference

#include <script.h>

List of all members.


Public Attributes

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

Detailed Description

String description.

Member Data Documentation

unsigned int _StringDesc_::Index

index of the lua function.

Array of operands.

struct { ... } _StringDesc_::Concat

Direct value.

for Concat two string.

Branch condition.

String if Cond is true.

struct { ... } _StringDesc_::If

Unit desciption.

Original string.

Begin of result string.

struct { ... } _StringDesc_::SubString

conditional string.

Original string.

Max lenght of line.

struct { ... } _StringDesc_::Line

For extract a substring.

union { ... } _StringDesc_::D

which number.


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