3 Commits (a52b497ccbb5ee6945cf1f2c471d3c55dbaaa197)

Author SHA1 Message Date
Nico de Poel ab880f9cfb Added a custom marshaler to decode screen texts received from Quake, which uses single-byte characters and a non-standard character set. Fixes string conversion errors and a fatal exception whenever the "ö" character is printed in the Zerstörer mod. 5 years ago
Nico de Poel 78f42d9c9a Return result of directory creation, so that the game may handle creation errors 5 years ago
Nico de Poel 754812d63e Split all of the callback modules' native interop boilerplate code off into separate partial class files, to keep the actual logic code clean and easy to read. 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 3b4382954a Some renaming and reorganization 5 years ago
Nico de Poel 276d66434e Moved time registration to the main UniQuake class 5 years ago
Nico de Poel fa50659490 Use custom exceptions to stop control flow in the Quake engine on Error and Quit, and shut down the engine. Doesn't work quite as intended yet (Quit will terminate the entire Unity application for some reason, instead of just Quake) but it's a step in the right direction. 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 d268e8794a Declare callback delegates as using Cdecl calling convention, so it's consistent with the rest of the code and also consistent across all platforms. 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