GOOC - Game Oriented Object C
GOOC - Game Oriented Object C
Table of Contents
Table of Contents
1. Introduction
2. Why Not Lisp?
3. Examples
4. The Parser
5. Lexer Tokens
5.1. Identifiers
5.2. Keywords
5.3. Constants
5.4. Operators
5.5 Separators
5.6. Whitespace
5.7. Directives
6. Integer & Fixed-Point
7. Expressions and Operators
7.1. Assignment Operators
7.2. Arithmetic Operators
7.3. Comparison Operators
7.4. Logical Operators
7.5. Bitwise Shift Operators
7.6. Bitwise Logical Operators
7.7. Address-of Operator
7.8. Array Subscripts
7.9. GOOL Instructions as Expressions
7.10. Field Access Operator
7.11. Conditional Expressions
7.12. Other Operators
7.13. Operator Precedence
8. Statements
8.1. Instruction and Call Statements
8.2. Blocks
8.3. The
if
and
unless
Statements
8.4. The
while
and
until
Statements
8.5. The
do
Statement
8.6. The
break
and
continue
Statements
8.7. The
return
Statement
8.8. The
return_sup
Statement
9. Subroutines
9.1. Defining a Subroutine
9.2. Subroutine Parameters
9.3. Parameter Storage
9.4. Subroutines as Expressions
9.5. Inline Subroutines
9.6. Subroutine Modifiers
10. States
10.1. Defining a State
10.2. The
code
Block
10.3. The
trans
Block
10.4. The
event
Block
10.5. State Change Flags
10.6. The Invalid State
10.7. External Modules
10.8. State Modifiers
11. Spawns
12. Animations
12.1. Vertex (3D) Animations
12.1. Sprite Animations
12.1. Font Animations
12.1. Text Animations
12.1. Fragmented Sprite Animations
13. Defining Your GOOL Object
This manual is incomplete.
14. Event System
License