Hibernation mode#826
Conversation
|
Please don't store the cvar old value in a std::string Plus you didn't include ! Cvar_SetValue does exist so you can save values. Might be better to not make extra globals and put them in a server structure. It's still very hackish to actually change the sv_fps value though. It may trigger issues with the client snaps limiting to server fps. I would hold off on merging this right now because there's a patch for com_dedicated_sleep that may also be useful. |
|
Just add a float of the old value instead of the string??? |
|
I also think the chrono lib can be avoided since there is already timer functions using milliseconds in the engine. @Caelish the code quality is important for here though too so we should make sure it's up to par before merging. |
|
@ensiform I completely agree. Wasn't trying to imply otherwise, sorry if it came across like that. I do realise the importance of good code, I just don't know any C (or C-ish languages) and thus can't say anything sensible about code quality here. =P |
|
Is this still wip? |
|
Caelum might use it but we don't. Too WIP and not very code style friendly. |
|
Ah |
|
I'd like to close this and have hibernation mode just be a long shot request issue instead. |
|
This looks pretty dead and seems like nobody was against closing it? Doesn't really seem like it fits the idea of OpenJK not including specific new features either way, I guess. |

Caelum's request:
https://jkhub.org/topic/7420-will-pay-for-some-openjk-code-edits/