Subversion Repositories Games.Descent

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /*
  2.  * This file is part of the DXX-Rebirth project <https://www.dxx-rebirth.com/>.
  3.  * It is copyright by its individual contributors, as recorded in the
  4.  * project's Git history.  See COPYING.txt at the top level for license
  5.  * terms and a link to the Git history.
  6.  */
  7. #ifndef _CUSTOM_H
  8. #define _CUSTOM_H
  9.  
  10. #include "pstypes.h"
  11. #include "piggy.h"
  12.  
  13. #ifdef __cplusplus
  14. #include "dxxsconf.h"
  15. #include <array>
  16.  
  17. /* from piggy.c */
  18. #define DBM_FLAG_LARGE  128             // Flags added onto the flags struct in b
  19. #define DBM_FLAG_ABM            64
  20.  
  21. extern std::array<int, MAX_BITMAP_FILES> GameBitmapOffset;
  22.  
  23. void load_custom_data(const d_fname &level_file);
  24.  
  25. void custom_close();
  26.  
  27. #endif
  28.  
  29. #endif
  30.