Advertisement
Benji23245

Untitled

Mar 4th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 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.  
  9. extern "C"
  10. {
  11. __declspec(dllexport) ModInfo SADXModInfo = { ModLoaderVer };
  12.  
  13.  
  14. __declspec(dllexport) void Init(const char *path, const HelperFunctions &helperFunctions)
  15. {
  16. Sonic_Init(path, helperFunctions);
  17. Miscellaneous_Init(path, helperFunctions);
  18. }
  19.  
  20. __declspec(dllexport) void OnInput()
  21. {
  22. Sonic_OnInput();
  23. Miscellaneous_OnInput();
  24. }
  25.  
  26. __declspec(dllexport) void OnFrame()
  27. {
  28. Sonic_OnFrame();
  29. Miscellaneous_OnFrame();
  30. }
  31.  
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement