Re:Valve releases Team Fortress 2 game code
by lawlessone on Tuesday February 18, 2025 @06:02PM
(#43096254)
ah, that NDA stuff is interesting, that probably explains it.
[ Parent
| on HN ]
Re:Valve releases Team Fortress 2 game code
by chefandy on Wednesday February 19, 2025 @12:14AM
(#43098823)
I wonder how UE manages it. It compiles for consoles but you can download and modify the engine source. The license isn’t open but you can still get the source.
Re:Valve releases Team Fortress 2 game code
by arduinomancer on Wednesday February 19, 2025 @01:53AM
(#43099340)
Not sure about UE but I’ve worked on other engines and usually you just have an interface that abstracts platform APIs and each platform implements the same interface
The implementations get compiled in based on whatever platform you’re compiling for using a bunch of #ifdef statements
In that case it’s just a matter of not including certain .h/.cpp files