IPB

Welcome Guest ( Log In | Register )


 
Reply to this topicStart new topic
> Data Types, Basic data types that are used in the game
SeekSomethingNew
post Oct 15 2007, 05:34 PM
Post #1

Stealth Tank
Group Icon

Group: Members
Posts: 1,025
Joined: 31-October 06
Member No.: 208
Alliance: GDI
Favorite game: Tiberian Sun



Introduction:

This topic is to explain to you in a easy and understandable way what data types the game uses for its
tags (keys).


Integer:

A integer value is a solid number like 1, or 7 and does not use decimal points. according to pd, the game uses the range (non signed)
−32768 to 32767, where as signed integers use -2147483648 to 2147483647.

For more information on Integers, visit the wikipedia page at: http://en.wikipedia.org/wiki/Integer


Bool/Boolean:

A bool/boolean is a simple yes/no, 1/0 or true/false.

For more information on Bool/Boolean, visit the wikipedia page at: http://en.wikipedia.org/wiki/Boolean_datatype


Float Points:

Floating Points are values like 0.04 or 10.8.

For more information on Floating Points, visit the wikipedia page at: http://en.wikipedia.org/wiki/Floating_point


Strings:

Strings are text, normally pointing to a defined object or a hardcoded option.


RGB & HSV:

RGB
stands for Red, Green and Blue, and written down like 255,000,056, with the first representing Red and so on.

HSV stands for Hue, Saturation and Brightness and is written down the same as RGB.

For more information on RGB and HSV, visit there wikipedia pages at: http://en.wikipedia.org/wiki/RGB & http://en.wikipedia.org/wiki/HSV_color_space


CLSID/GUID:

CLSID's/GUID (Globally Unique Identifier) is a identifier for resources in a programs code.

For more information on CLSID's, visit there wikipedia pages at: http://en.wikipedia.org/wiki/CLSID

This post has been edited by TSHyper: Nov 3 2007, 12:24 AM


--------------------
Go to the top of the page
 
: | +Quote Post
Infinity
post Dec 28 2009, 12:37 AM
Post #2


Minigunner
Group Icon

Group: Members
Posts: 18
Joined: 13-March 07
Member No.: 903



QUOTE (TSHyper @ Oct 15 2007, 11:34 AM) *
Integer:

A integer value is a solid number like 1, or 7 and does not use decimal points. according to pd, the game uses the range (non signed)
−32768 to 32767, where as signed integers use -2147483648 to [b]2147483647.

I know this thread is old as hell but something is off with this. A signed integer set has negative, and positive, values both. That's easy to understand but the -32768 to 32767 is a signed short int set (or a short for those familiar with C#)... this led to some confusion on definition. I thought you knew an unsigned set used 0 and positive values. -_o


--------------------
Freedom Studios | The Editing Source
Beowulf's Rules: RA2 - 95% | BWR: YR - 65% | BWR: TS - 40% | YR: The Generals - 50% | Red Alert X - 60%
Go to the top of the page
 
: | +Quote Post
SeekSomethingNew
post Jan 6 2010, 08:41 PM
Post #3

Stealth Tank
Group Icon

Group: Members
Posts: 1,025
Joined: 31-October 06
Member No.: 208
Alliance: GDI
Favorite game: Tiberian Sun



This is old info Creagor gave me, but to be honest, this sub forum has lost is need...


--------------------
Go to the top of the page
 
: | +Quote Post
Infinity
post Jan 7 2010, 08:12 PM
Post #4


Minigunner
Group Icon

Group: Members
Posts: 18
Joined: 13-March 07
Member No.: 903



Yeah, you're probably right but it just jumped out at me.


--------------------
Freedom Studios | The Editing Source
Beowulf's Rules: RA2 - 95% | BWR: YR - 65% | BWR: TS - 40% | YR: The Generals - 50% | Red Alert X - 60%
Go to the top of the page
 
: | +Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 28th March 2024 - 01:55 PM


XGhozt.com