Fixed doxygen warnings
This commit is contained in:
parent
ab3637a048
commit
d48edeb133
3 changed files with 19 additions and 14 deletions
src
|
@ -430,9 +430,11 @@ global void MapUnmarkSight(const Player* player,int tx,int ty,int range)
|
|||
** @param tx X center position.
|
||||
** @param ty Y center position.
|
||||
** @param range Radius to mark.
|
||||
** @param dx Delta in tiles in X direction.
|
||||
** @param dy Delta in tiles in Y direction.
|
||||
*/
|
||||
global void MapMarkNewSight(const Player* player,int tx,int ty,int range
|
||||
,int dx __attribute__((unused)),int dy __attribute__((unused)))
|
||||
,int dx,int dy)
|
||||
{
|
||||
/// It's faster to mark then unmark.
|
||||
MapMarkSight(player,tx,ty,range);
|
||||
|
|
|
@ -800,23 +800,25 @@ global void InitUnitCache(void)
|
|||
** it may be into the building or corpse list
|
||||
**
|
||||
** @param unit Unit pointer to insert into list
|
||||
**/
|
||||
global void DeadCacheInsert(Unit* unit,Unit** List)
|
||||
** @param list The list to insert into
|
||||
*/
|
||||
global void DeadCacheInsert(Unit* unit,Unit** list)
|
||||
{
|
||||
unit->Next=*List;
|
||||
*List=unit;
|
||||
unit->Next=*list;
|
||||
*list=unit;
|
||||
}
|
||||
|
||||
/**
|
||||
** Removes a corpse from the current corpse list
|
||||
**
|
||||
** @param unit Unit pointer to remove from list
|
||||
**/
|
||||
global void DeadCacheRemove(Unit* unit, Unit** List )
|
||||
** @param list The list to remove from
|
||||
*/
|
||||
global void DeadCacheRemove(Unit* unit, Unit** list)
|
||||
{
|
||||
Unit** prev;
|
||||
|
||||
prev=List;
|
||||
prev=list;
|
||||
DebugCheck( !*prev );
|
||||
while( *prev ) { // find the unit, be bug friendly
|
||||
if( *prev==unit ) {
|
||||
|
|
|
@ -310,6 +310,7 @@ global void Invalidate(void)
|
|||
** Convert SDL keysym into internal keycode.
|
||||
**
|
||||
** @param code SDL keysym structure pointer.
|
||||
** @param keychar Internal keycode.
|
||||
**
|
||||
** @return ASCII code or internal keycode.
|
||||
*/
|
||||
|
@ -470,8 +471,8 @@ local int Sdl2InternalKeycode(const SDL_keysym * code, int *keychar)
|
|||
/**
|
||||
** Handle keyboard key press!
|
||||
**
|
||||
** @param callback Callback funktion for key down.
|
||||
** @param code SDL keysym structure pointer.
|
||||
** @param callbacks Callback funktion for key down.
|
||||
** @param code SDL keysym structure pointer.
|
||||
*/
|
||||
local void SdlHandleKeyPress(const EventCallback* callbacks,
|
||||
const SDL_keysym* code)
|
||||
|
@ -486,8 +487,8 @@ local void SdlHandleKeyPress(const EventCallback* callbacks,
|
|||
/**
|
||||
** Handle keyboard key release!
|
||||
**
|
||||
** @param callback Callback funktion for key up.
|
||||
** @param code SDL keysym structure pointer.
|
||||
** @param callbacks Callback funktion for key up.
|
||||
** @param code SDL keysym structure pointer.
|
||||
*/
|
||||
local void SdlHandleKeyRelease(const EventCallback* callbacks,
|
||||
const SDL_keysym* code)
|
||||
|
@ -502,8 +503,8 @@ local void SdlHandleKeyRelease(const EventCallback* callbacks,
|
|||
/**
|
||||
** Handle interactive input event.
|
||||
**
|
||||
** @param callback Callback structure for events.
|
||||
** @param event SDL event structure pointer.
|
||||
** @param callbacks Callback structure for events.
|
||||
** @param event SDL event structure pointer.
|
||||
*/
|
||||
local void SdlDoEvent(const EventCallback* callbacks, const SDL_Event * event)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue