-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// MapAndreas 1.2 | ||
// 11.6.2014 | ||
// Originally created by Kalcor, updated by Mauzen | ||
#define MAP_ANDREAS_MODE_NONE 0 | ||
#define MAP_ANDREAS_MODE_MINIMAL 1 | ||
#define MAP_ANDREAS_MODE_MEDIUM 2 // currently unused | ||
#define MAP_ANDREAS_MODE_FULL 3 | ||
#define MAP_ANDREAS_MODE_NOBUFFER 4 | ||
#define MAP_ANDREAS_ERROR_SUCCESS 0 | ||
#define MAP_ANDREAS_ERROR_FAILURE 1 | ||
#define MAP_ANDREAS_ERROR_MEMORY 2 | ||
#define MAP_ANDREAS_ERROR_DATA_FILES 3 | ||
#define MAP_ANDREAS_ERROR_INVALID_AREA 4 | ||
native MapAndreas_Init(mode, name[]="", len=sizeof(name)); | ||
native MapAndreas_FindZ_For2DCoord(Float:X, Float:Y, &Float:Z); | ||
native MapAndreas_FindAverageZ(Float:X, Float:Y, &Float:Z); | ||
native MapAndreas_Unload(); | ||
native MapAndreas_SetZ_For2DCoord(Float:X, Float:Y, Float:Z); | ||
native MapAndreas_SaveCurrentHMap(name[]); |
Binary file not shown.
Binary file not shown.