Domain: fabiensanglard.net
Stories and comments across the archive that link to fabiensanglard.net.
Comments · 9
-
Blackbook on Doom's game engine
Was just released: http://fabiensanglard.net/gebb...
-
Re:duke nuken
http://fabiensanglard.net/quakeSource/index.php and http://fabiensanglard.net/quake2/index.php as hinted by the summary.
-
Re:duke nuken
http://fabiensanglard.net/quakeSource/index.php and http://fabiensanglard.net/quake2/index.php as hinted by the summary.
-
Re:What's the point of this system?
From http://fd.fabiensanglard.net/doom3/pdfs/johnc-plan_1999.pdf "The interpreted code has two prime benefits: portability and security." He also discusses the VM in http://fd.fabiensanglard.net/doom3/pdfs/johnc-plan_1998.pdf "With significant chunks of code now running on the client side, if we stuck with binary dll's then the less popular system would find that they could not connect to the new servers because the mode code hadn't been ported" The documents are interesting, if you get the some time for reading I recommend you check them out.
-
Re:What's the point of this system?
From http://fd.fabiensanglard.net/doom3/pdfs/johnc-plan_1999.pdf "The interpreted code has two prime benefits: portability and security." He also discusses the VM in http://fd.fabiensanglard.net/doom3/pdfs/johnc-plan_1998.pdf "With significant chunks of code now running on the client side, if we stuck with binary dll's then the less popular system would find that they could not connect to the new servers because the mode code hadn't been ported" The documents are interesting, if you get the some time for reading I recommend you check them out.
-
Re:What's the point of this system?
-
Re:Hint
The third striking thing where he he discovered "circular buffers" but calls them "Array index cycling." Are programmers really that clueless that they don't realize MOD N can be optimized with AND N-1 ??
http://fabiensanglard.net/quakeSource/quakeSourceNetWork.php
arrayIndex = (oldArrayIndex+1) % 64 ;
arrayIndex = (oldArrayIndex+1) & UPDATE_MASK;Which came from:
Network Model (Part 3 of 5)
The array cycle with the famous binary mask trick I mentioned in Quake World Network (Some elegant things). -
I read...
-
I read...
... the article about porting the game and I found it interesting. It would be better, though, to be open source and would be able to compare the changes in the code, just for educational purposes. Recently I came across with a rather interesting article describing the process of porting the open source code of Doom to iPhone.