Files
c-evo-evo/README.md
T
2026-10-27 17:38:21 +01:00

45 lines
1.6 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
Work in progress, 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` -
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. The only
deliberately unported piece is the procedural random-map generator
(`CreateElevation`/`CreateMap`/`StartPositions`/`RarePositions`):
starting a game only supports predefined/loaded maps for now, not
random map generation or the in-app map editor's "random" action.
- `Brain.pas`, `Messg.pas`, `Log.pas` - ported (loadable-AI-module
bookkeeping, generic message dialog, debug log window).
The game's own remaining UI (`perso/cevo/LocalPlayer/`, `Forms/`,
`Network/`, `Tribes/`) is not ported yet.
## 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).