include: move version defines out to version.h
This commit is contained in:
@@ -46,6 +46,7 @@
|
|||||||
#include <86box/hdc_ide.h>
|
#include <86box/hdc_ide.h>
|
||||||
#include <86box/hdd.h>
|
#include <86box/hdd.h>
|
||||||
#include <86box/zip.h>
|
#include <86box/zip.h>
|
||||||
|
#include <86box/version.h>
|
||||||
|
|
||||||
|
|
||||||
/* Bits of 'atastat' */
|
/* Bits of 'atastat' */
|
||||||
|
|||||||
@@ -26,26 +26,6 @@
|
|||||||
#define SCREEN_RES_X 640
|
#define SCREEN_RES_X 640
|
||||||
#define SCREEN_RES_Y 480
|
#define SCREEN_RES_Y 480
|
||||||
|
|
||||||
/* Version info. */
|
|
||||||
#define EMU_NAME "86Box"
|
|
||||||
#define EMU_NAME_W L"86Box"
|
|
||||||
#ifdef RELEASE_BUILD
|
|
||||||
#define EMU_VERSION "2.07"
|
|
||||||
#define EMU_VERSION_W L"2.07"
|
|
||||||
#define EMU_VERSION_MAJ 2
|
|
||||||
#define EMU_VERSION_MIN 7
|
|
||||||
#else
|
|
||||||
#define EMU_VERSION "2.10"
|
|
||||||
#define EMU_VERSION_W L"2.10"
|
|
||||||
#define EMU_VERSION_MAJ 2
|
|
||||||
#define EMU_VERSION_MIN 10
|
|
||||||
#endif
|
|
||||||
#define COPYRIGHT_YEAR "2020"
|
|
||||||
|
|
||||||
/* Web URL info. */
|
|
||||||
#define EMU_SITE L"86box.github.io"
|
|
||||||
#define EMU_ROMS_URL L"https://github.com/86Box/roms/releases/latest"
|
|
||||||
|
|
||||||
/* Filename and pathname info. */
|
/* Filename and pathname info. */
|
||||||
#define CONFIG_FILE L"86box.cfg"
|
#define CONFIG_FILE L"86box.cfg"
|
||||||
#define NVR_PATH L"nvr"
|
#define NVR_PATH L"nvr"
|
||||||
|
|||||||
29
src/include/86box/version.h
Normal file
29
src/include/86box/version.h
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
/*
|
||||||
|
* 86Box A hypervisor and IBM PC system emulator that specializes in
|
||||||
|
* running old operating systems and software designed for IBM
|
||||||
|
* PC systems and compatibles from 1981 through fairly recent
|
||||||
|
* system designs based on the PCI bus.
|
||||||
|
*
|
||||||
|
* This file is part of the 86Box distribution.
|
||||||
|
*
|
||||||
|
* Definitions for project version, branding, and external links.
|
||||||
|
*
|
||||||
|
* Authors: Miran Grca, <mgrca8@gmail.com>
|
||||||
|
*
|
||||||
|
* Copyright 2020 Miran Grca.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Version info. */
|
||||||
|
#define EMU_NAME "86Box"
|
||||||
|
#define EMU_NAME_W L"86Box"
|
||||||
|
|
||||||
|
#define EMU_VERSION "2.10"
|
||||||
|
#define EMU_VERSION_W L"2.10"
|
||||||
|
#define EMU_VERSION_MAJ 2
|
||||||
|
#define EMU_VERSION_MIN 10
|
||||||
|
|
||||||
|
#define COPYRIGHT_YEAR "2020"
|
||||||
|
|
||||||
|
/* Web URL info. */
|
||||||
|
#define EMU_SITE L"86box.github.io"
|
||||||
|
#define EMU_ROMS_URL L"https://github.com/86Box/roms/releases/latest"
|
||||||
@@ -25,6 +25,7 @@
|
|||||||
#include <86box/device.h>
|
#include <86box/device.h>
|
||||||
#include <86box/smbus.h>
|
#include <86box/smbus.h>
|
||||||
#include <86box/spd.h>
|
#include <86box/spd.h>
|
||||||
|
#include <86box/version.h>
|
||||||
|
|
||||||
|
|
||||||
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
||||||
|
|||||||
1
src/pc.c
1
src/pc.c
@@ -77,6 +77,7 @@
|
|||||||
#include <86box/ui.h>
|
#include <86box/ui.h>
|
||||||
#include <86box/plat.h>
|
#include <86box/plat.h>
|
||||||
#include <86box/plat_midi.h>
|
#include <86box/plat_midi.h>
|
||||||
|
#include <86box/version.h>
|
||||||
|
|
||||||
|
|
||||||
/* Stuff that used to be globally declared in plat.h but is now extern there
|
/* Stuff that used to be globally declared in plat.h but is now extern there
|
||||||
|
|||||||
@@ -36,6 +36,7 @@
|
|||||||
#include <86box/ui.h>
|
#include <86box/ui.h>
|
||||||
#include <86box/cdrom.h>
|
#include <86box/cdrom.h>
|
||||||
#include <86box/scsi_cdrom.h>
|
#include <86box/scsi_cdrom.h>
|
||||||
|
#include <86box/version.h>
|
||||||
|
|
||||||
|
|
||||||
#pragma pack(push,1)
|
#pragma pack(push,1)
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
#include <86box/plat.h>
|
#include <86box/plat.h>
|
||||||
#include <86box/ui.h>
|
#include <86box/ui.h>
|
||||||
#include <86box/scsi_disk.h>
|
#include <86box/scsi_disk.h>
|
||||||
|
#include <86box/version.h>
|
||||||
|
|
||||||
|
|
||||||
#define scsi_disk_sense_error dev->sense[0]
|
#define scsi_disk_sense_error dev->sense[0]
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
#include <86box/resource.h>
|
#include <86box/resource.h>
|
||||||
#include <86box/86box.h>
|
#include <86box/86box.h>
|
||||||
#include <86box/plat.h>
|
#include <86box/plat.h>
|
||||||
|
#include <86box/version.h>
|
||||||
#undef IN_RESOURCE_H
|
#undef IN_RESOURCE_H
|
||||||
|
|
||||||
#define APSTUDIO_READONLY_SYMBOLS
|
#define APSTUDIO_READONLY_SYMBOLS
|
||||||
|
|||||||
@@ -47,6 +47,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#include <86box/win_sdl.h>
|
#include <86box/win_sdl.h>
|
||||||
#include <86box/win.h>
|
#include <86box/win.h>
|
||||||
|
#include <86box/version.h>
|
||||||
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
|
|||||||
@@ -30,6 +30,7 @@
|
|||||||
#include <86box/86box.h>
|
#include <86box/86box.h>
|
||||||
#include <86box/plat.h>
|
#include <86box/plat.h>
|
||||||
#include <86box/win.h>
|
#include <86box/win.h>
|
||||||
|
#include <86box/version.h>
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
@@ -70,6 +70,7 @@
|
|||||||
#include <86box/ui.h>
|
#include <86box/ui.h>
|
||||||
#include <86box/win.h>
|
#include <86box/win.h>
|
||||||
#include <86box/win_sdl.h>
|
#include <86box/win_sdl.h>
|
||||||
|
#include <86box/version.h>
|
||||||
|
|
||||||
|
|
||||||
#define RENDERER_FULL_SCREEN 1
|
#define RENDERER_FULL_SCREEN 1
|
||||||
|
|||||||
Reference in New Issue
Block a user