Skip to content

Commit 8bfcc3b

Browse files
author
nitrocaster
committed
Remove obsolete comments.
1 parent 690bc7d commit 8bfcc3b

File tree

3 files changed

+2
-47
lines changed

3 files changed

+2
-47
lines changed

src/xrEngine/Render.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -362,12 +362,11 @@ class ENGINE_API IRender
362362

363363
// Constructor/destructor
364364
virtual ~IRender() {}
365+
365366
protected:
366367
virtual void ScreenshotImpl(ScreenshotMode mode, LPCSTR name, CMemoryWriter* memory_writer) = 0;
367-
// XXX: remove comment
368-
/// ===================== NEW MEMBERS ===================================
368+
369369
public:
370-
// XXX: used? check and delete if not used
371370
virtual void Copy(IRender &_in) = 0;
372371

373372
// Gamma correction functions

src/xrEngine/Stats.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ void CStats::Show()
212212
font.OnRender();
213213
}
214214
#endif
215-
// XXX: call FrameStart in pureFrame::OnFrame()
216215
}
217216

218217
void CStats::OnDeviceCreate()

src/xrEngine/Stats.h

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -16,49 +16,6 @@ class ENGINE_API CStats : public pureRender
1616
CGameFont *statsFont;
1717
float fMem_calls;
1818
u32 dwMem_calls;
19-
//CStatTimer EngineTotal;
20-
//float fShedulerLoad;
21-
//CStatTimer Scheduler;
22-
//CStatTimer Sound; // total time taken by sound subsystem (accurate only in single-threaded mode)
23-
//CStatTimer Input; // total time taken by input subsystem (accurate only in single-threaded mode)
24-
//struct ParticleStatistics
25-
//{
26-
// u32 Starting;
27-
// u32 Active;
28-
// u32 Destroying;
29-
//} Particles;
30-
//struct {
31-
// CStatTimer Collision; // collision
32-
// CStatTimer Core; // integrate
33-
// CStatTimer MovCollision; // movement+collision
34-
//} Physics;
35-
//struct {
36-
// CStatTimer Think; // thinking
37-
// CStatTimer Range; // query: range
38-
// CStatTimer Path; // query: path
39-
// CStatTimer Node; // query: node
40-
// CStatTimer Vis; // visibility detection - total
41-
// CStatTimer VisQuery; // visibility detection - portal traversal and frustum culling
42-
// CStatTimer VisRayTests; // visibility detection - ray casting
43-
//} AI;
44-
// IRender::Stats
45-
//CStatTimer clRAY; // total: ray-testing
46-
//CStatTimer clBOX; // total: box query
47-
//CStatTimer clFRUSTUM; // total: frustum query
48-
//struct {
49-
// CStatTimer ClientSend;
50-
// CStatTimer ClientRecv;
51-
// CStatTimer ServerUpdate;
52-
// CStatTimer ClientCompressor;
53-
// CStatTimer ServerCompressor;
54-
//} Net;
55-
//struct {
56-
// CStatTimer Test0; // debug counter
57-
// CStatTimer Test1; // debug counter
58-
// CStatTimer Test2; // debug counter
59-
// CStatTimer Test3; // debug counter
60-
//} Dbg;
61-
6219
shared_str eval_line_1;
6320
shared_str eval_line_2;
6421
shared_str eval_line_3;

0 commit comments

Comments
 (0)