Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Core/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ set(WW3D2_SRC
w3derr.h
w3dexclusionlist.cpp
w3dexclusionlist.h
#ww3d.cpp
#ww3d.h
ww3d.cpp
ww3d.h
ww3dformat.cpp
ww3dformat.h
ww3dids.h
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions Generals/Code/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -220,8 +220,8 @@ set(WW3D2_SRC
#w3derr.h
#w3dexclusionlist.cpp
#w3dexclusionlist.h
ww3d.cpp
ww3d.h
# ww3d.cpp
# ww3d.h
#ww3dformat.cpp
#ww3dformat.h
#ww3dids.h
Expand Down
2 changes: 1 addition & 1 deletion Generals/Code/Libraries/Source/WWVegas/WW3D2/mapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#include "WW3D2/w3derr.h"
#include "WWMath/vector2.h"
#include "WWMath/vector3.h"
#include "ww3d.h"
#include "WW3D2/ww3d.h"
#include "WWMath/matrix4.h"

class INIClass;
Expand Down
2 changes: 1 addition & 1 deletion Generals/Code/Libraries/Source/WWVegas/WW3D2/rinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

#include "WWLib/always.h"
#include "WWLib/bittype.h"
#include "ww3d.h"
#include "WW3D2/ww3d.h"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this still needed?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so. mapper.h and rinfo.h in both game trees still include ww3d.h bare. Those two headers are pulled in from outside the ww3d2 targets, and those get the WWVegas roots but not the WW3D2 subdirs. They're now WW3D2/ww3d.h, matching #3032's rule of qualifying header edges that cross the Core/product partition.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, the headers must have fully qualified paths because they can be included by other libs.

#include "WWDebug/wwdebug.h"
#include "shader.h"
#include "WWLib/Vector.h"
Expand Down
2,117 changes: 0 additions & 2,117 deletions Generals/Code/Libraries/Source/WWVegas/WW3D2/ww3d.cpp

This file was deleted.

484 changes: 0 additions & 484 deletions Generals/Code/Libraries/Source/WWVegas/WW3D2/ww3d.h

This file was deleted.

4 changes: 2 additions & 2 deletions GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,8 @@ set(WW3D2_SRC
#w3derr.h
#w3dexclusionlist.cpp
#w3dexclusionlist.h
ww3d.cpp
ww3d.h
# ww3d.cpp
# ww3d.h
#ww3dformat.cpp
#ww3dformat.h
#ww3dids.h
Expand Down
2 changes: 1 addition & 1 deletion GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/mapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
#include "WW3D2/w3derr.h"
#include "WWMath/vector2.h"
#include "WWMath/vector3.h"
#include "ww3d.h"
#include "WW3D2/ww3d.h"
#include "WWMath/matrix4.h"

class INIClass;
Expand Down
2 changes: 1 addition & 1 deletion GeneralsMD/Code/Libraries/Source/WWVegas/WW3D2/rinfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

#include "WWLib/always.h"
#include "WWLib/bittype.h"
#include "ww3d.h"
#include "WW3D2/ww3d.h"
#include "WWDebug/wwdebug.h"
#include "shader.h"
#include "WWLib/Vector.h"
Expand Down
3 changes: 3 additions & 0 deletions scripts/cpp/unify_move_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,9 @@ def main():
#unify_file_lib(Game.ZEROHOUR, "Libraries/Source/WWVegas/WW3D2/sortingrenderer.h", Game.CORE, "Libraries/Source/WWVegas/WW3D2/sortingrenderer.h")
#unify_file_lib(Game.ZEROHOUR, "Libraries/Source/WWVegas/WW3D2/sortingrenderer.cpp", Game.CORE, "Libraries/Source/WWVegas/WW3D2/sortingrenderer.cpp")

#unify_file_lib(Game.ZEROHOUR, "Libraries/Source/WWVegas/WW3D2/ww3d.h", Game.CORE, "Libraries/Source/WWVegas/WW3D2/ww3d.h")
#unify_file_lib(Game.ZEROHOUR, "Libraries/Source/WWVegas/WW3D2/ww3d.cpp", Game.CORE, "Libraries/Source/WWVegas/WW3D2/ww3d.cpp")

#unify_move_file(Game.ZEROHOUR, "GameEngine/Include/Common/AcademyStats.h", Game.CORE, "GameEngine/Include/Common/AcademyStats.h")
#unify_move_file(Game.ZEROHOUR, "GameEngine/Source/Common/RTS/AcademyStats.cpp", Game.CORE, "GameEngine/Source/Common/RTS/AcademyStats.cpp")

Expand Down
Loading