initial commit

This commit is contained in:
root
2023-06-12 09:14:09 +02:00
commit b4912f303e
2545 changed files with 209350 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
REM
REM Template file for Basic include files
REM
REM ORCS version 2.18 2020-08-20
REM
REM %N will be replaced by the RSC filename (without path)
REM %n will be replaced by the RSC filename
REM (in lowercase and without .rsc extension)
REM %R will be replaced by the RSC filename
REM (according to namerules and without .rsc extension)
REM %h will be replaced by the extension of include files
REM %d marks the place where the actual data is written
REM %D will output the definitions of the object names
REM
REM %s: Number of all strings
REM %S: Number of free strings
REM %U: Number of USERDEFs
REM %i: Number of all images
REM %B: Number of BITBLKs
REM %F: Number of free images
REM %I: Number of ICONBLKs
REM %C: Number of CICONBLKs
REM %c: Number of CICONs
REM %t: Number of TEDINFOs
REM %O: Number of OBJECTs
REM %T: Number of TREEs
REM %%: the '%'-character
REM
REM The first line of output is after %BEGIN%
REM
%BEGIN%
REM
REM resource set indices for %n
REM
REM created by ORCS %V
REM
%D

View File

@@ -0,0 +1,188 @@
/*
* Template file for C-sourcecode-output
* (old format, Atari RCS compatible)
*
* ORCS version 2.18 2020-08-20
*
* %N will be replaced by the RSC filename (without path)
* %n will be replaced by the RSC filename
* (in lowercase and without .rsc extension)
* %R will be replaced by the RSC filename
* (according to namerules and without .rsc extension)
* %h will be replaced by the extension of include files
* %d marks the place where the actual data is written
* %D will output the definitions of the object names
*
* %s: Number of all strings
* %S: Number of free strings
* %U: Number of USERDEFs
* %i: Number of all images
* %B: Number of BITBLKs
* %F: Number of free images
* %I: Number of ICONBLKs
* %C: Number of CICONBLKs
* %c: Number of CICONs
* %t: Number of TEDINFOs
* %O: Number of OBJECTs
* %T: Number of TREEs
* %%: the '%'-character
*
* The first line of output is after %BEGIN%
*/
%BEGIN%
/*
* GEM resource C output of %n
*
* created by ORCS %V
*/
#ifndef _LONG_PTR
# define _LONG_PTR LONG
#endif
#ifndef OS_NORMAL
# define OS_NORMAL 0x0000
#endif
#ifndef OS_SELECTED
# define OS_SELECTED 0x0001
#endif
#ifndef OS_CROSSED
# define OS_CROSSED 0x0002
#endif
#ifndef OS_CHECKED
# define OS_CHECKED 0x0004
#endif
#ifndef OS_DISABLED
# define OS_DISABLED 0x0008
#endif
#ifndef OS_OUTLINED
# define OS_OUTLINED 0x0010
#endif
#ifndef OS_SHADOWED
# define OS_SHADOWED 0x0020
#endif
#ifndef OS_WHITEBAK
# define OS_WHITEBAK 0x0040
#endif
#ifndef OS_DRAW3D
# define OS_DRAW3D 0x0080
#endif
#ifndef OF_NONE
# define OF_NONE 0x0000
#endif
#ifndef OF_SELECTABLE
# define OF_SELECTABLE 0x0001
#endif
#ifndef OF_DEFAULT
# define OF_DEFAULT 0x0002
#endif
#ifndef OF_EXIT
# define OF_EXIT 0x0004
#endif
#ifndef OF_EDITABLE
# define OF_EDITABLE 0x0008
#endif
#ifndef OF_RBUTTON
# define OF_RBUTTON 0x0010
#endif
#ifndef OF_LASTOB
# define OF_LASTOB 0x0020
#endif
#ifndef OF_TOUCHEXIT
# define OF_TOUCHEXIT 0x0040
#endif
#ifndef OF_HIDETREE
# define OF_HIDETREE 0x0080
#endif
#ifndef OF_INDIRECT
# define OF_INDIRECT 0x0100
#endif
#ifndef OF_FL3DIND
# define OF_FL3DIND 0x0200
#endif
#ifndef OF_FL3DBAK
# define OF_FL3DBAK 0x0400
#endif
#ifndef OF_FL3DACT
# define OF_FL3DACT 0x0600
#endif
#ifndef OF_MOVEABLE
# define OF_MOVEABLE 0x0800
#endif
#ifndef OF_POPUP
# define OF_POPUP 0x1000
#endif
#ifndef G_SWBUTTON
# define G_SWBUTTON 34
#endif
#ifndef G_POPUP
# define G_POPUP 35
#endif
#ifndef G_EDIT
# define G_EDIT 37
#endif
#ifndef G_SHORTCUT
# define G_SHORTCUT 38
#endif
#ifndef G_SLIST
# define G_SLIST 39
#endif
#ifndef G_EXTBOX
# define G_EXTBOX 40
#endif
#ifndef G_OBLINK
# define G_OBLINK 41
#endif
#ifndef WHITEBAK
# define WHITEBAK OS_WHITEBAK
#endif
#ifndef DRAW3D
# define DRAW3D OS_DRAW3D
#endif
#ifndef FL3DIND
# define FL3DIND OF_FL3DIND
#endif
#ifndef FL3DBAK
# define FL3DBAK OF_FL3DBAK
#endif
#ifndef FL3DACT
# define FL3DACT OF_FL3DACT
#endif
#ifndef C_UNION
#ifdef __PORTAES_H__
# define C_UNION(x) { (_LONG_PTR)(x) }
#endif
#ifdef __GEMLIB__
# define C_UNION(x) { (_LONG_PTR)(x) }
#endif
#ifdef __PUREC__
# define C_UNION(x) { (_LONG_PTR)(x) }
#endif
#ifdef __ALCYON__
# define C_UNION(x) x
#endif
#endif
#ifndef C_UNION
# define C_UNION(x) (_LONG_PTR)(x)
#endif
%d
#define NUM_STRINGS %s
#define NUM_FRSTR %S
#define NUM_UD %U
#define NUM_IMAGES %i
#define NUM_BB %B
#define NUM_FRIMG %F
#define NUM_IB %I
#define NUM_CIB %C
#define NUM_TI %t
#define NUM_OBS %O
#define NUM_TREE %T
BYTE pname[] = "%N";

View File

@@ -0,0 +1,574 @@
/*
* Template file for C-sourcecode-output
* (new format with initialized structures)
*
* ORCS version 2.18 2020-08-20
*
* %N will be replaced by the RSC filename (without path)
* %n will be replaced by the RSC filename
* (in lowercase and without .rsc extension)
* %R will be replaced by the RSC filename
* (according to namerules and without .rsc extension)
* %h will be replaced by the extension of include files
* %d marks the place where the actual data is written
* %D will output the definitions of the object names
*
* %s: Number of all strings
* %S: Number of free strings
* %U: Number of USERDEFs
* %i: Number of all images
* %B: Number of BITBLKs
* %F: Number of free images
* %I: Number of ICONBLKs
* %C: Number of CICONBLKs
* %c: Number of CICONs
* %t: Number of TEDINFOs
* %O: Number of OBJECTs
* %T: Number of TREEs
* %%: the '%'-character
*
* The first line of output is after %BEGIN%
*/
%BEGIN%
/*
* GEM resource C output of %n
*
* created by ORCS %V
*/
#if !defined(__GNUC__) || !defined(__mc68000__)
#include <portab.h>
#endif
#ifndef __STDC__
# ifdef __PUREC__
# define __STDC__ 1
# endif
#endif
#ifdef OS_WINDOWS
# include <portaes.h>
# define SHORT _WORD
# ifdef __WIN32__
# define _WORD signed short
# else
# define _WORD signed int
# pragma option -zE_FARDATA
# endif
#else
# ifdef __TURBOC__
# include <aes.h>
# define CP (_WORD *)
# endif
#endif
#ifdef OS_UNIX
# include <portaes.h>
# define SHORT _WORD
#else
# ifdef __GNUC__
# ifndef __PORTAES_H__
# if __GNUC__ < 4
# include <aesbind.h>
# ifndef _WORD
# define _WORD int
# endif
# define CP (char *)
# else
# include <mt_gem.h>
# ifndef _WORD
# define _WORD short
# endif
# define CP (short *)
# endif
# define CW (short *)
# endif
# endif
#endif
#ifdef __SOZOBONX__
# include <xgemfast.h>
#else
# ifdef SOZOBON
# include <aes.h>
# endif
#endif
#ifdef MEGAMAX
# include <gembind.h>
# include <gemdefs.h>
# include <obdefs.h>
# define _WORD int
# define SHORT int
#endif
#ifndef _VOID
# define _VOID void
#endif
#ifndef OS_NORMAL
# define OS_NORMAL 0x0000
#endif
#ifndef OS_SELECTED
# define OS_SELECTED 0x0001
#endif
#ifndef OS_CROSSED
# define OS_CROSSED 0x0002
#endif
#ifndef OS_CHECKED
# define OS_CHECKED 0x0004
#endif
#ifndef OS_DISABLED
# define OS_DISABLED 0x0008
#endif
#ifndef OS_OUTLINED
# define OS_OUTLINED 0x0010
#endif
#ifndef OS_SHADOWED
# define OS_SHADOWED 0x0020
#endif
#ifndef OS_WHITEBAK
# define OS_WHITEBAK 0x0040
#endif
#ifndef OS_DRAW3D
# define OS_DRAW3D 0x0080
#endif
#ifndef OF_NONE
# define OF_NONE 0x0000
#endif
#ifndef OF_SELECTABLE
# define OF_SELECTABLE 0x0001
#endif
#ifndef OF_DEFAULT
# define OF_DEFAULT 0x0002
#endif
#ifndef OF_EXIT
# define OF_EXIT 0x0004
#endif
#ifndef OF_EDITABLE
# define OF_EDITABLE 0x0008
#endif
#ifndef OF_RBUTTON
# define OF_RBUTTON 0x0010
#endif
#ifndef OF_LASTOB
# define OF_LASTOB 0x0020
#endif
#ifndef OF_TOUCHEXIT
# define OF_TOUCHEXIT 0x0040
#endif
#ifndef OF_HIDETREE
# define OF_HIDETREE 0x0080
#endif
#ifndef OF_INDIRECT
# define OF_INDIRECT 0x0100
#endif
#ifndef OF_FL3DIND
# define OF_FL3DIND 0x0200
#endif
#ifndef OF_FL3DBAK
# define OF_FL3DBAK 0x0400
#endif
#ifndef OF_FL3DACT
# define OF_FL3DACT 0x0600
#endif
#ifndef OF_MOVEABLE
# define OF_MOVEABLE 0x0800
#endif
#ifndef OF_POPUP
# define OF_POPUP 0x1000
#endif
#ifndef R_CICONBLK
# define R_CICONBLK 17
#endif
#ifndef R_CICON
# define R_CICON 18
#endif
#ifndef G_SWBUTTON
# define G_SWBUTTON 34
#endif
#ifndef G_POPUP
# define G_POPUP 35
#endif
#ifndef G_EDIT
# define G_EDIT 37
#endif
#ifndef G_SHORTCUT
# define G_SHORTCUT 38
#endif
#ifndef G_SLIST
# define G_SLIST 39
#endif
#ifndef G_EXTBOX
# define G_EXTBOX 40
#endif
#ifndef G_OBLINK
# define G_OBLINK 41
#endif
#ifndef _WORD
# ifdef WORD
# define _WORD WORD
# else
# ifdef __PUREC__
# define _WORD int
# else
# define _WORD short
# endif
# endif
#endif
#ifndef _UBYTE
# define _UBYTE char
#endif
#ifndef _BOOL
# define _BOOL int
#endif
#ifndef _LONG
# ifdef LONG
# define _LONG LONG
# else
# define _LONG long
# endif
#endif
#ifndef _ULONG
# ifdef ULONG
# define _ULONG ULONG
# else
# define _ULONG unsigned long
# endif
#endif
#ifndef _LONG_PTR
# define _LONG_PTR _LONG
#endif
#ifndef C_UNION
#ifdef __PORTAES_H__
# define C_UNION(x) { (_LONG_PTR)(x) }
#endif
#ifdef __GEMLIB__
# define C_UNION(x) { (_LONG_PTR)(x) }
#endif
#ifdef __PUREC__
# define C_UNION(x) { (_LONG_PTR)(x) }
#endif
#ifdef __ALCYON__
# define C_UNION(x) x
#endif
#endif
#ifndef C_UNION
# define C_UNION(x) (_LONG_PTR)(x)
#endif
#ifndef SHORT
# define SHORT short
#endif
#ifndef CP
# define CP (SHORT *)
#endif
#ifndef CW
# define CW (_WORD *)
#endif
#undef RSC_STATIC_FILE
#define RSC_STATIC_FILE 1
#include "%n.%h"
#ifndef RSC_NAMED_FUNCTIONS
# define RSC_NAMED_FUNCTIONS 0
#endif
#ifndef __ALCYON__
#undef defRSHInit
#undef defRSHInitBit
#undef defRSHInitStr
#ifndef RsArraySize
#define RsArraySize(array) (_WORD)(sizeof(array)/sizeof(array[0]))
#define RsPtrArraySize(type, array) (type *)array, RsArraySize(array)
#endif
#define defRSHInit( aa, bb ) RSHInit( aa, bb, RsPtrArraySize(OBJECT *, rs_trindex), RsArraySize(rs_object) )
#define defRSHInitBit( aa, bb ) RSHInitBit( aa, bb, RsPtrArraySize(BITBLK *, rs_frimg) )
#define defRSHInitStr( aa, bb ) RSHInitStr( aa, bb, RsPtrArraySize(_UBYTE *, rs_frstr) )
#endif
#ifdef __STDC__
#ifndef W_Cicon_Setpalette
extern _BOOL W_Cicon_Setpalette(_WORD *_palette);
#endif
#ifndef hrelease_objs
extern void hrelease_objs(OBJECT *_ob, _WORD _num_objs);
#endif
#ifndef hfix_objs
extern void *hfix_objs(RSHDR *_hdr, OBJECT *_ob, _WORD _num_objs);
#endif
#endif
#ifndef RLOCAL
# if RSC_STATIC_FILE
# ifdef LOCAL
# define RLOCAL LOCAL
# else
# define RLOCAL static
# endif
# else
# define RLOCAL
# endif
#endif
#ifndef N_
# define N_(x)
#endif
#if RSC_STATIC_FILE
#undef NUM_STRINGS
#undef NUM_BB
#undef NUM_IB
#undef NUM_CIB
#undef NUM_CIC
#undef NUM_TI
#undef NUM_FRSTR
#undef NUM_FRIMG
#undef NUM_OBS
#undef NUM_TREE
#undef NUM_UD
#define NUM_STRINGS %s
#define NUM_BB %B
#define NUM_IB %I
#define NUM_CIB %C
#define NUM_CIC %c
#define NUM_TI %t
#define NUM_FRSTR %S
#define NUM_FRIMG %F
#define NUM_OBS %O
#define NUM_TREE %T
#define NUM_UD %U
#endif
%d
#if RSC_STATIC_FILE
#if RSC_NAMED_FUNCTIONS
#ifdef __STDC__
_WORD %n_rsc_load(_WORD wchar, _WORD hchar)
#else
_WORD %n_rsc_load(wchar, hchar)
_WORD wchar;
_WORD wchar;
#endif
{
#ifndef RSC_HAS_PALETTE
# define RSC_HAS_PALETTE 0
#endif
#ifndef RSC_USE_PALETTE
# define RSC_USE_PALETTE 0
#endif
#if RSC_HAS_PALETTE || RSC_USE_PALETTE
W_Cicon_Setpalette(&rgb_palette[0][0]);
#endif
#if NUM_OBS != 0
{
_WORD Obj;
OBJECT *tree;
for (Obj = 0, tree = rs_object; Obj < NUM_OBS; Obj++, tree++)
{
tree->ob_x = wchar * (tree->ob_x & 0xff) + (tree->ob_x >> 8);
tree->ob_y = hchar * (tree->ob_y & 0xff) + (tree->ob_y >> 8);
tree->ob_width = wchar * (tree->ob_width & 0xff) + (tree->ob_width >> 8);
tree->ob_height = hchar * (tree->ob_height & 0xff) + (tree->ob_height >> 8);
}
hfix_objs(NULL, rs_object, NUM_OBS);
}
#endif
return 1;
}
#ifdef __STDC__
_WORD %n_rsc_gaddr(_WORD type, _WORD idx, void *gaddr)
#else
_WORD %n_rsc_gaddr(type, idx, gaddr)
_WORD type;
_WORD idx;
void *gaddr;
#endif
{
switch (type)
{
#if NUM_TREE != 0
case R_TREE:
if (idx < 0 || idx >= NUM_TREE)
return 0;
*((OBJECT **)gaddr) = rs_trindex[idx];
break;
#endif
#if NUM_OBS != 0
case R_OBJECT:
if (idx < 0 || idx >= NUM_OBS)
return 0;
*((OBJECT **)gaddr) = &rs_object[idx];
break;
#endif
#if NUM_TI != 0
case R_TEDINFO:
if (idx < 0 || idx >= NUM_TI)
return 0;
*((TEDINFO **)gaddr) = &rs_tedinfo[idx];
break;
#endif
#if NUM_IB != 0
case R_ICONBLK:
if (idx < 0 || idx >= NUM_IB)
return 0;
*((ICONBLK **)gaddr) = &rs_iconblk[idx];
break;
#endif
#if NUM_BB != 0
case R_BITBLK:
if (idx < 0 || idx >= NUM_BB)
return 0;
*((BITBLK **)gaddr) = &rs_bitblk[idx];
break;
#endif
#if NUM_FRSTR != 0
case R_STRING:
if (idx < 0 || idx >= NUM_FRSTR)
return 0;
*((char **)gaddr) = (char *)(rs_frstr[idx]);
break;
#endif
#if NUM_FRIMG != 0
case R_IMAGEDATA:
if (idx < 0 || idx >= NUM_FRIMG)
return 0;
*((BITBLK **)gaddr) = rs_frimg[idx];
break;
#endif
#if NUM_OBS != 0
case R_OBSPEC:
if (idx < 0 || idx >= NUM_OBS)
return 0;
*((_LONG **)gaddr) = &rs_object[idx].ob_spec.index;
break;
#endif
#if NUM_TI != 0
case R_TEPTEXT:
if (idx < 0 || idx >= NUM_TI)
return 0;
*((char ***)gaddr) = (char **)(&rs_tedinfo[idx].te_ptext);
break;
#endif
#if NUM_TI != 0
case R_TEPTMPLT:
if (idx < 0 || idx >= NUM_TI)
return 0;
*((char ***)gaddr) = (char **)(&rs_tedinfo[idx].te_ptmplt);
break;
#endif
#if NUM_TI != 0
case R_TEPVALID:
if (idx < 0 || idx >= NUM_TI)
return 0;
*((char ***)gaddr) = (char **)(&rs_tedinfo[idx].te_pvalid);
break;
#endif
#if NUM_IB != 0
case R_IBPMASK:
if (idx < 0 || idx >= NUM_IB)
return 0;
*((char ***)gaddr) = (char **)(&rs_iconblk[idx].ib_pmask);
break;
#endif
#if NUM_IB != 0
case R_IBPDATA:
if (idx < 0 || idx >= NUM_IB)
return 0;
*((char ***)gaddr) = (char **)(&rs_iconblk[idx].ib_pdata);
break;
#endif
#if NUM_IB != 0
case R_IBPTEXT:
if (idx < 0 || idx >= NUM_IB)
return 0;
*((char ***)gaddr) = (char **)(&rs_iconblk[idx].ib_ptext);
break;
#endif
#if NUM_BB != 0
case R_BIPDATA:
if (idx < 0 || idx >= NUM_BB)
return 0;
*((char ***)gaddr) = (char **)(&rs_bitblk[idx].bi_pdata);
break;
#endif
#if NUM_FRSTR != 0
case R_FRSTR:
if (idx < 0 || idx >= NUM_FRSTR)
return 0;
*((char ***)gaddr) = (char **)(&rs_frstr[idx]);
break;
#endif
#if NUM_FRIMG != 0
case R_FRIMG:
if (idx < 0 || idx >= NUM_FRIMG)
return 0;
*((BITBLK ***)gaddr) = &rs_frimg[idx];
break;
#endif
default:
return 0;
}
return 1;
}
#ifdef __STDC__
_WORD %n_rsc_free(void)
#else
_WORD %n_rsc_free()
#endif
{
#if NUM_OBS != 0
hrelease_objs(rs_object, NUM_OBS);
#endif
return 1;
}
#endif /* RSC_NAMED_FUNCTIONS */
#else /* !RSC_STATIC_FILE */
#if 0
_WORD rs_numstrings = %s;
_WORD rs_numfrstr = %S;
_WORD rs_nuser = %U;
_WORD rs_numimages = %i;
_WORD rs_numbb = %B;
_WORD rs_numfrimg = %F;
_WORD rs_numib = %I;
_WORD rs_numcib = %C;
_WORD rs_numti = %t;
_WORD rs_numobs = %O;
_WORD rs_numtree = %T;
char rs_name[] = "%n.rsc";
_WORD _rsc_format = 2; /* RSC_FORM_SOURCE2 */
#endif
#endif /* RSC_STATIC_FILE */

View File

@@ -0,0 +1,46 @@
(*
* Template file for Modula DEFINITION Module
*
* ORCS version 2.18 2020-08-20
*
* %N will be replaced by the RSC filename (without path)
* %n will be replaced by the RSC filename
* (in lowercase and without .rsc extension)
* %R will be replaced by the RSC filename
* (according to namerules and without .rsc extension)
* %h will be replaced by the extension of include files
* %d marks the place where the actual data is written
* %D will output the definitions of the object names
*
* %s: Number of all strings
* %S: Number of free strings
* %U: Number of USERDEFs
* %i: Number of all images
* %B: Number of BITBLKs
* %F: Number of free images
* %I: Number of ICONBLKs
* %C: Number of CICONBLKs
* %c: Number of CICONs
* %t: Number of TEDINFOs
* %O: Number of OBJECTs
* %T: Number of TREEs
* %%: the '%'-character
*
* The first line of output is after %BEGIN%
*)
%BEGIN%
(*
* resource set indices for %n
*
* created by ORCS %V
*)
DEFINITION MODULE %R;
EXPORT QUALIFIED
%D;
CONST
%D
END %R.

View File

@@ -0,0 +1,38 @@
c
c Template file for fortran include files
c
c ORCS version 2.18 2020-08-20
c
c %N will be replaced by the RSC filename (without path)
c %n will be replaced by the RSC filename
c (in lowercase and without .rsc extension)
c %R will be replaced by the RSC filename
c (according to namerules and without .rsc extension)
c %h will be replaced by the extension of include files
c %d marks the place where the actual data is written
c %D will output the definitions of the object names
c
c %s: Number of all strings
c %S: Number of free strings
c %U: Number of USERDEFs
c %i: Number of all images
c %B: Number of BITBLKs
c %F: Number of free images
c %I: Number of ICONBLKs
c %C: Number of CICONBLKs
c %c: Number of CICONs
c %t: Number of TEDINFOs
c %O: Number of OBJECTs
c %T: Number of TREEs
c %%: the '%'-character
c
c The first line of output is after %BEGIN%
c
%BEGIN%
c
c resource set indices for %n
c
c created by ORCS %V
c
%D

View File

@@ -0,0 +1,98 @@
/*
* Template file for C include files
*
* ORCS version 2.18 2020-08-20
*
* %N will be replaced by the RSC filename (without path)
* %n will be replaced by the RSC filename
* (in lowercase and without .rsc extension)
* %R will be replaced by the RSC filename
* (according to namerules and without .rsc extension)
* %h will be replaced by the extension of include files
* %d marks the place where the actual data is written
* %D will output the definitions of the object names
*
* %s: Number of all strings
* %S: Number of free strings
* %U: Number of USERDEFs
* %i: Number of all images
* %B: Number of BITBLKs
* %F: Number of free images
* %I: Number of ICONBLKs
* %C: Number of CICONBLKs
* %c: Number of CICONs
* %t: Number of TEDINFOs
* %O: Number of OBJECTs
* %T: Number of TREEs
* %%: the '%'-character
*
* The first line of output is after %BEGIN%
*/
%BEGIN%
/*
* resource set indices for %n
*
* created by ORCS %V
*/
/*
* Number of Strings: %s
* Number of Bitblks: %B
* Number of Iconblks: %I
* Number of Color Iconblks: %C
* Number of Color Icons: %c
* Number of Tedinfos: %t
* Number of Free Strings: %S
* Number of Free Images: %F
* Number of Objects: %O
* Number of Trees: %T
* Number of Userblks: %U
* Number of Images: %i
* Total file size: %f
*/
#undef RSC_NAME
#ifndef __ALCYON__
#define RSC_NAME "%n"
#endif
#undef RSC_ID
#ifdef %n
#define RSC_ID %n
#else
#define RSC_ID 0
#endif
#ifndef RSC_STATIC_FILE
# define RSC_STATIC_FILE 0
#endif
#if !RSC_STATIC_FILE
#define NUM_STRINGS %s
#define NUM_FRSTR %S
#define NUM_UD %U
#define NUM_IMAGES %i
#define NUM_BB %B
#define NUM_FRIMG %F
#define NUM_IB %I
#define NUM_CIB %C
#define NUM_TI %t
#define NUM_OBS %O
#define NUM_TREE %T
#endif
%D
#ifdef __STDC__
#ifndef _WORD
# ifdef WORD
# define _WORD WORD
# else
# define _WORD short
# endif
#endif
extern _WORD %n_rsc_load(_WORD wchar, _WORD hchar);
extern _WORD %n_rsc_gaddr(_WORD type, _WORD idx, void *gaddr);
extern _WORD %n_rsc_free(void);
#endif

View File

@@ -0,0 +1,41 @@
/*
* Template file for C data files
*
* ORCS version 2.18 2020-08-20
*
* %N will be replaced by the RSC filename (without path)
* %n will be replaced by the RSC filename
* (in lowercase and without .rsc extension)
* %R will be replaced by the RSC filename
* (according to namerules and without .rsc extension)
* %h will be replaced by the extension of include files
* %d marks the place where the actual data is written
* %D will output the definitions of the object names
*
* %s: Number of all strings
* %S: Number of free strings
* %U: Number of USERDEFs
* %i: Number of all images
* %B: Number of BITBLKs
* %F: Number of free images
* %I: Number of ICONBLKs
* %C: Number of CICONBLKs
* %c: Number of CICONs
* %t: Number of TEDINFOs
* %O: Number of OBJECTs
* %T: Number of TREEs
* %%: the '%'-character
*
* The first line of output is after %BEGIN%
*/
%BEGIN%
/*
* resource C data table output of %n
*
* created by ORCS %V
*/
%d

View File

@@ -0,0 +1,38 @@
<--
Template file for json files
ORCS version 2.18 2020-08-20
%N will be replaced by the RSC filename (without path)
%n will be replaced by the RSC filename
(in lowercase and without .rsc extension)
%R will be replaced by the RSC filename
(according to namerules and without .rsc extension)
%h will be replaced by the extension of include files
%d marks the place where the actual data is written
%D will output the definitions of the object names
%s: Number of all strings
%S: Number of free strings
%U: Number of USERDEFs
%i: Number of all images
%B: Number of BITBLKs
%F: Number of free images
%I: Number of ICONBLKs
%C: Number of CICONBLKs
%c: Number of CICONs
%t: Number of TEDINFOs
%O: Number of OBJECTs
%T: Number of TREEs
%%: the '%'-character
The first line of output is after %BEGIN%
-->
%BEGIN%
{
"type": "rscfile",
"name": "%n.rsc",
"generator": "ORCS",
"version": "%V",
%d}

View File

@@ -0,0 +1,38 @@
'
' Template file for GFA-Basic include files
'
' ORCS version 2.18 2020-08-20
'
' %N will be replaced by the RSC filename (without path)
' %n will be replaced by the RSC filename
' (in lowercase and without .rsc extension)
' %R will be replaced by the RSC filename
' (according to namerules and without .rsc extension)
' %h will be replaced by the extension of include files
' %d marks the place where the actual data is written
' %D will output the definitions of the object names
'
' %s: Number of all strings
' %S: Number of free strings
' %U: Number of USERDEFs
' %i: Number of all images
' %B: Number of BITBLKs
' %F: Number of free images
' %I: Number of ICONBLKs
' %C: Number of CICONBLKs
' %c: Number of CICONs
' %t: Number of TEDINFOs
' %O: Number of OBJECTs
' %T: Number of TREEs
' %%: the '%'-character
'
' The first line of output is after %BEGIN%
'
%BEGIN%
'
' resource set indices for %n
'
' created by ORCS %V
'
%D

View File

@@ -0,0 +1,42 @@
(*
* Template file for Modula IMPLEMENTATION Module
*
* ORCS version 2.18 2020-08-20
*
* %N will be replaced by the RSC filename (without path)
* %n will be replaced by the RSC filename
* (in lowercase and without .rsc extension)
* %R will be replaced by the RSC filename
* (according to namerules and without .rsc extension)
* %h will be replaced by the extension of include files
* %d marks the place where the actual data is written
* %D will output the definitions of the object names
*
* %s: Number of all strings
* %S: Number of free strings
* %U: Number of USERDEFs
* %i: Number of all images
* %B: Number of BITBLKs
* %F: Number of free images
* %I: Number of ICONBLKs
* %C: Number of CICONBLKs
* %c: Number of CICONs
* %t: Number of TEDINFOs
* %O: Number of OBJECTs
* %T: Number of TREEs
* %%: the '%'-character
*
* The first line of output is after %BEGIN%
*)
%BEGIN%
(*
* resource set indices for %n
*
* created by ORCS %V
*)
IMPLEMENTATION MODULE %R;
BEGIN
END %R.

View File

@@ -0,0 +1,40 @@
(*
* Template file for Pascal include files
*
* ORCS version 2.18 2020-08-20
*
* %N will be replaced by the RSC filename (without path)
* %n will be replaced by the RSC filename
* (in lowercase and without .rsc extension)
* %R will be replaced by the RSC filename
* (according to namerules and without .rsc extension)
* %h will be replaced by the extension of include files
* %d marks the place where the actual data is written
* %D will output the definitions of the object names
*
* %s: Number of all strings
* %S: Number of free strings
* %U: Number of USERDEFs
* %i: Number of all images
* %B: Number of BITBLKs
* %F: Number of free images
* %I: Number of ICONBLKs
* %C: Number of CICONBLKs
* %c: Number of CICONs
* %t: Number of TEDINFOs
* %O: Number of OBJECTs
* %T: Number of TREEs
* %%: the '%'-character
*
* The first line of output is after %BEGIN%
*)
%BEGIN%
(*
* resource set indices for %n
*
* created by ORCS %V
*)
CONST
%D

View File

@@ -0,0 +1,59 @@
/*
* Template file for RC-sourcecode-output
*
* ORCS version 2.18 2020-08-20
*
* %N will be replaced by the RSC filename (without path)
* %n will be replaced by the RSC filename
* (in lowercase and without .rsc extension)
* %R will be replaced by the RSC filename
* (according to namerules and without .rsc extension)
* %h will be replaced by the extension of include files
* %d marks the place where the actual data is written
* %D will output the definitions of the object names
*
* %s: Number of all strings
* %S: Number of free strings
* %U: Number of USERDEFs
* %i: Number of all images
* %B: Number of BITBLKs
* %F: Number of free images
* %I: Number of ICONBLKs
* %C: Number of CICONBLKs
* %c: Number of CICONs
* %t: Number of TEDINFOs
* %O: Number of OBJECTs
* %T: Number of TREEs
* %%: the '%'-character
*
* The first line of output is after %BEGIN%
*/
%BEGIN%
/*
* GEM resource RC output of %n
*
* created by ORCS %V
*/
#include <windows.h>
#include "%n.rh"
#define DIALOG_FONT 8, "MS Sans Serif"
#define ALERT DIALOG
#define ALERT_SYM_BASE 1000
#define MENU_HELP_BASE 1000
#ifndef WS_OVERLAPPED
# define WS_OVERLAPPED 0
#endif
#ifndef DS_3DLOOK
# define DS_3DLOOK 0x04
#endif
%d

View File

@@ -0,0 +1,40 @@
/*
* Template file for windows RH-file
*
* ORCS version 2.18 2020-08-20
*
* %N will be replaced by the RSC filename (without path)
* %n will be replaced by the RSC filename
* (in lowercase and without .rsc extension)
* %R will be replaced by the RSC filename
* (according to namerules and without .rsc extension)
* %h will be replaced by the extension of include files
* %d marks the place where the actual data is written
* %D will output the definitions of the object names
*
* %s: Number of all strings
* %S: Number of free strings
* %U: Number of USERDEFs
* %i: Number of all images
* %B: Number of BITBLKs
* %F: Number of free images
* %I: Number of ICONBLKs
* %C: Number of CICONBLKs
* %c: Number of CICONs
* %t: Number of TEDINFOs
* %O: Number of OBJECTs
* %T: Number of TREEs
* %%: the '%'-character
*
* The first line of output is after %BEGIN%
*/
%BEGIN%
/*
* resource set indices for %n
*
* created by ORCS %V
*/
%D

View File

@@ -0,0 +1,80 @@
(*
* Template file for Pascal-sourcecode-output
*
* ORCS version 2.18 2020-08-20
*
* %N will be replaced by the RSC filename (without path)
* %n will be replaced by the RSC filename
* (in lowercase and without .rsc extension)
* %R will be replaced by the RSC filename
* (according to namerules and without .rsc extension)
* %h will be replaced by the extension of include files
* %d marks the place where the actual data is written
* %D will output the definitions of the object names
*
* %s: Number of all strings
* %S: Number of free strings
* %U: Number of USERDEFs
* %i: Number of all images
* %B: Number of BITBLKs
* %F: Number of free images
* %I: Number of ICONBLKs
* %C: Number of CICONBLKs
* %c: Number of CICONs
* %t: Number of TEDINFOs
* %O: Number of OBJECTs
* %T: Number of TREEs
* %%: the '%'-character
*
* The first line of output is after %BEGIN%
*)
%BEGIN%
(*
* Pascal Source output of %n
*
* created by ORCS %V
*)
CONST
%D
(*** constants **********)
NUM_BB = %B;
NUM_IB = %I;
NUM_CIB = %C;
NUM_CIC = %c;
NUM_TI = %t;
NUM_UD = %U;
NUM_FRSTR = %S;
NUM_FRIMG = %F;
NUM_OBS = %O;
NUM_TREE = %T;
(** names ***************)
FLAGS9 = $0200;
FLAGS10 = $0400;
FLAGS11 = $0800;
FLAGS12 = $1000;
FLAGS13 = $2000;
FLAGS14 = $4000;
FLAGS15 = $8000;
FL3DIND = $0200;
FL3DBAK = $0400;
FL3DACT = $0600;
STATE8 = $0100;
STATE9 = $0200;
STATE10 = $0400;
STATE11 = $0800;
STATE12 = $1000;
STATE13 = $2000;
STATE14 = $4000;
STATE15 = $8000;
(** data ***************)
%d
obfixed: BOOLEAN = FALSE;

View File

@@ -0,0 +1,38 @@
;
; Template file for assembler include files
;
; ORCS version 2.18 2020-08-20
;
; %N will be replaced by the RSC filename (without path)
; %n will be replaced by the RSC filename
; (in lowercase and without .rsc extension)
; %R will be replaced by the RSC filename
; (according to namerules and without .rsc extension)
; %h will be replaced by the extension of include files
; %d marks the place where the actual data is written
; %D will output the definitions of the object names
;
; %s: Number of all strings
; %S: Number of free strings
; %U: Number of USERDEFs
; %i: Number of all images
; %B: Number of BITBLKs
; %F: Number of free images
; %I: Number of ICONBLKs
; %C: Number of CICONBLKs
; %c: Number of CICONs
; %t: Number of TEDINFOs
; %O: Number of OBJECTs
; %T: Number of TREEs
; %%: the '%'-character
;
; The first line of output is after %BEGIN%
;
%BEGIN%
;
; resource set indices for %n
;
; created by ORCS %V
;
%D

View File

@@ -0,0 +1,59 @@
;
; Template file for Assembler-sourcecode-output
;
; ORCS version 2.18 2020-08-20
;
; %N will be replaced by the RSC filename (without path)
; %n will be replaced by the RSC filename
; (in lowercase and without .rsc extension)
; %R will be replaced by the RSC filename
; (according to namerules and without .rsc extension)
; %h will be replaced by the extension of include files
; %d marks the place where the actual data is written
; %D will output the definitions of the object names
;
; %s: Number of all strings
; %S: Number of free strings
; %U: Number of USERDEFs
; %i: Number of all images
; %B: Number of BITBLKs
; %F: Number of free images
; %I: Number of ICONBLKs
; %C: Number of CICONBLKs
; %c: Number of CICONs
; %t: Number of TEDINFOs
; %O: Number of OBJECTs
; %T: Number of TREEs
; %%: the '%'-character
;
; The first line of output is after %BEGIN%
;
%BEGIN%
;
; GEM resource assembler output of %n
;
; created by ORCS %V
;
%D
.data
%d
; rs_nstrings equ %s ; total number of strings
; rs_nuser equ %U ; total number of USERBLKs
; rs_nfrstr equ %S ; number of free strings
; rs_nimages equ %i ; total number of images
; rs_nbb equ %B ; number of BITBLKs
; rs_nfrimg equ %F ; number of free images
; rs_nib equ %I ; number of ICONBLKs
; rs_ncib equ %C ; number of CICONBLKs
; rs_nted equ %t ; number of TEDINFOs
; rs_nobs equ %O ; total number of OBJECTs
; rs_ntree equ %T ; number of OBJECT trees
; _rsc_format equ 2 ; RSC_FORM_SOURCE2
; rs_name: dc.b "%N",0

View File

@@ -0,0 +1,76 @@
<--
Template file for xml files
ORCS version 2.18 2020-08-20
%N will be replaced by the RSC filename (without path)
%n will be replaced by the RSC filename
(in lowercase and without .rsc extension)
%R will be replaced by the RSC filename
(according to namerules and without .rsc extension)
%h will be replaced by the extension of include files
%d marks the place where the actual data is written
%D will output the definitions of the object names
%s: Number of all strings
%S: Number of free strings
%U: Number of USERDEFs
%i: Number of all images
%B: Number of BITBLKs
%F: Number of free images
%I: Number of ICONBLKs
%C: Number of CICONBLKs
%c: Number of CICONs
%t: Number of TEDINFOs
%O: Number of OBJECTs
%T: Number of TREEs
%%: the '%'-character
The first line of output is after %BEGIN%
-->
%BEGIN%
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE rscfile SYSTEM "http://www.tho-otto.de/dtd/resource.dtd" [
<!ENTITY nul "&#9216;"> <!-- 0x00 U+2400 -->
<!ENTITY uparrow "&#8679;"> <!-- 0x01 U+21E7 -->
<!ENTITY downarrow "&#8681;"> <!-- 0x02 U+21E9 -->
<!ENTITY rightarrow "&#8680;"> <!-- 0x03 U+21E8 -->
<!ENTITY leftarrow "&#8678;"> <!-- 0x04 U+21E6 -->
<!ENTITY ballotbox "&#9744;"> <!-- 0x05 U+2610 -->
<!ENTITY ballotboxcheck "&#9745;"> <!-- 0x06 U+2611 -->
<!ENTITY ballotboxx "&#9746;"> <!-- 0x07 U+2612 -->
<!ENTITY checkmark "&#10003;"> <!-- 0x08 U+2713 -->
<!ENTITY watch "&#8986;"> <!-- 0x09 U+231A -->
<!ENTITY bell "&#9086;"> <!-- 0x0a U+237E -->
<!ENTITY br "<br/>"> <!-- 0x0a -->
<!ENTITY eightnote "&#9834;"> <!-- 0x0b U+266a -->
<!ENTITY ff "&#9228;"> <!-- 0x0c U+240c -->
<!ENTITY cr "&#9229;"> <!-- 0x0d U+240d -->
<!ENTITY mountain "&#9968;"> <!-- 0x0e U+26f0 -->
<!ENTITY umbrella "&#9969;"> <!-- 0x0f U+26f1 -->
<!ENTITY circledzero "&#9450;"> <!-- 0x10 U+24ea -->
<!ENTITY circledone "&#9312;"> <!-- 0x11 U+2460 -->
<!ENTITY circledtwo "&#9313;"> <!-- 0x12 U+2461 -->
<!ENTITY circledthree "&#9314;"> <!-- 0x13 U+2462 -->
<!ENTITY circledfour "&#9315;"> <!-- 0x14 U+2463 -->
<!ENTITY circledfive "&#9316;"> <!-- 0x15 U+2464 -->
<!ENTITY circledsix "&#9317;"> <!-- 0x16 U+2465 -->
<!ENTITY circledseven "&#9318;"> <!-- 0x17 U+2466 -->
<!ENTITY circledeight "&#9319;"> <!-- 0x18 U+2467 -->
<!ENTITY circlednine "&#9320;"> <!-- 0x19 U+2468 -->
<!ENTITY capitalschwa "&#399;"> <!-- 0x1a U+018f -->
<!ENTITY esc "&#9243;"> <!-- 0x1b U+241b -->
<!ENTITY fountain "&#9970;"> <!-- 0x1c U+26f2 -->
<!ENTITY flaginhole "&#9971;"> <!-- 0x1d U+26f3 -->
<!ENTITY ferry "&#9972;"> <!-- 0x1e U+26f4 -->
<!ENTITY sailboat "&#9973;"> <!-- 0x1f U+26f5 -->
<!ENTITY del "&#9249;"> <!-- 0x7f U+2421 -->
<!ENTITY increment "&#8710;"> <!-- 0x7f U+2206 -->
]>
<!-- created by ORCS %V -->
<rscfile name="%N" generator="ORCS" version="%V">
%d</rscfile>