7 Commits (e321160e45e6bf3b8ad6fc238d0dd3aa4d62ce4d)

Author SHA1 Message Date
Nico de Poel 46cafd0c63 Renamed "target" pointers to "context" to fit in line with the rest of the callbacks refactoring 5 years ago
Nico de Poel 2a4ec90ff1 Reworked setup of native-to-managed callbacks. The "target" pointer is no longer a part of the callbacks struct, instead this is now supplied and stored as an opaque "context" pointer along with a pointer to the callbacks struct. These are provided through separate SetCallbacks functions before initializing the UniQuake native plugin. This cleans up several functions and requires less use of global pointers, while also making it easier to see how things fit together and how to add new modules in the future. 5 years ago
Nico de Poel e416868650 Modifications to make UniQuake work with a new engine DLL based on QuakeSpasm: 5 years ago
Nico de Poel cb8bb17c63 Replaced native file I/O functions with managed versions implemented in Unity. Worked first try! :D 5 years ago
Nico de Poel 14f7b78f1d Removed delegate handles list as that wasn't necessary for anything at all 5 years ago
Nico de Poel 0fafaf32ad Callback target pointer is now contained within the struct passed to native. Organized yet more code to move generic GCHandle stuff into the base class. 5 years ago
Nico de Poel c2f4d854e0 Moved all of the callbacks interop code into a separate class with a base class for some common abstractions. Allows for better organization of callbacks as the list grows. 5 years ago