Function names

git-svn-id: https://svn.eduke32.com/eduke32@6831 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-04-12 21:03:47 +00:00
parent e5bcc1cf81
commit 19c43b84b3
31 changed files with 375 additions and 394 deletions

View file

@ -17,7 +17,7 @@ int32_t num_usermaphacks;
static int16_t maphacklightcnt=0;
static int16_t maphacklight[PR_MAXLIGHTS];
void delete_maphack_lights()
void engineClearLightsFromMHK()
{
int32_t i;
for (i=0; i<maphacklightcnt; i++)
@ -30,13 +30,13 @@ void delete_maphack_lights()
maphacklightcnt = 0;
}
#else
void delete_maphack_lights() {}
void engineClearLightsFromMHK() {}
#endif
//
// loadmaphack
//
int32_t loadmaphack(const char *filename)
int32_t engineLoadMHK(const char *filename)
{
enum
{
@ -85,7 +85,7 @@ int32_t loadmaphack(const char *filename)
#ifdef POLYMER
int32_t toomanylights = 0;
delete_maphack_lights();
engineClearLightsFromMHK();
#endif
if (filename)