diff --git a/CMakeLists.txt b/CMakeLists.txt index 2aee614..6063c26 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -# This file is part of cevo-evo. +# This file is part of c-evo-evo. # # This software is governed by the CeCILL license under French law and # abiding by the rules of distribution of free software. You can use, @@ -28,9 +28,9 @@ cmake_minimum_required(VERSION 3.16) -project(cevo-evo VERSION 0.1 LANGUAGES CXX) +project(c-evo-evo VERSION 0.1 LANGUAGES CXX) -option(CEVO_WITH_APP "Build the game application (widget/media + cevo-evo executable)" ON) +option(CEVO_WITH_APP "Build the game application (widget/media + c-evo-evo executable)" ON) option(CEVO_WITH_AI "Build and install the bundled stdai AI plugin (turn off to rely on a third-party AI module instead)" ON) if(NOT CEVO_WITH_APP AND NOT CEVO_WITH_AI) message(FATAL_ERROR "Nothing to build: enable at least one of CEVO_WITH_APP or CEVO_WITH_AI") @@ -53,9 +53,9 @@ include(GNUInstallDirs) # Extra install dirs, following GNUInstallDirs' own CACHE PATH convention # (relative to CMAKE_INSTALL_PREFIX unless given as an absolute path). -set(CMAKE_INSTALL_AIDIR "${CMAKE_INSTALL_LIBDIR}/cevo-evo/ai" CACHE PATH +set(CMAKE_INSTALL_AIDIR "${CMAKE_INSTALL_LIBDIR}/c-evo-evo/ai" CACHE PATH "AI plugin modules (e.g. stdai) - where the game looks for loadable AI brains") -set(CMAKE_INSTALL_RESOURCEDIR "${CMAKE_INSTALL_DATADIR}/cevo-evo" CACHE PATH +set(CMAKE_INSTALL_RESOURCEDIR "${CMAKE_INSTALL_DATADIR}/c-evo-evo" CACHE PATH "Game resources (graphics, music, sounds, resource translations)") foreach(_cevo_dir AIDIR RESOURCEDIR) if(IS_ABSOLUTE "${CMAKE_INSTALL_${_cevo_dir}}") @@ -71,7 +71,7 @@ if(CEVO_WITH_APP OR CEVO_WITH_AI) add_subdirectory(ai) endif() # stdai is a dynamically-loaded AI plugin (see ai/stdai/CMakeLists.txt): built -# here but deliberately NOT linked into the cevo-evo target below. +# here but deliberately NOT linked into the c-evo-evo target below. if(CEVO_WITH_AI) add_subdirectory(ai/stdai) endif() @@ -83,7 +83,7 @@ if(CEVO_WITH_APP) add_subdirectory(game) add_subdirectory(resources) - set(TS_FILES cevo-evo_en_US.ts) + set(TS_FILES c-evo-evo_en_US.ts) set(PROJECT_SOURCES main.cpp @@ -117,25 +117,25 @@ set(PROJECT_SOURCES ) if(${QT_VERSION_MAJOR} GREATER_EQUAL 6) - qt_add_executable(cevo-evo + qt_add_executable(c-evo-evo MANUAL_FINALIZATION ${PROJECT_SOURCES} ) # Define target properties for Android with Qt 6 as: -# set_property(TARGET cevo-evo APPEND PROPERTY QT_ANDROID_PACKAGE_SOURCE_DIR +# set_property(TARGET c-evo-evo APPEND PROPERTY QT_ANDROID_PACKAGE_SOURCE_DIR # ${CMAKE_CURRENT_SOURCE_DIR}/android) # For more information, see https://doc.qt.io/qt-6/qt-add-executable.html#target-creation qt_create_translation(QM_FILES ${CMAKE_SOURCE_DIR} ${TS_FILES}) else() if(ANDROID) - add_library(cevo-evo SHARED + add_library(c-evo-evo SHARED ${PROJECT_SOURCES} ) # Define properties for Android with Qt 5 after find_package() calls as: # set(ANDROID_PACKAGE_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/android") else() - add_executable(cevo-evo + add_executable(c-evo-evo ${PROJECT_SOURCES} ) endif() @@ -143,18 +143,18 @@ else() qt5_create_translation(QM_FILES ${CMAKE_SOURCE_DIR} ${TS_FILES}) endif() -target_link_libraries(cevo-evo PRIVATE Qt${QT_VERSION_MAJOR}::Widgets dpiwidgets cevowidgets uosmedia cevocommon cevogame cevoai) +target_link_libraries(c-evo-evo PRIVATE Qt${QT_VERSION_MAJOR}::Widgets dpiwidgets cevowidgets uosmedia cevocommon cevogame cevoai) -# dpiwidgets/cevowidgets/uosmedia are installed to lib/cevo-evo (not the +# dpiwidgets/cevowidgets/uosmedia are installed to lib/c-evo-evo (not the # default library directory), so the installed binary needs an explicit # rpath to find them at runtime. -set_target_properties(cevo-evo PROPERTIES - INSTALL_RPATH "$ORIGIN/../${CMAKE_INSTALL_LIBDIR}/cevo-evo" +set_target_properties(c-evo-evo PROPERTIES + INSTALL_RPATH "$ORIGIN/../${CMAKE_INSTALL_LIBDIR}/c-evo-evo" ) # Default, compile-time-known locations the game looks for its AI plugins # and its resources (graphics/music/sounds/translations) at runtime. -target_compile_definitions(cevo-evo PRIVATE +target_compile_definitions(c-evo-evo PRIVATE CEVO_AI_DIR="${CMAKE_INSTALL_FULL_AIDIR}" CEVO_RESOURCE_DIR="${CMAKE_INSTALL_FULL_RESOURCEDIR}" ) @@ -163,9 +163,9 @@ target_compile_definitions(cevo-evo PRIVATE # If you are developing for iOS or macOS you should consider setting an # explicit, fixed bundle identifier manually though. if(${QT_VERSION} VERSION_LESS 6.1.0) - set(BUNDLE_ID_OPTION MACOSX_BUNDLE_GUI_IDENTIFIER com.example.cevo-evo) + set(BUNDLE_ID_OPTION MACOSX_BUNDLE_GUI_IDENTIFIER com.example.c-evo-evo) endif() -set_target_properties(cevo-evo PROPERTIES +set_target_properties(c-evo-evo PROPERTIES ${BUNDLE_ID_OPTION} MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION} MACOSX_BUNDLE_SHORT_VERSION_STRING ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR} @@ -173,13 +173,13 @@ set_target_properties(cevo-evo PROPERTIES WIN32_EXECUTABLE TRUE ) -install(TARGETS cevo-evo +install(TARGETS c-evo-evo BUNDLE DESTINATION . LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} ) if(QT_VERSION_MAJOR EQUAL 6) - qt_finalize_executable(cevo-evo) + qt_finalize_executable(c-evo-evo) endif() endif() # CEVO_WITH_APP diff --git a/ai/CMakeLists.txt b/ai/CMakeLists.txt index 1e960fa..10d9017 100644 --- a/ai/CMakeLists.txt +++ b/ai/CMakeLists.txt @@ -1,4 +1,4 @@ -# This file is part of cevo-evo. +# This file is part of c-evo-evo. # # This software is governed by the CeCILL license under French law and # abiding by the rules of distribution of free software. You can use, diff --git a/ai/include/Cevo/AiModule.h b/ai/include/Cevo/AiModule.h index ee326c3..164a877 100644 --- a/ai/include/Cevo/AiModule.h +++ b/ai/include/Cevo/AiModule.h @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/include/Cevo/AiModuleHost.h b/ai/include/Cevo/AiModuleHost.h index 08a51c5..a536aec 100644 --- a/ai/include/Cevo/AiModuleHost.h +++ b/ai/include/Cevo/AiModuleHost.h @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/include/Cevo/CustomAI.h b/ai/include/Cevo/CustomAI.h index 71ed35b..27dbc66 100644 --- a/ai/include/Cevo/CustomAI.h +++ b/ai/include/Cevo/CustomAI.h @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/include/Cevo/Geometry.h b/ai/include/Cevo/Geometry.h index 122672d..824f3c8 100644 --- a/ai/include/Cevo/Geometry.h +++ b/ai/include/Cevo/Geometry.h @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/include/Cevo/Pile.h b/ai/include/Cevo/Pile.h index 1308414..939cade 100644 --- a/ai/include/Cevo/Pile.h +++ b/ai/include/Cevo/Pile.h @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/include/Cevo/Protocol.h b/ai/include/Cevo/Protocol.h index a25e8bb..e3bcf19 100644 --- a/ai/include/Cevo/Protocol.h +++ b/ai/include/Cevo/Protocol.h @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/include/Cevo/ToolAI.h b/ai/include/Cevo/ToolAI.h index d2adb41..651ac27 100644 --- a/ai/include/Cevo/ToolAI.h +++ b/ai/include/Cevo/ToolAI.h @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/src/AiModule.cpp b/ai/src/AiModule.cpp index b2ff016..99a667a 100644 --- a/ai/src/AiModule.cpp +++ b/ai/src/AiModule.cpp @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/src/AiModuleHost.cpp b/ai/src/AiModuleHost.cpp index b3b06cd..772dde3 100644 --- a/ai/src/AiModuleHost.cpp +++ b/ai/src/AiModuleHost.cpp @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/src/CustomAI.cpp b/ai/src/CustomAI.cpp index edd6d8c..905bc21 100644 --- a/ai/src/CustomAI.cpp +++ b/ai/src/CustomAI.cpp @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/src/Geometry.cpp b/ai/src/Geometry.cpp index a672902..49622d2 100644 --- a/ai/src/Geometry.cpp +++ b/ai/src/Geometry.cpp @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/src/Pile.cpp b/ai/src/Pile.cpp index ba5c486..a88bb2e 100644 --- a/ai/src/Pile.cpp +++ b/ai/src/Pile.cpp @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/src/Protocol.cpp b/ai/src/Protocol.cpp index 1a3976f..92a580b 100644 --- a/ai/src/Protocol.cpp +++ b/ai/src/Protocol.cpp @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/src/ToolAI.cpp b/ai/src/ToolAI.cpp index 8bb958d..b7e3eec 100644 --- a/ai/src/ToolAI.cpp +++ b/ai/src/ToolAI.cpp @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/stdai/CMakeLists.txt b/ai/stdai/CMakeLists.txt index 46ed766..1d35cff 100644 --- a/ai/stdai/CMakeLists.txt +++ b/ai/stdai/CMakeLists.txt @@ -1,4 +1,4 @@ -# This file is part of cevo-evo. +# This file is part of c-evo-evo. # # This software is governed by the CeCILL license under French law and # abiding by the rules of distribution of free software. You can use, @@ -31,7 +31,7 @@ # perso/cevo/AI/StdAI/{Barbarina.pas, AI.pas} - class Cevo::AI (TAI) derives # from Cevo::Barbarina (TBarbarina) derives from Cevo::ToolAI. # -# Built as its own shared library (not linked into the cevo-evo executable): +# Built as its own shared library (not linked into the c-evo-evo executable): # like the original's StdAI.dll/.so, it is meant to be loaded dynamically at # runtime (via Cevo::AiModule) alongside other precompiled AI modules. diff --git a/ai/stdai/include/Cevo/AI.h b/ai/stdai/include/Cevo/AI.h index a3ac923..6f8515e 100644 --- a/ai/stdai/include/Cevo/AI.h +++ b/ai/stdai/include/Cevo/AI.h @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/stdai/include/Cevo/Barbarina.h b/ai/stdai/include/Cevo/Barbarina.h index ea9bfdd..a80b126 100644 --- a/ai/stdai/include/Cevo/Barbarina.h +++ b/ai/stdai/include/Cevo/Barbarina.h @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/stdai/src/AI.cpp b/ai/stdai/src/AI.cpp index 040f197..0057b3a 100644 --- a/ai/stdai/src/AI.cpp +++ b/ai/stdai/src/AI.cpp @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/stdai/src/Barbarina.cpp b/ai/stdai/src/Barbarina.cpp index ccde23e..7e029f7 100644 --- a/ai/stdai/src/Barbarina.cpp +++ b/ai/stdai/src/Barbarina.cpp @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/ai/stdai/src/StdAIModule.cpp b/ai/stdai/src/StdAIModule.cpp index fa708fd..d494e93 100644 --- a/ai/stdai/src/StdAIModule.cpp +++ b/ai/stdai/src/StdAIModule.cpp @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, @@ -27,7 +27,7 @@ // knowledge of the CeCILL license and that you accept its terms. // Plugin entry point: exports the "client" C-ABI function a host (or this -// project's own cevo-evo, via AiModule) loads via dlopen/LoadLibrary to +// project's own c-evo-evo, via AiModule) loads via dlopen/LoadLibrary to // drive the StdAI brain. Mirrors StdAI.lpr's `exports client;` in the // original Pascal project - everything else is implemented by the generic // AiModuleHost (see ../../include/Cevo/AiModuleHost.h) plus Cevo::AI. diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 1f79425..a94c712 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -1,4 +1,4 @@ -# This file is part of cevo-evo. +# This file is part of c-evo-evo. # # This software is governed by the CeCILL license under French law and # abiding by the rules of distribution of free software. You can use, @@ -118,6 +118,6 @@ set_target_properties(cevocommon PROPERTIES include(GNUInstallDirs) install(TARGETS cevocommon - LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/cevo-evo - RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR}/cevo-evo + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/c-evo-evo + RUNTIME DESTINATION ${CMAKE_INSTALL_LIBDIR}/c-evo-evo ) diff --git a/common/Forms/include/Cevo/FormAbout.h b/common/Forms/include/Cevo/FormAbout.h index b845347..0b01f3f 100644 --- a/common/Forms/include/Cevo/FormAbout.h +++ b/common/Forms/include/Cevo/FormAbout.h @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/common/Forms/include/Cevo/FormItem.h b/common/Forms/include/Cevo/FormItem.h index cb06d6e..a984284 100644 --- a/common/Forms/include/Cevo/FormItem.h +++ b/common/Forms/include/Cevo/FormItem.h @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/common/Forms/include/Cevo/FormJobProgress.h b/common/Forms/include/Cevo/FormJobProgress.h index d109996..bed441f 100644 --- a/common/Forms/include/Cevo/FormJobProgress.h +++ b/common/Forms/include/Cevo/FormJobProgress.h @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/common/Forms/include/Cevo/FormKeyShortcuts.h b/common/Forms/include/Cevo/FormKeyShortcuts.h index 66aca04..cc9ff62 100644 --- a/common/Forms/include/Cevo/FormKeyShortcuts.h +++ b/common/Forms/include/Cevo/FormKeyShortcuts.h @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/common/Forms/include/Cevo/FormList.h b/common/Forms/include/Cevo/FormList.h index 0ea7119..5d48de1 100644 --- a/common/Forms/include/Cevo/FormList.h +++ b/common/Forms/include/Cevo/FormList.h @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/common/Forms/include/Cevo/FormTest.h b/common/Forms/include/Cevo/FormTest.h index 9866f9d..af38120 100644 --- a/common/Forms/include/Cevo/FormTest.h +++ b/common/Forms/include/Cevo/FormTest.h @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/common/Forms/include/Cevo/FormTests.h b/common/Forms/include/Cevo/FormTests.h index 4909019..654445d 100644 --- a/common/Forms/include/Cevo/FormTests.h +++ b/common/Forms/include/Cevo/FormTests.h @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/common/Forms/src/FormAbout.cpp b/common/Forms/src/FormAbout.cpp index 6949a68..f6faa3e 100644 --- a/common/Forms/src/FormAbout.cpp +++ b/common/Forms/src/FormAbout.cpp @@ -1,4 +1,4 @@ -// This file is part of cevo-evo. +// This file is part of c-evo-evo. // // This software is governed by the CeCILL license under French law and // abiding by the rules of distribution of free software. You can use, diff --git a/common/Forms/src/FormAbout.ui b/common/Forms/src/FormAbout.ui index ae19e37..9ad676c 100644 --- a/common/Forms/src/FormAbout.ui +++ b/common/Forms/src/FormAbout.ui @@ -1,6 +1,6 @@