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
1 change: 1 addition & 0 deletions Core/Tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@ endif()
# Add library interfaces here
if(RTS_BUILD_GENERALS_EXTRAS OR RTS_BUILD_ZEROHOUR_EXTRAS)
add_subdirectory(Autorun)
add_subdirectory(PATCHGET)
endif()
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ enum EVENT_TYPES
NUM_EVENTS // keep last
};

#if RTS_GENERALS
#define GAME_NAME "Command and Conquer Generals"
#elif RTS_ZEROHOUR
#define GAME_NAME "Command & Conquer"
#endif

HANDLE Events[NUM_EVENTS];

Expand Down
File renamed without changes.
39 changes: 39 additions & 0 deletions Core/Tools/PATCHGET/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
set(PATCHGET_SRC
"CHATAPI.CPP"
"CHATAPI.H"
"COMINIT.CPP"
"COMINIT.H"
"debug.cpp"
"debug.h"
"DownloadManager.cpp"
"DownloadManager.h"
"PROCESS.CPP"
"PROCESS.H"
"registry.cpp"
"Registry.h"
"RESOURCE.H"
"WINBLOWS.CPP"
"WINBLOWS.H"
"WSTYPES.H"
)

add_library(corei_patchgrabber INTERFACE)

target_sources(corei_patchgrabber INTERFACE ${PATCHGET_SRC})

target_link_libraries(corei_patchgrabber INTERFACE
comctl32
dbghelplib
gamespy::gamespy
imm32
vfw32
winmm
)

target_compile_definitions(corei_patchgrabber INTERFACE
$<$<CONFIG:Debug>:DEBUG_CRASHING>
)

if(WIN32 OR "${CMAKE_SYSTEM}" MATCHES "Windows")
target_sources(corei_patchgrabber INTERFACE SCRIPT1.RC)
endif()
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
** Command & Conquer Generals(tm)
** Command & Conquer Generals Zero Hour(tm)
** Copyright 2025 Electronic Arts Inc.
**
** This program is free software: you can redistribute it and/or modify
Expand Down
File renamed without changes.
Loading