Advertisement
Benji23245

Untitled

Mar 4th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 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. }
  18.  
  19. __declspec(dllexport) void OnInput()
  20. {
  21. Sonic_OnInput();
  22. }
  23.  
  24. __declspec(dllexport) void OnFrame()
  25. {
  26. Sonic_OnFrame();
  27. }
  28.  
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement