demo_level_config.h 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /* License Notice:
  2. **
  3. ** This program is free software: you can redistribute it and/or modify
  4. ** it under the terms of the GNU General Public License as published by
  5. ** the Free Software Foundation, either version 3 of the License, or
  6. ** (at your option) any later version.
  7. ** This program is distributed in the hope that it will be useful,
  8. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. ** GNU General Public License for more details.
  11. ** You should have received a copy of the GNU General Public License
  12. ** along with this program. If not, see <https://www.gnu.org/licenses/>.
  13. */
  14. /**
  15. * @file demo_level_config.h
  16. * @author TooOld2Rock'nRoll
  17. * @date 2023/12/08
  18. * @remark Last modified in 2023/12/08
  19. * @brief Values to config the ArcadeFighter Demo Level
  20. */
  21. #ifndef _DEMO_LEVEL_CONFIG_H_
  22. #define _DEMO_LEVEL_CONFIG_H_
  23. /*---- Includes ----*/
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27. /*---- Typedefs ----*/
  28. /*---- Enumerations ----*/
  29. /*---- Structures ----*/
  30. /*---- Macros ----*/
  31. #define TILE_COUNT 8
  32. #define LEVEL_WIDTH 1980
  33. #define LEVEL_HEIGHT 1080
  34. #define GROUND_LEVEL 1000
  35. #define PLAYER1_Y_START_POSITION 700
  36. #define PLAYER2_Y_START_POSITION 1280
  37. #define MIN_CAMERA_WINDOW_WIDTH 950
  38. #ifdef __cplusplus
  39. } //extern "C"
  40. #endif
  41. #endif /* _DEMO_LEVEL_CONFIG_H_ */