Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DescentDevelopers/Descent3
/ set_difficulty
Method
set_difficulty
Descent3/pilot_class.cpp:796–799 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
794
}
795
796
void pilot::set_difficulty(uint8_t diff) {
797
difficulty = diff;
798
write_pending = true;
799
}
800
void pilot::get_difficulty(uint8_t *diff) {
801
if (diff) {
802
*diff = difficulty;
Callers
2
PilotListSelectChangeCallback
Function · 0.80
_ReadOldPilotFile
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected