Files
Descent3/lib/d3_platform_path.h.in
Azamat H. Hackimov 8800f1b4c7 Implementing base directory populating on init
After initialization, we get following base directories list (in priority order):

* Writable preference path
* User defined paths (cmd-line and configuration)
* Platform defined paths (such as /usr/share/Descent3 on Linux or Steam installation paths on all platforms (TBD))
* Directory of executable

Removing `-setdir` and `-useexedir` as redundant (both can be replaced with `-additionaldir` option).
2025-03-24 23:15:32 +01:00

29 lines
985 B
C

/*
* Descent 3
* Copyright (C) 2024 Descent Developers
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
// Platform-specific compile-time defined location of data files
#define D3_DATADIR "@D3_DATADIR@"
// Part of preference path (organization)
#define D3_PREF_ORG "Outrage Entertainment"
// Part of preference path (application)
#define D3_PREF_APP "Descent 3"