60 lines
2.7 KiB
Markdown
60 lines
2.7 KiB
Markdown
# c-evo-evo
|
|
|
|
Qt6/C++ port of [C-evo](http://c-evo.org/), an open-source
|
|
Civilization-like turn-based strategy game originally written in Object Pascal
|
|
(Lazarus/Delphi).
|
|
|
|
## Status
|
|
|
|
The game is feature-complete for single-player/hotseat play, ported
|
|
incrementally:
|
|
|
|
- `widget/`, `media/` - Qt ports of the original's DPI-aware control and
|
|
audio helper packages.
|
|
- `common/` - port of `Packages/Common` (generic utilities + dialogs).
|
|
- `ai/` - the AI plugin ABI + bundled `stdai` brain.
|
|
- `game/` - the game engine itself (`perso/cevo/*.pas`):
|
|
- `Database.pas`, `CityProcessing.pas`, `UnitProcessing.pas`,
|
|
`CmdList.pas`, `Map.pas`, `Platform.pas`, `Music.pas`, `IPQ.pas`,
|
|
`FileList.pas` - fully ported (Qt::Core-only `cevogame` static
|
|
library).
|
|
- `GameServer.pas` (the game loop/server, ~4536 lines) - fully ported, including the whole client/server command dispatcher and the procedural random-map generator (`CreateElevation`/`CreateMap`/`StartPositions`).
|
|
- `Brain.pas`, `Messg.pas`, `Log.pas`, `Sound.pas` - ported (loadable-AI-module bookkeeping, generic message dialog, debug log window, sound-effect playback via `QMediaPlayer`/`QAudioOutput`).
|
|
- `perso/cevo/LocalPlayer/` (the entire local-player UI: Battle,
|
|
CityScreen, CityType, ClientTools, Diagram, Diplomacy, Draft,
|
|
Enhance, Help, IsoEngine, KeyBindings, MessgEx, NatStat, Nego,
|
|
Rates, Select, TechTree, Term, Tribes, UnitStat, Wonders) - fully
|
|
ported.
|
|
- `Back.pas`, `Direct.pas`, `Inp.pas`, `NoTerm.pas`, `Settings.pas`,
|
|
`Start.pas` (the splash/AI-init/new-game setup screens) - ported.
|
|
The "Start new game -> random map" quick-start page additionally
|
|
exposes world-size up/down controls directly (an enhancement beyond
|
|
the original, which only let you change world size via the in-app
|
|
map editor).
|
|
|
|
Known, deliberate gaps (not planned unless someone wants to tackle them):
|
|
- Real multiplayer (`Network/`'s TCP/IP relay) isn't implemented - only
|
|
single-process/hotseat play works.
|
|
- The in-game Help system's Credits page doesn't scan `Graphics/`/`Sounds/`
|
|
for per-asset `*.credits.txt` files (a real filesystem-scanning credit
|
|
roll in the original); the AI-credits and author/localization sections
|
|
are intact. Everything else in Help (advances, improvements, terrain,
|
|
features, special units, governments, terrain jobs, and all the
|
|
concept/quickstart/hotkeys/about hypertext pages with their inline
|
|
links) is fully ported.
|
|
|
|
## Build
|
|
|
|
```sh
|
|
cmake -S . -B build
|
|
cmake --build build -j4
|
|
```
|
|
|
|
Useful options: `-DCEVO_WITH_APP=OFF` (AI plugin only, no Qt needed),
|
|
`-DCEVO_WITH_AI=OFF` (app only, bring your own AI module, should be compatible with existing AI).
|
|
|
|
## License
|
|
|
|
[CeCILL 2.1](LICENSE).
|
|
|