Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Sonic+Miscellaneous.cpp : Defines the exported functions for the DLL application.
- //
- #include "stdafx.h"
- #include "SADXModLoader.h"
- #include "functions.h"
- bool just_untransformed = false;
- bool gauge2_lv1 = false;
- bool gauge2_lv2 = false;
- bool gauge2_full = false;
- bool sonic_gameplay = false;
- int Gauge;
- int Gauge2;
- ////////////////////// HUD //////////////////////////////////////////////////////////////////////////
- enum HUDTextureIndex
- {
- HUD_gauge, HUD_rings_lives, HUD_score_timer,
- count
- };
- NJS_TEXNAME HUD_texname[8];
- NJS_TEXLIST HUD_texlist = { arrayptrandlength(HUD_texname) }; //MY OWN HUD STUFF
- static NJS_TEXANIM Indicator_TEXANIM[HUDTextureIndex::count] = {
- // w, h, cx, cy, u1, v1, u2, v2, texid, attr
- // u2 and v2 must be 0xFF
- { 24, 16, 12, -16, 0, 0, 0xFF, 0xFF, HUD_gauge, 0 },
- { 24, 24, 24, 12, 0, 0, 0xFF, 0xFF, HUD_rings_lives, 0 },
- { 24, 24, 0, 12, 0, 0, 0xFF, 0xFF, HUD_score_timer, 0 }
- };
- ///////////////////////////////////////////////////////////////////////////////////////////////////////////
- extern "C"
- {
- __declspec(dllexport) ModInfo SADXModInfo = { ModLoaderVer };
- etc etc
- etc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement