Advertisement
Benji23245

Untitled

Mar 7th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. // Sonic+Miscellaneous.cpp : Defines the exported functions for the DLL application.
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "SADXModLoader.h"
  6. #include "functions.h"
  7.  
  8. bool just_untransformed = false;
  9. bool gauge2_lv1 = false;
  10. bool gauge2_lv2 = false;
  11. bool gauge2_full = false;
  12. bool sonic_gameplay = false;
  13.  
  14. int Gauge;
  15. int Gauge2;
  16.  
  17. ////////////////////// HUD //////////////////////////////////////////////////////////////////////////
  18.  
  19.  
  20. enum HUDTextureIndex
  21. {
  22. HUD_gauge, HUD_rings_lives, HUD_score_timer,
  23. count
  24. };
  25.  
  26.  
  27. NJS_TEXNAME HUD_texname[8];
  28. NJS_TEXLIST HUD_texlist = { arrayptrandlength(HUD_texname) }; //MY OWN HUD STUFF
  29.  
  30.  
  31. static NJS_TEXANIM Indicator_TEXANIM[HUDTextureIndex::count] = {
  32. // w, h, cx, cy, u1, v1, u2, v2, texid, attr
  33. // u2 and v2 must be 0xFF
  34. { 24, 16, 12, -16, 0, 0, 0xFF, 0xFF, HUD_gauge, 0 },
  35. { 24, 24, 24, 12, 0, 0, 0xFF, 0xFF, HUD_rings_lives, 0 },
  36. { 24, 24, 0, 12, 0, 0, 0xFF, 0xFF, HUD_score_timer, 0 }
  37. };
  38. ///////////////////////////////////////////////////////////////////////////////////////////////////////////
  39.  
  40. extern "C"
  41. {
  42. __declspec(dllexport) ModInfo SADXModInfo = { ModLoaderVer };
  43.  
  44.  
  45. etc etc
  46.  
  47.  
  48. etc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement