mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-10 12:01:43 +00:00
Extra bloaty junk to modernise stuff a bit.
https://fte.triptohell.info/moodles/qss/
cvar according to internet hostname has been removed. SDL_net doesn't provide and equivalent of gethostname() and mixing APIs is not a good idea. servers will be called "UNNAMED" if they don't set it themselves. Also removed the inet_addr("127.0.0.1") call and replaced it with SDL_SwapBE32(INADDR_LOOPBACK). defined INADDR_LOOPBACK as 0x7f000001 if not already defined. properly guarded the AF_INET and MAXHOSTNAMELEN definitions to be on the safe side. replaced all variables named 'socket' to 'socket_p' so as to avoid confusions with the socket api. fixed two strict aliasing violations in SDLN_OpenSocket() and SDLN_GetSocketAddr(). git-svn-id: svn://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@54 af15c1b1-3010-417e-b628-4374ebc0bcbd |
||
---|---|---|
Linux | ||
MacOSX | ||
Misc | ||
Quake | ||
Windows | ||
gnu.txt |