diff --git a/Makefile b/Makefile index 70691e6..714543e 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ SRC := $(patsubst %.cpp,$(SRCDIR)/%.cpp, rwbase.cpp clump.cpp\ geometry.cpp plugins.cpp ps2.cpp\ ogl.cpp) OBJ := $(patsubst $(SRCDIR)/%.cpp,$(BUILDDIR)/%.o,$(SRC)) +OBJ := $(patsubst $(SRCDIR)/%.cpp,$(BUILDDIR)/%.d,$(SRC)) CFLAGS=-Wall -Wextra -g #-Wno-parentheses #-Wconversion librw.a: $(OBJ) diff --git a/src/rwogl.h b/src/rwogl.h index 265e9fc..60c8e3c 100644 --- a/src/rwogl.h +++ b/src/rwogl.h @@ -3,7 +3,9 @@ namespace Rw { struct OGLAttrib { // arguments to glVertexAttribPointer (should use OpenGL types here) + // Vertex = 0, TexCoord, Normal, Color, Weight, Bone Index uint32 index; + // float = 0, byte, ubyte, short, ushort int32 type; bool32 normalized; int32 size;