Create an account

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
quake 2 code review

there is nice article about quake 2 code

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.

frostwyrm333 Wrote:Bad :

Portability is sacrificed, the game module must be recompiled for the target platform with specific linker parameters.

Another problem is that the native code is not sandboxed, and can do whatever it wants with the host machine. This means that code-based mods can't just be thrown into a .pk3, transferred over the network and loaded at will by the engine without causing serious security concerns client side.
[Image: vN3NkMA]
(Idea stolen from Mr. Bougo. Hehehehe)

But the good thing is that you can just stick the mod in a package manager and add q2e as dependency.
(08-10-2012, 02:37 AM)Mr. Bougo Wrote: Cloud is the new Web 2.0. It makes no damn sense to me.

the portability wouldn't be an issue, you could just recompile it multiple times for different platforms like xonotic binary and package it

Experience showed many Q2 mods stayed binary-only and windows-only because the authors didn't release source.

Can't happen that way with QuakeC Tongue
BRLOGENSHFEGLE (core dumped)

The Bot Orchestra is back! | Xoylent Easter Egg | 5bots1piano
My music on Google Play and SoundCloud

Possibly Related Threads...
Thread Author Replies Views Last Post
  Made a Quake Champions frag video check it out zeroql 4 3,241 08-31-2017, 09:06 PM
Last Post: SilenceKiller
  [NEED HELP] Quake maps in Xonotic Kriss7475 2 3,840 04-01-2017, 07:08 AM
Last Post: Kriss7475
  Quake 2 Railwarz instaGib CTF!!! Games 7 nights a week! bind key +hook for lazer hook MajorLazer 7 8,252 09-19-2016, 05:34 PM
Last Post: MajorLazer
  Quake Champions!? A NEW QUAKE!? VertX 32 18,720 08-05-2016, 01:16 PM
Last Post: kojn^
  Which Quake 3 Client should I use? Beagle 6 6,053 07-18-2016, 02:19 PM
Last Post: Beagle
Star Serenity recreated in Quake 3 engine Greaserpirate 3 9,956 06-11-2016, 11:50 PM
Last Post: BuddyFriendGuy
  We can pretty much declare Quake Live dead Lee_Stricklin 21 16,869 05-31-2016, 03:36 AM
Last Post: Smilecythe
Photo A History of Quake (Xonotic Briefly Mentioned) qwertyuiop924 1 3,032 05-30-2016, 06:49 PM
Last Post: BuddyFriendGuy
  Craziest Quake Setup SPLAT 6 7,541 06-23-2015, 05:13 PM
Last Post: Lee_Stricklin
  Article about Quake on a lan party frostwyrm333 1 4,505 02-23-2015, 04:44 AM
Last Post: Halogene

Forum Jump:

Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-