Last change
on this file since 4982 was
4836,
checked in by bensch, 19 years ago
|
orxonox/trunk: renamed all the \param → @param and so on in Doxygen tags.
Thanks a lot to the kDevelop team. this took since the last commit
|
File size:
1.3 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 |
---|
[4836] | 21 | * A compendium of Error codes used in the program |
---|
[2551] | 22 | */ |
---|
| 23 | |
---|
[3224] | 24 | |
---|
| 25 | #ifndef _ERROR_H |
---|
| 26 | #define _ERROR_H |
---|
| 27 | |
---|
| 28 | // these are the two undefined error nr. Don't use them ... |
---|
[3223] | 29 | #define oERROR -1 |
---|
[2636] | 30 | |
---|
[3223] | 31 | #define oNOERROR 0 |
---|
| 32 | |
---|
[2636] | 33 | /*! |
---|
[4836] | 34 | * Error Definitions: |
---|
[2636] | 35 | |
---|
| 36 | Error Classes: |
---|
| 37 | 0xx application framework codes |
---|
| 38 | 1xx graphics codes |
---|
| 39 | 2xx file/FS codes |
---|
| 40 | 3xx network codes |
---|
| 41 | 4xx general codes |
---|
| 42 | |
---|
| 43 | Error Specifier 1: |
---|
| 44 | x0x action finsished as desired |
---|
| 45 | x1x initialisation error |
---|
| 46 | x2x execution error |
---|
| 47 | x3x uninitialisation error |
---|
| 48 | |
---|
| 49 | Error Specifier 2: |
---|
| 50 | xx0 no further informations |
---|
| 51 | xx1 only a warning - feel free to ignore, the program will proceed |
---|
| 52 | xx2 this could lead unexpected behaviour |
---|
| 53 | xx3 this is a fatal error - you are invited to quit the program - panic! |
---|
| 54 | */ |
---|
| 55 | |
---|
| 56 | typedef struct |
---|
| 57 | { |
---|
| 58 | int code; |
---|
| 59 | char* message; |
---|
| 60 | char* location; |
---|
[3222] | 61 | } ErrorMessage; |
---|
[3224] | 62 | |
---|
| 63 | #endif /* _ERROR_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.