Notes: (I didn't get to all of this yet) "virtual public" and two copies from the base class Why doesn't the compiler just figure this out? OpenGL Debugging Messages Makefile revision so we don't have to always build everything Files: baseclass.cpp: Implementations for loaded_object, and block_object, simple_cube (we don't have this yet) Classes are defined in game.h blocks.cpp and blocks.h: Blockish wall things projectiles.h and projectiles.cpp: ice balls, but we might want more Git: Hosted on isoptera You all have write access, so be careful Visual Studio: Did I get to this? I'd like the repo to build all the time, even if it makes checkouts huge A small addition: simple_cube and texturing it A note about walls: Except for Minecraft, they're not usually a stack of cubes You can set a texture to repeat, and there are lots of other options too I'll skip Google this time: https://registry.khronos.org/OpenGL-Refpages/gl4/html/glTexParameter.xhtml Texturing, round 2: Let's make two sanely-textured cubes! Version 1: Same picture on all 6 sides Version 2: Stack of pictures We'll skip loading from .obj for both of these. Why? To show how texture coordinates work, basically But also: .obj isn't really needed if we just have a cube anyway These will be intended to be used as base classes Non-cubic scaling: Let's add it! We'll set GL_REPEAT for the texture, and scale texture coordinates too Alright, let's test the it by adding something fun! Turrets