   Question about a DirectX game I'm currently working on
  Hello everyone, this is my first forum post. I couldn't find any board specifically for something like this, so since I'm a beginner to game programming, I thought it would be more appropriate to post here.I'm currently working on taking a previously coded and working simple Star Wars DirectX game, and converting it over to be a similar looking game based on a different subject matter (a turn of the century Japanese police force called the Shinsen Gumi, but I'll spare you the details there).As I said previously, the code for this Star Wars game compiles and runs perfectly on my machine. I took the code for this game, changed around some variable names to suit my version of the game. I also removed some functions from the Star Wars games that don't fit into my game (ie the functions that put the laser blasts from Storm Troopers on the screen, and such). And in fact, to make the transition easier, I changed some of the code, but I left all the original bitmap and midi files referenced in the code, so I wouldn't just be throwing all of my art and sounds in there at one time or anything.As I run the program, I am greeted with a black screen that does in fact play the correct midi file at start up. After I hit "enter" to start the game, I can tell by the change in music that the first level does initiate. Also when I press the space bar to do an attack in the game, the proper sound effect does play. Keep in mind that this game does require 16-bit color to run, and my display settings are set appropriately.I guess my question is, does anyone have any idea who not even something as simple as the title screen wouldn't be displayed? I fully expected to see glitches in other parts of the game, being that I was removing things like the ability for the character to duck and jump, therefore there are going to be useless sprites in files, etc.I've uploaded everything to do with my project, for anyone who would be so great as to take a look at it, here:http://www.mognet.net/shinsengumiMy source code is in the root, and I even uploaded the debug folder which contains the .exe file and all the .bmp and .mid files and such.This game is based on a game engine created by Andre LaMothe, who some of you might be fimiliar with. So that's who wrote all the header files and what not. Keep in mind I am not planning on marketing this game in anyway, I'm simply making it for my own purposes.So as I said, I know this is probably an incredibly vast question, but I would truly appreciate the help of anyone who has time to give it. Thanks!   
  In your CreateBOB routine when loading the bitmap, you should really spit something out if it fails to load. Your Init_IntroScr currently just returns without letting you know if it passed or failed.Even something like "failed on init bob" or something out to a simple log file.Apart from that it does look like you're setting/using your states properly, so it SHOULD work. Again, dump a simple message when loading that title screen BOB to see what's going on.Secondly, be REALLY carefull about even mentioning SW dude. The Lucas lawyers go after everyone to preserve the SW branding. They've taken down full SW websites even when they're 100% fan-based ones that don't charge a penny.So just by saying "It's just for fun." may not cut it. The good thing is that you seem to have migrated most of the code to your ShinsenGumi project.I'm not a lawyer or pretending to offer legal advice, I'm just letting you know what goes on. ;)hth,   