Browse Source

Merge branch 'master' of github.com:diasurgical/devilution

pull/615/head
Anders Jenbo 6 years ago
parent
commit
25993b4043
  1. 2
      CMakeLists.txt
  2. 93
      Source/all.h
  3. 2
      Source/appfat.cpp
  4. 2
      Source/automap.cpp
  5. 2
      Source/capture.cpp
  6. 2
      Source/codec.cpp
  7. 2
      Source/control.cpp
  8. 2
      Source/cursor.cpp
  9. 2
      Source/dead.cpp
  10. 2
      Source/debug.cpp
  11. 2
      Source/diablo.cpp
  12. 88
      Source/diablo.h
  13. 2
      Source/doom.cpp
  14. 2
      Source/drlg_l1.cpp
  15. 2
      Source/drlg_l2.cpp
  16. 2
      Source/drlg_l3.cpp
  17. 2
      Source/drlg_l4.cpp
  18. 2
      Source/dthread.cpp
  19. 2
      Source/effects.cpp
  20. 2
      Source/encrypt.cpp
  21. 2
      Source/engine.cpp
  22. 2
      Source/error.cpp
  23. 2
      Source/gamemenu.cpp
  24. 2
      Source/gendung.cpp
  25. 2
      Source/gmenu.cpp
  26. 2
      Source/help.cpp
  27. 2
      Source/init.cpp
  28. 2
      Source/interfac.cpp
  29. 2
      Source/inv.cpp
  30. 2
      Source/itemdat.cpp
  31. 2
      Source/items.cpp
  32. 2
      Source/lighting.cpp
  33. 2
      Source/loadsave.cpp
  34. 2
      Source/mainmenu.cpp
  35. 2
      Source/minitext.cpp
  36. 2
      Source/misdat.cpp
  37. 2
      Source/missiles.cpp
  38. 2
      Source/monstdat.cpp
  39. 2
      Source/monster.cpp
  40. 2
      Source/movie.cpp
  41. 2
      Source/mpqapi.cpp
  42. 2
      Source/msg.cpp
  43. 2
      Source/multi.cpp
  44. 2
      Source/nthread.cpp
  45. 2
      Source/objdat.cpp
  46. 2
      Source/objects.cpp
  47. 2
      Source/pack.cpp
  48. 2
      Source/palette.cpp
  49. 2
      Source/path.cpp
  50. 2
      Source/pfile.cpp
  51. 2
      Source/player.cpp
  52. 2
      Source/plrmsg.cpp
  53. 2
      Source/portal.cpp
  54. 2
      Source/quests.cpp
  55. 2
      Source/render.cpp
  56. 2
      Source/restrict.cpp
  57. 2
      Source/scrollrt.cpp
  58. 2
      Source/setmaps.cpp
  59. 2
      Source/sha.cpp
  60. 2
      Source/spelldat.cpp
  61. 2
      Source/spells.cpp
  62. 2
      Source/stores.cpp
  63. 2
      Source/sync.cpp
  64. 2
      Source/textdat.cpp
  65. 2
      Source/themes.cpp
  66. 2
      Source/tmsg.cpp
  67. 2
      Source/town.cpp
  68. 2
      Source/towners.cpp
  69. 2
      Source/track.cpp
  70. 2
      Source/trigs.cpp
  71. 2
      Source/wave.cpp
  72. 2
      SourceS/devilution.h
  73. 2
      SourceT/automap_test.cpp
  74. 2
      SourceT/codec_test.cpp
  75. 2
      SourceT/control_test.cpp
  76. 2
      SourceT/cursor_test.cpp
  77. 2
      SourceT/dead_test.cpp
  78. 2
      SourceT/diablo_test.cpp
  79. 2
      SourceT/doom_test.cpp
  80. 2
      SourceT/drlg_l1_test.cpp
  81. 2
      SourceT/drlg_l2_test.cpp
  82. 2
      SourceT/drlg_l3_test.cpp
  83. 2
      SourceT/drlg_l4_test.cpp
  84. 2
      SourceT/effects_test.cpp
  85. 3
      SourceX/DiabloUI/art.h
  86. 2
      SourceX/DiabloUI/art_draw.h
  87. 2
      SourceX/DiabloUI/credits.cpp
  88. 2
      SourceX/DiabloUI/diabloui.cpp
  89. 2
      SourceX/DiabloUI/dialogs.cpp
  90. 2
      SourceX/DiabloUI/fonts.h
  91. 2
      SourceX/DiabloUI/mainmenu.cpp
  92. 2
      SourceX/DiabloUI/progress.cpp
  93. 2
      SourceX/DiabloUI/selconn.cpp
  94. 2
      SourceX/DiabloUI/selgame.cpp
  95. 2
      SourceX/DiabloUI/selhero.cpp
  96. 2
      SourceX/DiabloUI/selok.cpp
  97. 2
      SourceX/DiabloUI/selok.h
  98. 2
      SourceX/DiabloUI/selyesno.cpp
  99. 2
      SourceX/DiabloUI/selyesno.h
  100. 2
      SourceX/DiabloUI/text_draw.h
  101. Some files were not shown because too many files have changed in this diff Show More

2
CMakeLists.txt

@ -224,13 +224,13 @@ add_library(devilution STATIC
Source/player.cpp
Source/plrmsg.cpp
Source/portal.cpp
Source/spelldat.cpp
Source/quests.cpp
Source/render.cpp
Source/restrict.cpp
Source/scrollrt.cpp
Source/setmaps.cpp
Source/sha.cpp
Source/spelldat.cpp
Source/spells.cpp
Source/stores.cpp
Source/sync.cpp

93
Source/all.h

@ -0,0 +1,93 @@
#ifndef __ALL_H__
#define __ALL_H__
#include <SDL.h>
#ifdef USE_SDL1
#include "sdl2_to_1_2_backports.h"
#else
#include "sdl2_backports.h"
#endif
#include "sdl_compat.h"
#include "../types.h"
#ifdef __cplusplus
extern "C" {
#endif
#include "appfat.h"
#include "automap.h"
#include "capture.h"
#include "codec.h"
#include "control.h"
#include "cursor.h"
#include "dead.h"
#include "debug.h"
#include "diablo.h"
#include "doom.h"
#include "drlg_l1.h"
#include "drlg_l2.h"
#include "drlg_l3.h"
#include "drlg_l4.h"
#include "dthread.h"
#include "dx.h"
#include "effects.h"
#include "encrypt.h"
#include "engine.h"
#include "error.h"
#include "gamemenu.h"
#include "gendung.h"
#include "gmenu.h"
#include "help.h"
#include "init.h"
#include "interfac.h"
#include "inv.h"
#include "itemdat.h"
#include "items.h"
#include "lighting.h"
#include "loadsave.h"
#include "mainmenu.h"
#include "minitext.h"
#include "misdat.h"
#include "missiles.h"
#include "monstdat.h"
#include "monster.h"
#include "movie.h"
#include "mpqapi.h"
#include "msg.h"
#include "multi.h"
#include "nthread.h"
#include "objdat.h"
#include "objects.h"
#include "pack.h"
#include "palette.h"
#include "path.h"
#include "pfile.h"
#include "player.h"
#include "plrmsg.h"
#include "portal.h"
#include "quests.h"
#include "restrict.h"
#include "scrollrt.h"
#include "setmaps.h"
#include "sha.h"
#include "sound.h"
#include "spelldat.h"
#include "spells.h"
#include "stores.h"
#include "sync.h"
#include "textdat.h" // check file name
#include "themes.h"
#include "tmsg.h"
#include "town.h"
#include "towners.h"
#include "track.h"
#include "trigs.h"
#include "wave.h"
#include "render.h" // linked last, likely .s/.asm
#ifdef __cplusplus
}
#endif
#endif /* __ALL_H__ */

2
Source/appfat.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
#include <config.h>

2
Source/automap.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/capture.cpp

@ -1,6 +1,6 @@
#include <fstream>
#include "diablo.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
#include "file_util.h"

2
Source/codec.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/control.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/cursor.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/dead.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/debug.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/diablo.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
#include "../DiabloUI/diabloui.h"
#include <config.h>

88
Source/diablo.h

@ -1,94 +1,6 @@
#ifndef __DIABLO_H__
#define __DIABLO_H__
#include <SDL.h>
#ifdef USE_SDL1
#include "sdl2_to_1_2_backports.h"
#else
#include "sdl2_backports.h"
#endif
#include "sdl_compat.h"
#include "../types.h"
//#ifdef __cplusplus
//extern "C" {
//#endif
#include "appfat.h"
#include "automap.h"
#include "capture.h"
#include "codec.h"
#include "control.h"
#include "cursor.h"
#include "dead.h"
#include "debug.h"
#include "doom.h"
#include "drlg_l1.h"
#include "drlg_l2.h"
#include "drlg_l3.h"
#include "drlg_l4.h"
#include "dthread.h"
#include "dx.h"
#include "effects.h"
#include "encrypt.h"
#include "engine.h"
#include "error.h"
#include "gamemenu.h"
#include "gendung.h"
#include "gmenu.h"
#include "help.h"
#include "init.h"
#include "interfac.h"
#include "inv.h"
#include "itemdat.h"
#include "items.h"
#include "lighting.h"
#include "loadsave.h"
#include "mainmenu.h"
#include "minitext.h"
#include "misdat.h"
#include "missiles.h"
#include "monstdat.h"
#include "monster.h"
#include "movie.h"
#include "mpqapi.h"
#include "msg.h"
#include "multi.h"
#include "nthread.h"
#include "objdat.h"
#include "objects.h"
#include "pack.h"
#include "palette.h"
#include "path.h"
#include "pfile.h"
#include "player.h"
#include "plrmsg.h"
#include "portal.h"
#include "quests.h"
#include "restrict.h"
#include "scrollrt.h"
#include "setmaps.h"
#include "sha.h"
#include "sound.h"
#include "spelldat.h"
#include "spells.h"
#include "stores.h"
#include "sync.h"
#include "textdat.h" // check file name
#include "themes.h"
#include "tmsg.h"
#include "town.h"
#include "towners.h"
#include "track.h"
#include "trigs.h"
#include "wave.h"
#include "render.h" // linked last, likely .s/.asm
//#ifdef __cplusplus
//}
//#endif
extern HWND ghMainWnd;
extern int glMid1Seed[NUMLEVELS];
extern int glMid2Seed[NUMLEVELS];

2
Source/doom.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/drlg_l1.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/drlg_l2.cpp

@ -2,7 +2,7 @@
#include <algorithm>
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/drlg_l3.cpp

@ -2,7 +2,7 @@
#include <algorithm>
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/drlg_l4.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/dthread.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/effects.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
#include <SDL_mixer.h>

2
Source/encrypt.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include "../3rdParty/PKWare/pkware.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/engine.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/error.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/gamemenu.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/gendung.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/gmenu.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/help.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/init.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
#include "../DiabloUI/diabloui.h"

2
Source/interfac.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/inv.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/itemdat.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/items.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/lighting.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/loadsave.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/mainmenu.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
#include "../DiabloUI/diabloui.h"

2
Source/minitext.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/misdat.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/missiles.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/monstdat.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/monster.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/movie.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
#include "../SourceX/display.h"

2
Source/mpqapi.cpp

@ -3,7 +3,7 @@
#include <cerrno>
#include <fstream>
#include "diablo.h"
#include "all.h"
#include "../SourceS/file_util.h"
#include "../3rdParty/Storm/Source/storm.h"

2
Source/msg.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
#include "../DiabloUI/diabloui.h"

2
Source/multi.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
#include "../DiabloUI/diabloui.h"

2
Source/nthread.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/objdat.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/objects.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/pack.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/palette.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/path.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/pfile.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
#include "../DiabloUI/diabloui.h"
#include "file_util.h"

2
Source/player.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/plrmsg.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/portal.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/quests.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/render.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/restrict.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/scrollrt.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/setmaps.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/sha.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include <cstdint>

2
Source/spelldat.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/spells.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/stores.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/sync.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/textdat.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/themes.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/tmsg.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/town.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/towners.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/track.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/trigs.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
DEVILUTION_BEGIN_NAMESPACE

2
Source/wave.cpp

@ -1,4 +1,4 @@
#include "diablo.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
DEVILUTION_BEGIN_NAMESPACE

2
SourceS/devilution.h

@ -1,2 +0,0 @@
#include "diablo.h"
#include "../3rdParty/Storm/Source/storm.h"

2
SourceT/automap_test.cpp

@ -1,5 +1,5 @@
#include <gtest/gtest.h>
#include "devilution.h"
#include "all.h"
TEST(Automap, InitAutomap) {
dvl::InitAutomapOnce();

2
SourceT/codec_test.cpp

@ -1,5 +1,5 @@
#include <gtest/gtest.h>
#include "devilution.h"
#include "all.h"
TEST(Codec, codec_get_encoded_len) {
EXPECT_EQ(dvl::codec_get_encoded_len(50), 72);

2
SourceT/control_test.cpp

@ -1,5 +1,5 @@
#include <gtest/gtest.h>
#include "devilution.h"
#include "all.h"
TEST(Control, SetSpell) {
dvl::pnumlines = 1;

2
SourceT/cursor_test.cpp

@ -1,5 +1,5 @@
#include <gtest/gtest.h>
#include "devilution.h"
#include "all.h"
TEST(Cursor, SetCursor) {
int i = dvl::ICURS_SPIKED_CLUB + dvl::CURSOR_FIRSTITEM;

2
SourceT/dead_test.cpp

@ -1,5 +1,5 @@
#include <gtest/gtest.h>
#include "devilution.h"
#include "all.h"
TEST(Dead, AddDead) {
dvl::AddDead(21, 48, 8, dvl::DIR_W);

2
SourceT/diablo_test.cpp

@ -1,5 +1,5 @@
#include <gtest/gtest.h>
#include "devilution.h"
#include "all.h"
TEST(Diablo, diablo_pause_game_unpause) {
dvl::PauseMode = 1;

2
SourceT/doom_test.cpp

@ -1,5 +1,5 @@
#include <gtest/gtest.h>
#include "devilution.h"
#include "all.h"
TEST(Doom, doom_get_frame_from_time) {
dvl::DoomQuestState = 1200 * 8 + 548;

2
SourceT/drlg_l1_test.cpp

@ -1,5 +1,5 @@
#include <gtest/gtest.h>
#include "devilution.h"
#include "all.h"
TEST(Drlg_l1, DRLG_Init_Globals_4flag) {
dvl::lightflag = false;

2
SourceT/drlg_l2_test.cpp

@ -1,5 +1,5 @@
#include <gtest/gtest.h>
#include "devilution.h"
#include "all.h"
TEST(Drlg_l2, InitDungeon) {
dvl::InitDungeon();

2
SourceT/drlg_l3_test.cpp

@ -1,5 +1,5 @@
#include <gtest/gtest.h>
#include "devilution.h"
#include "all.h"
TEST(Drlg_l3, AddFenceDoors_x) {
memset(dvl::dungeon, 0, sizeof(dvl::dungeon));

2
SourceT/drlg_l4_test.cpp

@ -1,5 +1,5 @@
#include <gtest/gtest.h>
#include "devilution.h"
#include "all.h"
TEST(Drlg_l4, IsDURWall) {
EXPECT_EQ(dvl::IsDURWall(25), true);

2
SourceT/effects_test.cpp

@ -1,5 +1,5 @@
#include <gtest/gtest.h>
#include "devilution.h"
#include "all.h"
TEST(Drlg_l4, calc_snd_position_center) {
dvl::plr[dvl::myplr].WorldX = 50;

3
SourceX/DiabloUI/art.h

@ -1,6 +1,7 @@
#pragma once
#include "devilution.h"
#include "all.h"
#include "../3rdParty/Storm/Source/storm.h"
namespace dvl {

2
SourceX/DiabloUI/art_draw.h

@ -1,6 +1,6 @@
#pragma once
#include "devilution.h"
#include "all.h"
#include "DiabloUI/art.h"

2
SourceX/DiabloUI/credits.cpp

@ -3,7 +3,7 @@
#include <vector>
#include "controls/menu_controls.h"
#include "devilution.h"
#include "all.h"
#include "display.h"
#include "DiabloUI/diabloui.h"

2
SourceX/DiabloUI/diabloui.cpp

@ -1,4 +1,4 @@
#include "devilution.h"
#include "all.h"
#include "display.h"
#include "stubs.h"
#include "utf8.h"

2
SourceX/DiabloUI/dialogs.cpp

@ -1,7 +1,7 @@
#include "DiabloUI/dialogs.h"
#include "controls/menu_controls.h"
#include "devilution.h"
#include "all.h"
#include "dx.h"
#include "DiabloUI/diabloui.h"
#include "DiabloUI/button.h"

2
SourceX/DiabloUI/fonts.h

@ -1,6 +1,6 @@
#pragma once
#include "devilution.h"
#include "all.h"
#include <SDL_ttf.h>

2
SourceX/DiabloUI/mainmenu.cpp

@ -1,4 +1,4 @@
#include "devilution.h"
#include "all.h"
#include "DiabloUI/diabloui.h"
#include "DiabloUI/selok.h"

2
SourceX/DiabloUI/progress.cpp

@ -1,4 +1,4 @@
#include "devilution.h"
#include "all.h"
#include "display.h"
#include "DiabloUI/button.h"

2
SourceX/DiabloUI/selconn.cpp

@ -1,6 +1,6 @@
#include "selconn.h"
#include "devilution.h"
#include "all.h"
#include "DiabloUI/diabloui.h"
#include "DiabloUI/text.h"

2
SourceX/DiabloUI/selgame.cpp

@ -1,6 +1,6 @@
#include "selgame.h"
#include "devilution.h"
#include "all.h"
#include "config.h"
#include "DiabloUI/diabloui.h"
#include "DiabloUI/text.h"

2
SourceX/DiabloUI/selhero.cpp

@ -6,7 +6,7 @@
#include "DiabloUI/diabloui.h"
#include "../../DiabloUI/diabloui.h"
#include "devilution.h"
#include "all.h"
#include "DiabloUI/dialogs.h"
#include "DiabloUI/scrollbar.h"
#include "DiabloUI/selyesno.h"

2
SourceX/DiabloUI/selok.cpp

@ -1,4 +1,4 @@
#include "devilution.h"
#include "all.h"
#include "DiabloUI/diabloui.h"
#include "DiabloUI/text.h"
#include "DiabloUI/selok.h"

2
SourceX/DiabloUI/selok.h

@ -1,6 +1,6 @@
#pragma once
#include "devilution.h"
#include "all.h"
namespace dvl {
void UiSelOkDialog(const char *title, const char *body, bool background);

2
SourceX/DiabloUI/selyesno.cpp

@ -1,6 +1,6 @@
#include "selyesno.h"
#include "devilution.h"
#include "all.h"
#include "DiabloUI/diabloui.h"
#include "DiabloUI/text.h"

2
SourceX/DiabloUI/selyesno.h

@ -1,6 +1,6 @@
#pragma once
#include "devilution.h"
#include "all.h"
namespace dvl {
bool UiSelHeroYesNoDialog(const char *title, const char *body);

2
SourceX/DiabloUI/text_draw.h

@ -1,6 +1,6 @@
#pragma once
#include "devilution.h"
#include "all.h"
namespace dvl {

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save