More detailed resource type explaination.

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@148 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
meep-eep
2002-10-25 02:04:14 +00:00
parent acc6dfc8fc
commit 3a0d4b25d7
+18 -10
View File
@@ -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