mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-05-04 22:33:51 +00:00
feat: sync with Whoa implementation
This commit is contained in:
parent
12ab8f7721
commit
6928bf3f0c
46 changed files with 2980 additions and 441 deletions
|
|
@ -167,6 +167,48 @@
|
|||
|
||||
#endif
|
||||
|
||||
#define STORM_ERROR_ASSERTION 0x85100000
|
||||
#define STORM_ERROR_BAD_ARGUMENT 0x85100065
|
||||
#define STORM_ERROR_GAME_ALREADY_STARTED 0x85100066
|
||||
#define STORM_ERROR_GAME_FULL 0x85100067
|
||||
#define STORM_ERROR_GAME_NOT_FOUND 0x85100068
|
||||
#define STORM_ERROR_GAME_TERMINATED 0x85100069
|
||||
#define STORM_ERROR_INVALID_PLAYER 0x8510006A
|
||||
#define STORM_ERROR_NO_MESSAGES_WAITING 0x8510006B
|
||||
#define STORM_ERROR_NOT_ARCHIVE 0x8510006C
|
||||
#define STORM_ERROR_NOT_ENOUGH_ARGUMENTS 0x8510006D
|
||||
#define STORM_ERROR_NOT_IMPLEMENTED 0x8510006E
|
||||
#define STORM_ERROR_NOT_IN_ARCHIVE 0x8510006F
|
||||
#define STORM_ERROR_NOT_IN_GAME 0x85100070
|
||||
#define STORM_ERROR_NOT_INITIALIZED 0x85100071
|
||||
#define STORM_ERROR_NOT_PLAYING 0x85100072
|
||||
#define STORM_ERROR_NOT_REGISTERED 0x85100073
|
||||
#define STORM_ERROR_REQUIRES_CODEC 0x85100074
|
||||
#define STORM_ERROR_REQUIRES_DDRAW 0x85100075
|
||||
#define STORM_ERROR_REQUIRES_DSOUND 0x85100076
|
||||
#define STORM_ERROR_REQUIRES_UPGRADE 0x85100077
|
||||
#define STORM_ERROR_STILL_ACTIVE 0x85100078
|
||||
#define STORM_ERROR_VERSION_MISMATCH 0x85100079
|
||||
#define STORM_ERROR_MEMORY_ALREADY_FREED 0x8510007A
|
||||
#define STORM_ERROR_MEMORY_CORRUPT 0x8510007B
|
||||
#define STORM_ERROR_MEMORY_INVALID_BLOCK 0x8510007C
|
||||
#define STORM_ERROR_MEMORY_MANAGER_INACTIVE 0x8510007D
|
||||
#define STORM_ERROR_MEMORY_NEVER_RELEASED 0x8510007E
|
||||
#define STORM_ERROR_HANDLE_NEVER_RELEASED 0x8510007F
|
||||
#define STORM_ERROR_ACCESS_OUT_OF_BOUNDS 0x85100080
|
||||
#define STORM_ERROR_MEMORY_NULL_POINTER 0x85100081
|
||||
#define STORM_ERROR_CDKEY_MISMATCH 0x85100082
|
||||
#define STORM_ERROR_DATA_FILE_CORRUPT 0x85100083
|
||||
#define STORM_ERROR_FATAL_EXCEPTION 0x85100084
|
||||
#define STORM_ERROR_GAME_TYPE_UNAVAILABLE 0x85100085
|
||||
#define STORM_ERROR_FATAL_CONDITION 0x85100086
|
||||
|
||||
#define SERR_LINECODE_FUNCTION -1
|
||||
#define SERR_LINECODE_OBJECT -2
|
||||
#define SERR_LINECODE_HANDLE -3
|
||||
#define SERR_LINECODE_FILE -4
|
||||
#define SERR_LINECODE_EXCEPTION -5 // exception handler
|
||||
|
||||
#define STORM_NO_ERROR 0x85100000
|
||||
|
||||
#define STORM_ERROR(id) (STORM_NO_ERROR | (id & 0xFFFF))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue