mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 15:41:15 +00:00
Cleanup: Use standard comment format (#11929)
This commit is contained in:
parent
3e5ba614ab
commit
96651b5ada
@ -97,7 +97,7 @@ inline constexpr auto MakeCommandsFromTraits(std::integer_sequence<T, i...>) noe
|
||||
static constexpr auto _command_proc_table = MakeCommandsFromTraits(std::make_integer_sequence<std::underlying_type_t<Commands>, CMD_END>{});
|
||||
|
||||
|
||||
/*!
|
||||
/**
|
||||
* This function range-checks a cmd.
|
||||
*
|
||||
* @param cmd The integer value of a command
|
||||
@ -108,7 +108,7 @@ bool IsValidCommand(Commands cmd)
|
||||
return cmd < _command_proc_table.size();
|
||||
}
|
||||
|
||||
/*!
|
||||
/**
|
||||
* This function mask the parameter with CMD_ID_MASK and returns
|
||||
* the flags which belongs to the given command.
|
||||
*
|
||||
@ -122,7 +122,7 @@ CommandFlags GetCommandFlags(Commands cmd)
|
||||
return _command_proc_table[cmd].flags;
|
||||
}
|
||||
|
||||
/*!
|
||||
/**
|
||||
* This function mask the parameter with CMD_ID_MASK and returns
|
||||
* the name which belongs to the given command.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user