Original Post
I''ve run into a bit of a problem here. Im trying to create a "minimap" for a game. A minimap is simply a small square usually located at the corner of the screen which shows the overall view of the field (for example, in Command and Conquer, a minimap has little dots for where your units are and also dots for where visible enemy units are along with a very simplified top-down view of the map)
I''m creating a simple game and the thing is in 3D, and after finding that using textured quads under Ortho is faster than putting pixels manually, I decided to use a quad and then apply a texture that would represent the minimap itself.
The thing is that the minimap changes (about every second) and I have a method (I have this entire minimap thing encapusulated in a class) that would "refill" the minimap with the more up-to-date data of the field. I heard that I need to use dynamic textures since I need to lock, fill and then unlock again and again.
First, are dynamic textures the way to go here? Secondly, how widely are dynamic textures supported?
One quick question, not really related to DirectX, but when I press the ALT key when running my game, it freezes. Im assuming this is due it trying to access a menu (like when you press ALT+F to access the file menu), how do I disable this? Im sure it''s a simple parameter I need to pass when doing that mess of initializing the window in WinMain but I havent had any luck through searching.