Added screensapce decal system and stamp placement system in Radiant.

This commit is contained in:
Justin Marshall
2026-05-22 07:54:36 -07:00
parent e8ea0567b0
commit f2e8b0b45e
13 changed files with 962 additions and 32 deletions
+13
View File
@@ -26,6 +26,11 @@ If you have questions concerning this license or the applicable additional terms
===========================================================================
*/
#ifndef __EDITORMAP_H__
#define __EDITORMAP_H__
#include "../../renderer/RenderWorld.h"
extern char currentmap[1024];
// head/tail of doubly linked lists
@@ -52,6 +57,12 @@ void Map_LoadFile (const char *filename);
bool Map_SaveFile (const char *filename, bool use_region, bool autosave = false);
void Map_New (void);
void Map_BuildBrushData(void);
void Map_LoadDecals(const char *filename);
void Map_SaveDecals(const char *filename);
int Map_AddDecal(const renderWorldDecal_t& decal);
void Map_DeleteSelectedDecal(void);
int Map_SelectDecalByRay(const idVec3& origin, const idVec3& dir);
int Map_GetSelectedDecal(void);
void Map_RegionOff (void);
void Map_RegionXY (void);
@@ -65,3 +76,5 @@ void Map_ImportBuffer (char* buf, bool renameEntities = true);
int Map_GetUniqueEntityID(const char *prefix, const char *eclass);
idMapPrimitive *BrushToMapPrimitive( const brush_t *b, const idVec3 &origin );
#endif