Skip to content

Commit 9b4ae20

Browse files
author
Your Name
committed
2 parents bf28e83 + 1174285 commit 9b4ae20

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+341
-6175
lines changed

Core/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ target_include_directories(corei_libraries_source_wwvegas_wwlib INTERFACE "Libra
1414
target_include_directories(corei_main INTERFACE "Main")
1515

1616
target_sources(corei_libraries_include PRIVATE
17+
Libraries/Include/Lib/BaseType.h
1718
Libraries/Include/Lib/BaseTypeCore.h
19+
Libraries/Include/Lib/trig.h
1820
Libraries/Include/rts/debug.h
1921
Libraries/Include/rts/profile.h
2022
)

Core/GameEngine/CMakeLists.txt

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@ set(GAMEENGINE_SRC
3737
Include/Common/DynamicAudioEventInfo.h
3838
# Include/Common/encrypt.h
3939
# Include/Common/Energy.h
40-
# Include/Common/Errors.h
40+
Include/Common/Errors.h
4141
Include/Common/file.h
4242
Include/Common/FileSystem.h
4343
Include/Common/FramePacer.h
4444
Include/Common/FrameRateLimit.h
4545
# Include/Common/FunctionLexicon.h
4646
Include/Common/GameAudio.h
47-
# Include/Common/GameCommon.h
47+
Include/Common/GameCommon.h
4848
Include/Common/GameDefines.h
4949
# Include/Common/GameEngine.h
5050
# Include/Common/GameLOD.h
@@ -54,13 +54,13 @@ set(GAMEENGINE_SRC
5454
# Include/Common/GameSpyMiscPreferences.h
5555
# Include/Common/GameState.h
5656
# Include/Common/GameStateMap.h
57-
# Include/Common/GameType.h
57+
Include/Common/GameType.h
5858
Include/Common/GameUtility.h
5959
# Include/Common/Geometry.h
6060
# Include/Common/GlobalData.h
6161
# Include/Common/Handicap.h
6262
# Include/Common/IgnorePreferences.h
63-
# Include/Common/INI.h
63+
Include/Common/INI.h
6464
# Include/Common/INIException.h
6565
# Include/Common/KindOf.h
6666
# Include/Common/LadderPreferences.h
@@ -108,17 +108,17 @@ set(GAMEENGINE_SRC
108108
#Include/Common/simpleplayer.h # unused
109109
# Include/Common/SkirmishBattleHonors.h
110110
# Include/Common/SkirmishPreferences.h
111-
# Include/Common/Snapshot.h
111+
Include/Common/Snapshot.h
112112
# Include/Common/SparseMatchFinder.h
113113
# Include/Common/SpecialPower.h
114114
# Include/Common/SpecialPowerMaskType.h
115115
# Include/Common/SpecialPowerType.h
116116
# Include/Common/StackDump.h
117117
# Include/Common/StateMachine.h
118118
# Include/Common/StatsCollector.h
119-
# Include/Common/STLTypedefs.h
119+
Include/Common/STLTypedefs.h
120120
Include/Common/StreamingArchiveFile.h
121-
# Include/Common/SubsystemInterface.h
121+
Include/Common/SubsystemInterface.h
122122
# Include/Common/SystemInfo.h
123123
# Include/Common/Team.h
124124
# Include/Common/Terrain.h
@@ -132,7 +132,7 @@ set(GAMEENGINE_SRC
132132
# Include/Common/UnitTimings.h
133133
# Include/Common/Upgrade.h
134134
#Include/Common/urllaunch.h # unused
135-
# Include/Common/UserPreferences.h
135+
Include/Common/UserPreferences.h
136136
# Include/Common/version.h
137137
# Include/Common/WellKnownKeys.h
138138
Include/Common/WorkerProcess.h
@@ -145,7 +145,7 @@ set(GAMEENGINE_SRC
145145
# Include/GameClient/AnimateWindowManager.h
146146
# Include/GameClient/CampaignManager.h
147147
# Include/GameClient/CDCheck.h
148-
# Include/GameClient/ChallengeGenerals.h
148+
Include/GameClient/ChallengeGenerals.h
149149
# Include/GameClient/ClientInstance.h
150150
Include/GameClient/ClientRandomValue.h
151151
# Include/GameClient/Color.h
@@ -582,7 +582,7 @@ set(GAMEENGINE_SRC
582582
# Source/Common/GameMain.cpp
583583
Source/Common/GameUtility.cpp
584584
# Source/Common/GlobalData.cpp
585-
# Source/Common/INI/INI.cpp
585+
Source/Common/INI/INI.cpp
586586
# Source/Common/INI/INIAiData.cpp
587587
# Source/Common/INI/INIAnimation.cpp
588588
Source/Common/INI/INIAudioEventInfo.cpp
@@ -653,10 +653,10 @@ set(GAMEENGINE_SRC
653653
Source/Common/System/File.cpp
654654
Source/Common/System/FileSystem.cpp
655655
# Source/Common/System/FunctionLexicon.cpp
656-
# Source/Common/System/GameCommon.cpp
656+
Source/Common/System/GameCommon.cpp
657657
#Source/Common/System/GameMemory.cpp # is conditionally appended
658658
#Source/Common/System/GameMemoryInit.cpp # is conditionally appended
659-
# Source/Common/System/GameType.cpp
659+
Source/Common/System/GameType.cpp
660660
# Source/Common/System/Geometry.cpp
661661
# Source/Common/System/KindOf.cpp
662662
# Source/Common/System/List.cpp
@@ -670,10 +670,10 @@ set(GAMEENGINE_SRC
670670
# Source/Common/System/registry.cpp
671671
# Source/Common/System/SaveGame/GameState.cpp
672672
# Source/Common/System/SaveGame/GameStateMap.cpp
673-
# Source/Common/System/Snapshot.cpp
673+
Source/Common/System/Snapshot.cpp
674674
# Source/Common/System/StackDump.cpp
675675
Source/Common/System/StreamingArchiveFile.cpp
676-
# Source/Common/System/SubsystemInterface.cpp
676+
Source/Common/System/SubsystemInterface.cpp
677677
# Source/Common/System/Trig.cpp
678678
Source/Common/System/UnicodeString.cpp
679679
# Source/Common/System/Upgrade.cpp
@@ -688,7 +688,7 @@ set(GAMEENGINE_SRC
688688
# Source/Common/Thing/Thing.cpp
689689
# Source/Common/Thing/ThingFactory.cpp
690690
# Source/Common/Thing/ThingTemplate.cpp
691-
# Source/Common/UserPreferences.cpp
691+
Source/Common/UserPreferences.cpp
692692
# Source/Common/version.cpp
693693
Source/Common/WorkerProcess.cpp
694694
# Source/GameClient/ClientInstance.cpp
@@ -710,7 +710,7 @@ set(GAMEENGINE_SRC
710710
# Source/GameClient/GlobalLanguage.cpp
711711
# Source/GameClient/GraphDraw.cpp
712712
# Source/GameClient/GUI/AnimateWindowManager.cpp
713-
# Source/GameClient/GUI/ChallengeGenerals.cpp
713+
Source/GameClient/GUI/ChallengeGenerals.cpp
714714
# Source/GameClient/GUI/ControlBar/ControlBar.cpp
715715
# Source/GameClient/GUI/ControlBar/ControlBarBeacon.cpp
716716
# Source/GameClient/GUI/ControlBar/ControlBarCommand.cpp

Core/GameEngine/Include/Common/AudioEventRTS.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ class AudioEventRTS
9999
void decreaseLoopCount( void );
100100
Bool hasMoreLoops( void ) const;
101101

102-
void setAudioEventInfo( const AudioEventInfo *eventInfo ) const;
102+
void setAudioEventInfo( const AudioEventInfo *eventInfo ) const; // is mutable
103103
const AudioEventInfo *getAudioEventInfo( void ) const;
104104

105105
void setPlayingHandle( AudioHandle handle ); // for ID of this audio piece.
@@ -141,8 +141,8 @@ class AudioEventRTS
141141
Int getPlayerIndex( void ) const;
142142
void setPlayerIndex( Int playerNdx );
143143

144-
Int getPlayingAudioIndex( void ) { return m_playingAudioIndex; };
145-
void setPlayingAudioIndex( Int pai ) { m_playingAudioIndex = pai; };
144+
Int getPlayingAudioIndex( void ) const { return m_playingAudioIndex; }
145+
void setPlayingAudioIndex( Int pai ) const { m_playingAudioIndex = pai; } // is mutable
146146

147147
Bool getUninterruptible( ) const { return m_uninterruptible; }
148148
void setUninterruptible( Bool uninterruptible ) { m_uninterruptible = uninterruptible; }
@@ -191,7 +191,7 @@ class AudioEventRTS
191191
Real m_volumeShift; ///< Volume shift that should occur on this piece of audio
192192
Real m_delay; ///< Amount to delay before playing this sound
193193
Int m_loopCount; ///< The current loop count value. Only valid if this is a looping type event or the override has been set.
194-
Int m_playingAudioIndex; ///< The sound index we are currently playing. In the case of non-random, we increment this to move to the next sound
194+
mutable Int m_playingAudioIndex; ///< The sound index we are currently playing. In the case of non-random, we increment this to move to the next sound
195195
Int m_allCount; ///< If this sound is an ALL type, then this is how many sounds we have played so far.
196196

197197
Int m_playerIndex; ///< The index of the player who owns this sound. Used for sounds that should have an owner, but don't have an object, etc.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

GeneralsMD/Code/GameEngine/Include/Common/SubsystemInterface.h renamed to Core/GameEngine/Include/Common/SubsystemInterface.h

File renamed without changes.

0 commit comments

Comments
 (0)