No description
  • C 99.7%
  • Makefile 0.3%
Andreas T Jonsson b9ab414d50 Initialize OpenWar project structure
Add complete libretro core implementation with:
- Core libretro API bindings
- Game state management (cursor, scroll, constants, colors)
- Graphics rendering (framebuffer, primitives, HUD)
- Input processing (joypad, mouse, edge scrolling)
- Warchive module for Warcraft .WAR archive loading with tests
- Build system (Makefile)
- Documentation (AGENTS.md, README.md)
2026-01-29 22:54:33 +01:00
src Initialize OpenWar project structure 2026-01-29 22:54:33 +01:00
.gitignore Initialize OpenWar project structure 2026-01-29 22:54:33 +01:00
AGENTS.md Initialize OpenWar project structure 2026-01-29 22:54:33 +01:00
LICENSE Initialize OpenWar project structure 2026-01-29 22:54:33 +01:00
Makefile Initialize OpenWar project structure 2026-01-29 22:54:33 +01:00
README.md Initialize OpenWar project structure 2026-01-29 22:54:33 +01:00

OpenWar

An alternative Warcraft: Orcs & Humans game engine written in Saurus, implemented as a libretro core.

Note: This is a complete rewrite. The original OpenWar was written in Go using SDL2. This version is written in Saurus and runs as a libretro core in RetroArch.

Status

The project is in early development. Currently implemented:

  • libretro core integration
  • Basic HUD layout (minimap, command buttons, resource panel)
  • Placeholder terrain rendering with scrolling
  • Input handling (joypad, mouse, edge scrolling)

The game is not yet playable. Game data loading and actual gameplay are not implemented.

Requirements

  • Saurus compiler
  • GCC (or compatible C compiler)
  • RetroArch (to run the core)

Building

make

This produces build/openwar_libretro.so.

Running

make run

Or load the core manually in RetroArch:

retroarch -L build/openwar_libretro.so

OpenWar is in no way affiliated with or endorsed by Blizzard Entertainment. Warcraft is a registered trademark of Blizzard Entertainment, Inc.

License

BSD 1-Clause License. See LICENSE for details.

See Also

For more open-source game clones, visit osgameclones.com.