Add UnlockMapIconMod
This commit is contained in:
parent
f096ea56bc
commit
cf44379f9d
|
@ -1 +0,0 @@
|
||||||
Subproject commit 4311f11daaad6a3798d5a069d98e3e4b48315a6e
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
#include "main.h"
|
||||||
|
#include "../cwmods/cwmods.h"
|
||||||
|
|
||||||
|
EXPORT int HandleCheckMapIconVisibility(cube::Creature* player, int a2, int a3) {
|
||||||
|
// 1: visible, 0: origin logic
|
||||||
|
return 1;
|
||||||
|
}
|
|
@ -0,0 +1,26 @@
|
||||||
|
#ifndef __MAIN_H__
|
||||||
|
#define __MAIN_H__
|
||||||
|
|
||||||
|
#include <windows.h>
|
||||||
|
|
||||||
|
/* To use this exported function of dll, include this header
|
||||||
|
* in your project.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifdef BUILD_DLL
|
||||||
|
#define DLL_EXPORT __declspec(dllexport)
|
||||||
|
#else
|
||||||
|
#define DLL_EXPORT __declspec(dllimport)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C"
|
||||||
|
{
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif // __MAIN_H__
|
Loading…
Reference in New Issue