Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- highscores header:
- #ifndef HIGHSCORE_H_
- #define HIGHSCORE_H_
- //int iHighScores[10];
- //void iHighScore_System();
- //{
- //int iHighScores[10];
- //int iScore = 0;
- //char scorestring[]; = "score"
- //while (iscore < 6)
- //DrawString("HighScores: %i %i/n"), (iScore+1), iHighScores[iScore]);
- //// ++iScore;
- // for(int iHighScores = 0; iHighScores < 10; iHighscore++)
- //}
- #endif
- background header file:
- ifndef BACKGROUND_MENU_H
- #define BACKGROUND_MENU_H
- // DECLAN-CORCORAN'S PONG PROGRAM ASSIGNMENT ONE
- //Header for background and menu functions
- #include "pctimer.h"
- #include <string>
- #include <cmath>
- #include <stdio.h>
- #include <crtdbg.h>
- #include <stdlib.h>
- void iBackGround();
- #endif
- padde header:
- #ifndef PADDLE_FUNCTIONS_H_
- #define PADDLE_FUNCTIONS_H_
- // DECLAN-CORCORAN'S PONG PROGRAM ASSIGNMENT ONE
- //Header for paddle functions
- #include "pctimer.h"
- #include <string>
- #include <cmath>
- #include <stdio.h>
- #include <crtdbg.h>
- #include <stdlib.h>
- void iPaddles();
- #endif
- player controls headers:
- #ifndef PLAYER_CONTROLLS_H_
- #define PLAYER_CONTROLLS_H_
- // DECLAN-CORCORAN'S PONG PROGRAM ASSIGNMENT ONE
- //Header for player controls
- #include "pctimer.h"
- #include <string>
- #include <cmath>
- #include <stdio.h>
- #include <crtdbg.h>
- #include <stdlib.h>
- void iPlayer_Controlls();
- #endif
- textures headers:
- #ifndef TEXTURES_H_
- #define TEXTURES_H_
- // DECLAN-CORCORAN'S PONG PROGRAM ASSIGNMENT ONE
- //Header for Textures/imagies
- #include <Windows.h>
- #include "GL_Functions.h"
- #include "pctimer.h"
- #include <string>
- #include <cmath>
- #include <stdio.h>
- #include <crtdbg.h>
- #include <stdlib.h>
- void iTextures()
- {
- int iBackGroundTexture = LoadTexture ("./images/background.png");
- int iBallTexture = LoadTexture ("./images/mball.png");
- int iLeftPaddle = LoadTexture ("./images/paddle_2.png");
- int iRightPaddle = LoadTexture ("./images/paddle_1.png");
- int Menu = LoadTexture ("./images/MENU.png");
- }
- #endif
- and enum header:
- #ifndef ENUM_H_
- #define ENUM_H_
- // DECLAN-CORCORAN'S PONG PROGRAM ASSIGNMENT ONE
- //Header for ball functions
- #include <Windows.h>
- #include "GL_Functions.h"
- #include "pctimer.h"
- #include <string>
- #include <cmath>
- #include <stdio.h>
- #include <crtdbg.h>
- #include <stdlib.h>
- enum GAME_STATE;
- {
- STATE_MAINMENU, // will take user to main menu at start of game or during
- STATE_SINGLEPLAYER, // one player mode vsing AI
- STATE_MULTIPLAYER, // player vs player mode
- STATE_HIGHSCORES, //lists high score
- STATE_INSTRUCTIONS, // opens the options menu
- STATE_QUIT // when user presses escape key program closes
- };
- #endif
- thanks for taking ur time to look at this.
Advertisement
Add Comment
Please, Sign In to add comment