Last change
on this file since 3156 was
2644,
checked in by patrick, 20 years ago
|
orxonox/trunk: BUGFIX - Player spawn problem resolved (I hope…)
|
File size:
1.2 KB
|
Rev | Line | |
---|
[2551] | 1 | |
---|
| 2 | |
---|
| 3 | /* |
---|
| 4 | orxonox - the future of 3D-vertical-scrollers |
---|
| 5 | |
---|
| 6 | Copyright (C) 2004 orx |
---|
| 7 | |
---|
| 8 | This program is free software; you can redistribute it and/or modify |
---|
| 9 | it under the terms of the GNU General Public License as published by |
---|
| 10 | the Free Software Foundation; either version 2, or (at your option) |
---|
| 11 | any later version. |
---|
| 12 | |
---|
| 13 | ### File Specific: |
---|
| 14 | main-programmer: Patrick Boenzli |
---|
| 15 | co-programmer: Christian Meyer |
---|
| 16 | */ |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | /*! |
---|
| 20 | \file error.h |
---|
| 21 | \brief A compendium of Error codes used in the program |
---|
| 22 | */ |
---|
| 23 | |
---|
[2636] | 24 | // this are the two undefined error nr. Don't use them ... |
---|
[2551] | 25 | #define ERROR -1 |
---|
[2644] | 26 | #define NERROR 0 |
---|
[2636] | 27 | |
---|
| 28 | /*! |
---|
| 29 | \brief Error Definitions: |
---|
| 30 | |
---|
| 31 | Error Classes: |
---|
| 32 | 0xx application framework codes |
---|
| 33 | 1xx graphics codes |
---|
| 34 | 2xx file/FS codes |
---|
| 35 | 3xx network codes |
---|
| 36 | 4xx general codes |
---|
| 37 | |
---|
| 38 | Error Specifier 1: |
---|
| 39 | x0x action finsished as desired |
---|
| 40 | x1x initialisation error |
---|
| 41 | x2x execution error |
---|
| 42 | x3x uninitialisation error |
---|
| 43 | |
---|
| 44 | Error Specifier 2: |
---|
| 45 | xx0 no further informations |
---|
| 46 | xx1 only a warning - feel free to ignore, the program will proceed |
---|
| 47 | xx2 this could lead unexpected behaviour |
---|
| 48 | xx3 this is a fatal error - you are invited to quit the program - panic! |
---|
| 49 | */ |
---|
| 50 | |
---|
| 51 | typedef struct |
---|
| 52 | { |
---|
| 53 | int code; |
---|
| 54 | char* message; |
---|
| 55 | char* location; |
---|
| 56 | } Error; |
---|
Note: See
TracBrowser
for help on using the repository browser.