Crossfire Server, Branches 1.12
R18729
|
Macros | |
#define | SAVE_ERROR_CLOSE -6 |
#define | SAVE_ERROR_NO_PATH -4 |
#define | SAVE_ERROR_NOT_IN_MEMORY -10 |
#define | SAVE_ERROR_OK 0 |
#define | SAVE_ERROR_PLAYER -11 |
#define | SAVE_ERROR_RCREATION -1 |
#define | SAVE_ERROR_RRENAME -7 |
#define | SAVE_ERROR_UCREATION -2 |
#define | SAVE_ERROR_URENAME -5 |
#define | SAVE_ERROR_WRITE -3 |
Those values are returned by save_map(), save_object() and save_objects().
Values under -10 are returned by swap_map() only.
#define SAVE_ERROR_CLOSE -6 |
#define SAVE_ERROR_NO_PATH -4 |
#define SAVE_ERROR_NOT_IN_MEMORY -10 |
#define SAVE_ERROR_OK 0 |
No error.
Definition at line 164 of file map.h.
Referenced by save_map(), save_player(), and swap_map().
#define SAVE_ERROR_PLAYER -11 |
Player on map to save.
Definition at line 173 of file map.h.
Referenced by command_reset(), and swap_map().
#define SAVE_ERROR_RCREATION -1 |
Couldn't create the regular save file.
Definition at line 165 of file map.h.
Referenced by save_map().
#define SAVE_ERROR_RRENAME -7 |
Couldn't rename regular temporary file.
Definition at line 171 of file map.h.
Referenced by save_map().
#define SAVE_ERROR_UCREATION -2 |
Couldn't create the file for unique objects.
Definition at line 166 of file map.h.
Referenced by save_map().
#define SAVE_ERROR_URENAME -5 |
Couldn't rename unique temporary file.
Definition at line 169 of file map.h.
Referenced by save_map().