From 689901daca73e8ae0e6dc303ba9be6d5713e5e05 Mon Sep 17 00:00:00 2001 From: George Sokianos Date: Sun, 26 Dec 2021 17:15:22 +0000 Subject: [PATCH] Added Amiga version and cookie stack --- README_OS4.md | 2 +- src/platform/amigaos4.h | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README_OS4.md b/README_OS4.md index b29db3f0..9baf9342 100644 --- a/README_OS4.md +++ b/README_OS4.md @@ -27,7 +27,7 @@ SetEnv SAVE HOME "Sys:home/" DONE - Make the keyboard shortcuts work. Now, everything can be done with mouse clicks at the toolbar at the bottom of the file list at the left. DONE - If `HOME` is not set, set it to program folder on program run. - Make the application aknowledge of the executable file name. Now it works only with the filename `lite` -- Add Amiga versioning +DONE - Add Amiga versioning - Fix the resolution of the fullscreen mode - Fix load file when add an Amiga path at the search line - Add menu items diff --git a/src/platform/amigaos4.h b/src/platform/amigaos4.h index 0468e25d..2e326b09 100644 --- a/src/platform/amigaos4.h +++ b/src/platform/amigaos4.h @@ -4,6 +4,13 @@ #include #include + +#define VSTRING "Lite XL 1.16.12.2 (26.12.2021)" +#define VERSTAG "\0$VER: " VSTRING + +static CONST_STRPTR stack USED = "$STACK:102400"; +static CONST_STRPTR version USED = VERSTAG; + char *_fullpath(const char *);