From 3a0d4b25d7376e82887f79872c4603f71604ca6d Mon Sep 17 00:00:00 2001 From: meep-eep Date: Fri, 25 Oct 2002 02:04:14 +0000 Subject: [PATCH] More detailed resource type explaination. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@148 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/doc/devel/resources | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/sc2/doc/devel/resources b/sc2/doc/devel/resources index 99fbe15e6..a37a165b9 100644 --- a/sc2/doc/devel/resources +++ b/sc2/doc/devel/resources @@ -19,16 +19,24 @@ Bits 8-20 specify the instance number (the number of the resource of a The resource type is a number. What kind of resource that actually is, is not specified in the package. The program registers functions for loading data of a specific type number, by calling InitResTypeVectors(). -The types used in the star control source are the following (their numbers -may vary): -KEY_CONFIG - keyboard configuration (not used in the 3do packages) -GFXRES - graphics data -FONTRES - font data -STRTAB - string table -SNDRES - waveform audio -MUSICRES - music -RES_INDEX - a resource 'file' -CODE - identifies code to use (the resouce file itself does not + +In the original 3DO version the following types are used: +GFXRES (1) - graphics data +STRTAB (2) - string table +MUSICRES (3) - music and sound data +RES_INDEX (4) - a resource 'file' +CODE (5) - identifies code to use (the resouce file itself does not + contain any code) + +In the current Urquan Masters, the following types are used: +KEY_CONFIG (1) - keyboard configuration (not used in the 3do packages) +GFXRES (2) - graphics data +FONTRES (3) - font data +STRTAB (4) - string table +SNDRES (5) - waveform audio +MUSICRES (6) - music +RES_INDEX (7) - a resource 'file' +CODE (8) - identifies code to use (the resouce file itself does not contain any code) The resource files, resinst.h, restypes.h, and respkg.h files were