![]() |
[Top] | [Contents] | [Index] | [ ? ] |
Copying Conditions
Introduction
i - Acknowledgments1. LPC basics
ii - Tutorial Setup
iii - History of LPC
iv - Gamedriver/Mudlib
v - Administrative Setup
vi - Writing code
1.1 Basic programming concepts2. Essential LPC and Mudlib
1.1.1 What is programming?1.2 Basic LPC
1.1.2 Compiled/Interpreted code
1.1.3 Programs
1.1.4 Objects
1.1.5 Object makeup
1.2.1 Comments1.3 The preprocessor
1.2.2 Data types
1.2.3 Variable declarations
1.2.4 Function declarations
1.2.5 Statements and Expressions
1.2.5.1 Statements1.2.6 Scope and prototypes
1.2.5.2 Expressions
1.2.5.3 The block statement
1.2.5.4 The ; statement
1.2.7 Operator expressions
1.2.7.1 Miscellaneous operators1.2.8 Prefix allocation
1.2.7.2 Arithmetic operators
1.2.7.3 Boolean operators
1.2.7.4 Conditional (logical) operators
1.2.7.5 Comparative operators
1.2.9 Conditionals
1.2.9.1 The if/else statement1.2.10 Precedence and Order of evalutaion
1.2.9.2 The switch statement
1.2.9.3 The ?: expression
1.2.11 Loop statements
1.2.11.1 The for statement1.2.12 The break and continue statement
1.2.11.2 The while statement
1.2.13 Arrays and Mappings
1.2.13.1 How to declare and use arrays
1.2.13.2 How to declare and use Mappings
1.3.1 The #include statement
1.3.2 The #define statement
1.3.3 The #if, #ifdef, #ifndef, #else and #elseif statements
2.1 Peeking at things to come3. Advanced LPC and Mudlib
2.2 LPC revisited
2.2.1 Function calls2.3 LPC/Mudlib interafce
2.2.1.1 Making object-internal function calls2.2.2 Inheriting object classes
2.2.1.2 Making single object-external function calls
2.2.1.3 Making multiple object-external function calls
2.2.3 Masking functions in runtime, part 1
2.2.4 Type identification
2.2.5 Type qualifiers
2.2.5.1 The static variable qualifier2.2.6 The function data type, part 2
2.2.5.2 The static function qualifier
2.2.5.3 The private function/variable qualifier
2.2.5.4 The nomask function/variable qualifier
2.2.5.5 The public function/variable qualifier
2.2.5.6 The varargs function qualifier
2.2.7 switch/case part 2
2.2.8 catch/throw: Error handling in runtime
2.2.9 Array & Mapping references
2.3.1 Definition of standard and library objects2.4 Some mud commands
2.3.1.1 The base object class, /std/object.c2.3.2 How to obtain object references
2.3.1.2 Standard object classes
2.3.1.3 Standard library objects
2.3.2.1 Object references relative to the current object2.3.3 Object-inherent command handling
2.3.2.2 Creating objects
2.3.2.3 Finding references relative to another object
2.3.2.4 Object references to interactive objects
2.3.2.5 Destroying objects
2.3.4 Alarms: Asynchronous function execution
2.3.5 The inventory and the environment
2.3.6 String functions
2.3.7 Bit functions
2.3.8 Time functions
2.3.9 Array/string conversion
2.3.10 Array functions
2.3.11 Mapping functions
2.3.12 Type conversion
2.3.13 Math functions
2.3.14 File handling
2.3.15 Directory handling
2.3.16 Screen input/output
2.4.1 Compile and load an object into gamedriver memory2.5 The Tracer tool
2.4.2 Compile, load and clone an object to the game
2.4.3 Destroy a cloned object
2.4.4 Update a loaded object
2.5.1 Perform a command in the environment of a player
2.5.2 Call a function in an object
2.5.3 Cat the file associated with an object
2.5.4 Destroy all non-interactive objects in an object
2.5.5 Destruct a specific object
2.5.6 Print information about an object
2.5.7 Ed the file associated with an object
2.5.8 Enter the inventory of an object
2.5.9 Perform a command in another object
2.5.10 More the file associated with an object
2.5.11 Move an object to a destination
2.5.12 Set a tracer variable
2.5.13 Update, load, clone and replace an object
2.5.14 Tail the file associated with an object
3.1 Function data type, part 3LPC Index
3.1.1 The basics of the function type3.2 How to parse player commands
3.1.2 Partial argument lists
3.1.3 Complex function applications
3.3 Masking functions in runtime, part 2
3.4 Writing efficient code
3.4.1 Efficient loops3.5 Traps and pitfalls
3.4.2 Abusing defines
3.6 Mapping/Array security
3.7 Alarm loops
3.8 Internal documentation
Efun/Sfun Index
Lfun/Macro Index
Type Index
Command Index