_________ __                 __
        /   _____//  |_____________ _/  |______     ____  __ __  ______
        \_____  \\   __\_  __ \__  \\   __\__  \   / ___\|  |  \/  ___/
        /        \|  |  |  | \// __ \|  |  / __ \_/ /_/  >  |  /\___ \
       /_______  /|__|  |__|  (____  /__| (____  /\___  /|____//____  >
               \/                  \/          \//_____/            \/
    ______________________                           ______________________
                          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
NumberDesc Struct Reference

#include <script.h>

Public Attributes

ENumber e
 
union {
   unsigned int   Index
 
   int   Val
 index of the lua function. More...
 
   NumberDesc *   N
 Direct value. More...
 
   BinOp   binOp
 Other number. More...
 
   struct {
      UnitDesc *   Unit
 
      int   Index
 Which unit. More...
 
      EnumVariable   Component
 Which index variable. More...
 
      int   Loc
 Which component. More...
 
   }   UnitStat
 For binary operand. More...
 
   struct {
      CUnitType **   Type
 
      int   Index
 Which unit type. More...
 
      EnumVariable   Component
 Which index variable. More...
 
      int   Loc
 Which component. More...
 
   }   TypeStat
 
   struct {
      StringDesc *   String
 
      CFont *   Font
 String. More...
 
   }   VideoTextLength
 
   struct {
      StringDesc *   String
 
      char   C
 String. More...
 
   }   StringFind
 
   struct {
      NumberDesc *   Cond
 
      NumberDesc *   BTrue
 Branch condition. More...
 
      NumberDesc *   BFalse
 Number if Cond is true. More...
 
   }   NumIf
 
   struct {
      NumberDesc *   Player
 
      StringDesc *   DataType
 Number of player. More...
 
      StringDesc *   ResType
 Player's data. More...
 
   }   PlayerData
 conditional string. More...
 
D
 which number. More...
 

Detailed Description

Number description.

Member Data Documentation

NumberDesc* NumberDesc::BFalse

Number if Cond is true.

BinOp NumberDesc::binOp

Other number.

NumberDesc* NumberDesc::BTrue

Branch condition.

char NumberDesc::C

String.

EnumVariable NumberDesc::Component

Which index variable.

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

which number.

StringDesc* NumberDesc::DataType

Number of player.

ENumber NumberDesc::e
CFont* NumberDesc::Font

String.

unsigned int NumberDesc::Index
int NumberDesc::Index

Which unit.

Which unit type.

int NumberDesc::Loc

Which component.

NumberDesc* NumberDesc::N

Direct value.

struct { ... } NumberDesc::NumIf
NumberDesc* NumberDesc::Player
struct { ... } NumberDesc::PlayerData

conditional string.

StringDesc* NumberDesc::ResType

Player's data.

StringDesc* NumberDesc::String
struct { ... } NumberDesc::StringFind
CUnitType** NumberDesc::Type
struct { ... } NumberDesc::TypeStat
UnitDesc* NumberDesc::Unit
struct { ... } NumberDesc::UnitStat

For binary operand.

int NumberDesc::Val

index of the lua function.

struct { ... } NumberDesc::VideoTextLength

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.