BSTUB.H 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. #ifndef __BSTUB_H
  2. #define __BSTUB_H
  3. extern int gHighlightThreshold;
  4. extern int gStairHeight;
  5. extern int gLBIntensity;
  6. extern int gLBAttenuation;
  7. extern int gLBReflections;
  8. extern int gLBMaxBright;
  9. extern int gLBRampDist;
  10. extern int gPalette;
  11. extern BOOL gBeep;
  12. extern BOOL gOldKeyMapping;
  13. extern BOOL gPanning;
  14. extern char *gBoolNames[2];
  15. extern char *gSpriteNames[1024];
  16. extern char *gWallNames[1024];
  17. extern char *gSectorNames[1024];
  18. extern char *gWaveNames[16];
  19. extern char *gDepthNames[4];
  20. extern char *gCommandNames[256];
  21. extern char *gRespawnNames[4];
  22. extern short grid, gridlock;
  23. extern long zoom;
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27. const char *ExtGetSectorCaption( short nSector );
  28. const char *ExtGetWallCaption( short nWall );
  29. const char *ExtGetSpriteCaption( short nSprite );
  30. void ExtShowSectorData( short nSector );
  31. void ExtShowWallData( short nWall );
  32. void ExtShowSpriteData( short nSprite );
  33. void ExtEditSectorData( short nSector );
  34. void ExtEditWallData( short nWall );
  35. void ExtEditSpriteData( short nSprite );
  36. void ExtLoadMap( char *fname );
  37. void ExtSaveMap( char *fname );
  38. void ExtPreCheckKeys( void );
  39. void ExtCheckKeys( void );
  40. void ExtInit( void );
  41. void ExtUnInit( void );
  42. void ExtAnalyzeSprites( void );
  43. #ifdef __cplusplus
  44. }
  45. #endif
  46. void Wait(long time);
  47. void BeepOkay( void );
  48. void BeepError( void );
  49. void CleanUp( void );
  50. int GetXSector( int nSector );
  51. int GetXWall( int nWall );
  52. int GetXSprite( int nSprite );
  53. void AutoAdjustSprites( void );
  54. #endif