DDraceNetwork Docs
popups.cpp File Reference
#include <base/color.h>
#include <engine/console.h>
#include <engine/graphics.h>
#include <engine/input.h>
#include <engine/keys.h>
#include <engine/shared/config.h>
#include <engine/storage.h>
#include <engine/textrender.h>
#include <limits>
#include <game/client/ui_scrollregion.h>
#include <game/editor/mapitems/image.h>
#include <game/editor/mapitems/sound.h>
#include "editor.h"
#include "editor_actions.h"
Include dependency graph for popups.cpp:

Functions

static int EntitiesListdirCallback (const char *pName, int IsDir, int StorageType, void *pUser)
 

Variables

static const auto && gs_ModifyIndexDeleted
 
static int g_SelectImageSelected = -100
 
static int g_SelectImageCurrent = -100
 
static int g_SelectSoundSelected = -100
 
static int g_SelectSoundCurrent = -100
 
static int s_GametileOpSelected = -1
 
static const char * s_apGametileOpButtonNames []
 
static int s_AutoMapConfigSelected = -100
 
static int s_AutoMapConfigCurrent = -100
 

Function Documentation

◆ EntitiesListdirCallback()

static int EntitiesListdirCallback ( const char *  pName,
int  IsDir,
int  StorageType,
void *  pUser 
)
static

Variable Documentation

◆ g_SelectImageCurrent

int g_SelectImageCurrent = -100
static

◆ g_SelectImageSelected

int g_SelectImageSelected = -100
static

◆ g_SelectSoundCurrent

int g_SelectSoundCurrent = -100
static

◆ g_SelectSoundSelected

int g_SelectSoundSelected = -100
static

◆ gs_ModifyIndexDeleted

const auto&& gs_ModifyIndexDeleted
static
Initial value:
= [](int DeletedIndex) {
return [DeletedIndex](int *pIndex) {
if(*pIndex == DeletedIndex)
*pIndex = -1;
else if(*pIndex > DeletedIndex)
*pIndex = *pIndex - 1;
};
}

◆ s_apGametileOpButtonNames

const char* s_apGametileOpButtonNames[]
static
Initial value:
= {
"Air",
"Hookable",
"Death",
"Unhookable",
"Hookthrough",
"Freeze",
"Unfreeze",
"Deep Freeze",
"Deep Unfreeze",
"Blue Check-Tele",
"Red Check-Tele",
"Live Freeze",
"Live Unfreeze",
}

◆ s_AutoMapConfigCurrent

int s_AutoMapConfigCurrent = -100
static

◆ s_AutoMapConfigSelected

int s_AutoMapConfigSelected = -100
static

◆ s_GametileOpSelected

int s_GametileOpSelected = -1
static