Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Render The map in MainMenu


PVJsquad
 Share

Recommended Posts

Why would you want to do that? Why not just use a picture of the map on the main menu?

I don't remember much of the source code but if you really want to, you can initialize the DirectX stuff when the main menu loaded, instead of after the connection is created. Make sure to use some kind of picture box(idk, hadn't touch VB6 for years) and init the DirectX onto it. The same way it is done onto picScreen and From there, simply BltMap and use one of the map#.dat

I honestly don't see why you have to do this but that's how you'd go and do it with DirectX7\. I'm sure DirectX8 would be easier if the main menu is drawn using Dx8.

Sincerely,

Rithy
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...