quake2 help-Swap_init

Started by
2 comments, last by anekin 22 years, 3 months ago
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.
------------------------------I prefer to be the worst of the best than the best of the worst------------------------------
Advertisement
it checks if the system Quake is running on is low-endian or big-endian, and sets some variables to determine this later on..
Thanks for the help, anonymous. It was really helpful
------------------------------I prefer to be the worst of the best than the best of the worst------------------------------
little-endian you mean

This topic is closed to new replies.

Advertisement