Difference between revisions of "User:Mddass"
Jump to navigation
Jump to search
m (→Crash 2 Return/Error Codes) |
(→Crash 2 Return/Error Codes) |
||
Line 2: | Line 2: | ||
== Crash 2 Return/Error Codes == | == Crash 2 Return/Error Codes == | ||
− | Engine assumes codes range from <code>0xFFFFFF01</code> to <code>0xFFFFFFFF</code>. A special return/error code, <code>0</code>, is used in certain GOOL interpretation functions (event, state change, animation change) to indicate that the function failed and that interpretation should continue. | + | Engine assumes codes range from <code>0xFFFFFF01</code> to <code>0xFFFFFFFF</code>. A special return/error code, <code>0</code>, is used in certain GOOL interpretation functions (event, state change, animation change) to indicate that the function failed and/or that interpretation should continue. |
{| border="1" | {| border="1" | ||
!Code | !Code |
Revision as of 02:29, 8 December 2019
testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttest
Crash 2 Return/Error Codes
Engine assumes codes range from 0xFFFFFF01
to 0xFFFFFFFF
. A special return/error code, 0
, is used in certain GOOL interpretation functions (event, state change, animation change) to indicate that the function failed and/or that interpretation should continue.
Code | Meaning | Additional Notes |
---|---|---|
0xFFFFFF01 (-0xFF) | No error. | |
0xFFFFFF02 (-0xFE) | Error finding specified file. | "File" includes entries and disc files. |
0xFFFFFFE5 (-0x1B) | The specified object state is invalid. | For example, when an object's subtype corresponds to state 255 (invalid). |
0xFFFFFFE6 (-0x1A) | Event failed? GOOL interpreter failed? | |
0xFFFFFFE7 (-0x19) | GOOL stack frame update unsuccessful. | |
0xFFFFFFE8 (-0x18) | Object linked list remove unsuccessful. | |
0xFFFFFFEE (-0x12) | Chunk load failed. | Wrong magic, invalid page pointer, etc. |
0xFFFFFFF0 (-0x10) | Unknown. | Returned by FUN_80012ed0 and FUN_80013084. Chunk load success? |
0xFFFFFFF1 (-0xF) | Out of memory. | |
0xFFFFFFF2 (-0xE) | Object is malformed.
Texture load success. |
Returned on state change if object status b-flag 0x10000000 is set or if state is 255 (invalid), etc. |
0xFFFFFFF6 (-0xA) | Tried to find null entry. | GetEntry was trying to find "NONE!". |