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
+8
View File
@@ -123,6 +123,12 @@ public:
virtual bool ModelTrace( modelTrace_t &trace, qhandle_t entityHandle, const idVec3 &start, const idVec3 &end, const float radius ) const;
virtual bool Trace( modelTrace_t &trace, const idVec3 &start, const idVec3 &end, const float radius, bool skipDynamic = true, bool skipPlayer = false ) const;
virtual bool FastWorldTrace( modelTrace_t &trace, const idVec3 &start, const idVec3 &end ) const;
virtual void ClearWorldDecals();
virtual int AddWorldDecal( const renderWorldDecal_t &decal );
virtual void RemoveWorldDecal( int decalIndex );
virtual int NumWorldDecals() const;
virtual const renderWorldDecal_t *GetWorldDecal( int decalIndex ) const;
virtual void SubmitWorldDecalsToScreenSpace() const;
virtual void DebugClearLines( int time );
virtual void DebugLine( const idVec4 &color, const idVec3 &start, const idVec3 &end, const int lifetime = 0, const bool depthTest = false );
@@ -160,6 +166,7 @@ public:
int numInterAreaPortals;
idList<idRenderModel *> localModels;
idList<renderWorldDecal_t> worldDecals;
idList<idRenderEntityLocal*> entityDefs;
idList<idRenderLightLocal*> lightDefs;
@@ -182,6 +189,7 @@ public:
void TouchWorldModels( void );
void AddWorldModelEntities();
void ClearPortalStates();
void LoadWorldDecals();
virtual bool InitFromMap( const char *mapName );
//--------------------------