MIT License

Copyright (c) 2026 sp00nz

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

---------------------------------------------------------------------------
Scope

This repository is not shaped like the others in this family, so read this
before assuming the MIT grant above covers all of it. It does not.

WHAT THE MIT LICENCE COVERS

Everything this project added: the cross-platform port and its SDL2 layer, the
build system, the resource and mod loading, save/load, the rebindable input and
gamepad support, the replay system, the AI opponents, the UDP multiplayer and
lobby, the ImGui menu bar and dialogs, the debug overlay, and the
documentation. That is the substance of the work here and it is ours to give
away.

WHAT IT DOES NOT COVER

SkiFree itself, and in particular the reconstructed gameplay core. This project
rebuilds from C decompiled out of `ski32.exe` -- the game logic, the physics and
the sprite and sound tables are a derivative work of Chris Pirih's original, and
licensing them under MIT would be claiming rights nobody here holds. They are in
this repository for preservation and study, not as ours to relicense.

SkiFree is (c) 1991 Chris Pirih and remains his. `ski32.exe` is freely
downloadable from his site at https://ski.ihoc.net/ -- that is a kindness on his
part, not a licence grant, and it is not a grant this project can pass on. The
sprites and sounds are extracted from your own copy at build time and are not
distributed here.

If you are Chris Pirih and would like any of this changed or taken down, open an
issue and it happens.

THIRD PARTY

`third_party/imgui/` is Dear ImGui, (c) 2014-2025 Omar Cornut, MIT licensed
under its own terms. It is vendored, not ours.

`third_party/cjson/` is cJSON, (c) 2009-2017 Dave Gamble and cJSON
contributors, MIT licensed under its own terms (its LICENSE is beside it).

`resources/ProggyClean.ttf` is ProggyClean, (c) 2004, 2005 Tristan Grimmer,
MIT licensed; the status window's font where Windows' vgaoem.fon is absent.
