1
0
forked from 0ad/0ad

Compile fixes and cleanup

This was SVN commit r3088.
This commit is contained in:
prefect 2005-11-03 22:21:44 +00:00
parent 668794e61d
commit 5f5d19cac4
2 changed files with 2 additions and 4 deletions

View File

@ -195,8 +195,6 @@ void HWLightingModelRenderer::UpdateModelData(CModel* model, void* data, u32 upd
if (updateflags & RENDERDATA_UPDATE_VERTICES)
{
CModelDefPtr mdef = model->GetModelDef();
size_t numVertices = mdef->GetNumVertices();
UNUSED2(numVertices);
// build vertices
VertexArrayIterator<CVector3D> Position = hwlmodel->m_Position.GetIterator<CVector3D>();

View File

@ -56,7 +56,7 @@ struct IMessage
#define MESSAGESTRUCT(t) \
struct m##t : public IMessage { \
const char* GetName() const { return #t; } \
Type GetType() const { return Type::Message; } \
Type GetType() const { return IMessage::Message; } \
private: \
const m##t& operator=(const m##t&); \
public:
@ -80,7 +80,7 @@ MESSAGESTRUCT(MergeCommand) };
struct QueryMessage : public IMessage
{
Type GetType() const { return Type::Query; }
Type GetType() const { return IMessage::Query; }
void Post(); // defined in ScenarioEditor.cpp
void* m_Semaphore; // for use by MessagePasser implementations (yay encapsulation)