Advertisement

Getting a .rc file in my map ed.

Started by May 27, 2001 10:02 AM
1 comment, last by tryforfulluse 23 years, 8 months ago
Hello, i am in the process of just starting my first 3d project (not game though) and i have decided i want to make a scroller - sort of game, but using OGL so i can have 3d capabilities, such as particle engines. I am going to have the game be tilebased, but I havent seen much on placing tiles under OGL, only Ddraw. Well, the problem that I have never known how to do, is how to implement a resource .rc file. I am using Visual C++, and i went to insert .rc file, and made it a menu, and i included resource.h, but i get nothing on my little OGl window. Any help I would greatly appreciate any help. Thankyou. also, if any of you can, show me some links for 2d tilebased OGL apps, and/or making map editors. Thankyou very much.
bad!
Did you also specify that the window should use that menu?

IIRC you can specify a menu in either/both of the WINDOWCLASS and the CreateWindow call. Of course you can always use LoadMenu() to load it manually.

(And think about whether the resource-id is a string or an integer, in one of the cases you must wrap it in a MAKEINTRESOURCE() macro. Don''t remember which though, but the docs will tell you).
Advertisement
k, thankyou. I will look up some functions to load it in. thanks again.
bad!

This topic is closed to new replies.

Advertisement