10-03-2011, 05:26 PM
there is nice article about quake 2 code
http://fabiensanglard.net/quake2/index.php
this paragraph is interesting:
Modding: gamex86.dll
This part of the project was not very exciting to read but abandoning Quake-C for compiled module provide two good things and one very bad.
Bad :
Portability is sacrificed, the game module must be recompiled for the target platform with specific linker parameters.
Good :
Speed: Quake1's Quake-C was interpreted code but Quake2's dynamic library module gamex86.dll is native.
Freedom: Modders have access to EVERYTHING, not only what was exposed through Quake-C.
Trivia : Ironically id software switched back to a virtual machine (QVM) for game, IA and modding in Quake3.
http://fabiensanglard.net/quake2/index.php
this paragraph is interesting:
Modding: gamex86.dll
This part of the project was not very exciting to read but abandoning Quake-C for compiled module provide two good things and one very bad.
Bad :
Portability is sacrificed, the game module must be recompiled for the target platform with specific linker parameters.
Good :
Speed: Quake1's Quake-C was interpreted code but Quake2's dynamic library module gamex86.dll is native.
Freedom: Modders have access to EVERYTHING, not only what was exposed through Quake-C.
Trivia : Ironically id software switched back to a virtual machine (QVM) for game, IA and modding in Quake3.