Skip to content

Commit

Permalink
Remove obsolete comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrocaster committed Oct 21, 2015
1 parent 690bc7d commit 8bfcc3b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 47 deletions.
5 changes: 2 additions & 3 deletions src/xrEngine/Render.h
Original file line number Diff line number Diff line change
Expand Up @@ -362,12 +362,11 @@ class ENGINE_API IRender

// Constructor/destructor
virtual ~IRender() {}

protected:
virtual void ScreenshotImpl(ScreenshotMode mode, LPCSTR name, CMemoryWriter* memory_writer) = 0;
// XXX: remove comment
/// ===================== NEW MEMBERS ===================================

public:
// XXX: used? check and delete if not used
virtual void Copy(IRender &_in) = 0;

// Gamma correction functions
Expand Down
1 change: 0 additions & 1 deletion src/xrEngine/Stats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,6 @@ void CStats::Show()
font.OnRender();
}
#endif
// XXX: call FrameStart in pureFrame::OnFrame()
}

void CStats::OnDeviceCreate()
Expand Down
43 changes: 0 additions & 43 deletions src/xrEngine/Stats.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,49 +16,6 @@ class ENGINE_API CStats : public pureRender
CGameFont *statsFont;
float fMem_calls;
u32 dwMem_calls;
//CStatTimer EngineTotal;
//float fShedulerLoad;
//CStatTimer Scheduler;
//CStatTimer Sound; // total time taken by sound subsystem (accurate only in single-threaded mode)
//CStatTimer Input; // total time taken by input subsystem (accurate only in single-threaded mode)
//struct ParticleStatistics
//{
// u32 Starting;
// u32 Active;
// u32 Destroying;
//} Particles;
//struct {
// CStatTimer Collision; // collision
// CStatTimer Core; // integrate
// CStatTimer MovCollision; // movement+collision
//} Physics;
//struct {
// CStatTimer Think; // thinking
// CStatTimer Range; // query: range
// CStatTimer Path; // query: path
// CStatTimer Node; // query: node
// CStatTimer Vis; // visibility detection - total
// CStatTimer VisQuery; // visibility detection - portal traversal and frustum culling
// CStatTimer VisRayTests; // visibility detection - ray casting
//} AI;
// IRender::Stats
//CStatTimer clRAY; // total: ray-testing
//CStatTimer clBOX; // total: box query
//CStatTimer clFRUSTUM; // total: frustum query
//struct {
// CStatTimer ClientSend;
// CStatTimer ClientRecv;
// CStatTimer ServerUpdate;
// CStatTimer ClientCompressor;
// CStatTimer ServerCompressor;
//} Net;
//struct {
// CStatTimer Test0; // debug counter
// CStatTimer Test1; // debug counter
// CStatTimer Test2; // debug counter
// CStatTimer Test3; // debug counter
//} Dbg;

shared_str eval_line_1;
shared_str eval_line_2;
shared_str eval_line_3;
Expand Down

0 comments on commit 8bfcc3b

Please sign in to comment.