Archived

This topic is now archived and is closed to further replies.

anekin

quake2 help-Swap_init

Recommended Posts

I''m studying the quake2 source code from all the part and I''m starting from the exe part. I want to know what "Swap_init" is swapping and what for? The same code is used in quake1 source too. I''m interested in knowing what''s the idea behind this functions.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
it checks if the system Quake is running on is low-endian or big-endian, and sets some variables to determine this later on..

Share this post


Link to post
Share on other sites