tomatenquark / code

The code that powers Tomatenquark
https://tomatenquark.github.io/
Other
34 stars 5 forks source link

Add SteamWorks integration #3

Closed Fohlen closed 4 years ago

Fohlen commented 4 years ago

We want to have SteamWorks integration in the game. Have a look at the SDK documentation.

In particular we want the following features:

Croydon commented 4 years ago

Will the Steam integration stay optional or will Tomatenquark be distributed as Steam-only?

Fohlen commented 4 years ago

The Steam integration should always be optional. I imagine something like a ENABLE_STEAM compilation flag that will enable/disable the integration (similar to Red Eclipse)

Fohlen commented 4 years ago

Okay, a first step to take is:

This helps massively fight cheaters because of the VAC. Further some remarks:

This seems straightforward to be done and I will start working on it after the release fragfest.

Fohlen commented 4 years ago

We can use the following functionality https://framagit.org/khanat/khanat/blob/93f5836fd5372c0b07d0be569f9c8e285239d899/code/CMakeModules/FindSteam.cmake to work with Steam. This means that a implementation can be agnostic (just drop the SDK folder anywhere and it will automagically add ENABLE_STEAM as a compilation definition).