11 ms·
Some games (even in singleplayer) host a "local server" and environment information is passed to that. If you're making a networked game it makes sense as you'd
by catmanjan 12y ago
Some games (even in singleplayer) host a "local server" and environment information is passed to that. If you're making a networked game it makes sense as you'd be creating the server anyway, decoupling is nice and less codebase to manage.
Steam's Source games, UT do this, if you open up the console and scroll up you can see the local server initializing.
- TheLoneWolfling 12y agoDitto, Minecraft. Not sure about Supreme Commander but it wouldn't surprise me if it did.
- douche 12y agoFor Source, that's probably the GoldSrc/Quake legacy. You can see this somewhat in the source on GitHub - WinQuake has both client and server mashed into one process, but there are clear divisions, with the cl_.c/h and sv_.c/h files.