Browse Source

Move documentation from themes.cpp to themes.h

pull/2774/head
Siddharth singh chouhan 5 years ago committed by GitHub
parent
commit
6a8812c468
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      Source/themes.cpp
  2. 8
      Source/themes.h

6
Source/themes.cpp

@ -445,9 +445,6 @@ void InitThemes()
} }
} }
/**
* @brief HoldThemeRooms marks theme rooms as populated.
*/
void HoldThemeRooms() void HoldThemeRooms()
{ {
if (currlevel == 16) if (currlevel == 16)
@ -964,9 +961,6 @@ void UpdateL4Trans()
} }
} }
/**
* CreateThemeRooms adds thematic elements to rooms.
*/
void CreateThemeRooms() void CreateThemeRooms()
{ {
if (currlevel == 16) { if (currlevel == 16) {

8
Source/themes.h

@ -24,7 +24,15 @@ extern int zharlib;
extern ThemeStruct themes[MAXTHEMES]; extern ThemeStruct themes[MAXTHEMES];
void InitThemes(); void InitThemes();
/**
* @brief HoldThemeRooms marks theme rooms as populated.
*/
void HoldThemeRooms(); void HoldThemeRooms();
/**
* CreateThemeRooms adds thematic elements to rooms.
*/
void CreateThemeRooms(); void CreateThemeRooms();
} // namespace devilution } // namespace devilution

Loading…
Cancel
Save