Jump to content
RealModScene
Sign in to follow this  
ianboy1987

Xbox 360 Hello World C++ Help

Recommended Posts

Iv been Trying to learn to code for the 360, there isnt much info online about it.
i started https://dev360.fandom.com/wiki/Hello_World thats all well and good compiled fine and runs on my RGloader.
i have edited it down removed what i thort i not need and added + changed stuff. for some reason i cant get it working right 
im sure its very basic stuff for some of the users here, the start button never brings any think up. i did think its a syntax error but i cant seem to fix it atall
here the part thats giving me troubles

VOID __cdecl main()
{
    bool done =FALSE;
    init();
    g_console.Format( "PRESS A TO START\n" );
    while(!done)
    {
      ATG::GAMEPAD* pGamepad = ATG::Input::GetMergedInput();// get input from controlers
       if( pGamepad->wPressedButtons  & XINPUT_GAMEPAD_A)
     {
       g_console.Format( "*** WARNING ***\n" );
       g_console.Format("Press Start to continue or B to exit\n");
       ATG::GAMEPAD* pGamepad = ATG::Input::GetMergedInput();
        if( pGamepad->wPressedButtons  & XINPUT_GAMEPAD_START)
        {
           g_console.Create( "game:\\Media\\Fonts\\Arial_16.xpr", 0xff000000, 0xffffffff );
          g_console.Format( "not working\n" );
        }
     }
      if( pGamepad->wPressedButtons  & XINPUT_GAMEPAD_B)
    {
        done = true;
     }
    }
    
}

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...