I dont hook reset anymore because I got the same results with it and without it. I just recreate stuff when the pDevice changes.
sooo ac1d and seal.. ur tips on xhair still didnt help. I still d/c when i turn it on... can u post the full code that u use (even though i think my codes right).
idk y this happens..
so endscene is manditory?
i was just putting globals in directx.h and "after globals" in directx.cpp and then the other thing under if(Menu.mopt) w/e.
can u help me with endscene? isearched google and im having trouble...
I r d3d nub.
Well theres your problem :P
You can hook either Endscene or Preset.
Preset is in gellins base already, So thats hooked and i suggest you should use that.
Put it all of my code at the top of base.cpp.
Then after the font is created in the RenderFrame(), Just create the xhair.
CAFlames (07-10-2010)
CAFlames (07-10-2010)
ac1d thank you so much it worked! I was able to make xhair! Now onto circle + FPS...
EDIT: Circle,, FPS and drawbox d/c me... i put the
D3DXCreateLine(pDevice,&pLine);
DrawCircle(125,105,15,255,0xffffffff);
together.. we r suppose to do that right?
if not, where do we put D3DXCreateLine(pDevice,&pLine); ?
i put it under the same spot as xhair...
FPS d/cs me to... actually i get an error for it but codernever fixed it... and i d/c.
i also d/c for box.... lol.
What should i do? I mainly want circle. You dont need to hlep me with FPS and box.