From 0ea5d1c361a9d42250ecb8f3eb285f3f00352107 Mon Sep 17 00:00:00 2001 From: mcmartin Date: Wed, 9 Apr 2008 18:51:33 +0000 Subject: [PATCH] Removed the defunct KEY_CONFIG and RES_INDEX resource types. git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2964 8092fc87-c524-0410-9efc-e669fe64eaf9 --- sc2/ChangeLog | 1 + sc2/src/sc2code/libs/reslib.h | 2 -- sc2/src/sc2code/libs/resource/resinit.c | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/sc2/ChangeLog b/sc2/ChangeLog index ed1003885..9dc253b36 100644 --- a/sc2/ChangeLog +++ b/sc2/ChangeLog @@ -1,4 +1,5 @@ Changes towards version 0.7: +- Removed internal references to defunct resource types - Michael - Revamped resource system to only use .rmp files - Michael - Isolated all constructed resources into cons_res.c - Michael - Fixed a crash when conversing with music disabled - Michael diff --git a/sc2/src/sc2code/libs/reslib.h b/sc2/src/sc2code/libs/reslib.h index 16e3eb7c3..f7a06b577 100644 --- a/sc2/src/sc2code/libs/reslib.h +++ b/sc2/src/sc2code/libs/reslib.h @@ -31,13 +31,11 @@ typedef const char *RESOURCE; typedef enum { UNKNOWNRES = 0, - KEY_CONFIG, GFXRES, FONTRES, STRTAB, SNDRES, MUSICRES, - RES_INDEX, CODE } RES_TYPE; diff --git a/sc2/src/sc2code/libs/resource/resinit.c b/sc2/src/sc2code/libs/resource/resinit.c index 0b50683e0..e1ecf935a 100644 --- a/sc2/src/sc2code/libs/resource/resinit.c +++ b/sc2/src/sc2code/libs/resource/resinit.c @@ -53,13 +53,11 @@ freeResourceIndex (RESOURCE_INDEX h) { unlikely to be a problem. */ static const char *res_type_strings[] = { "UNKNOWNRES", - "KEY_CONFIG", "GFXRES", "FONTRES", "STRTAB", "SNDRES", "MUSICRES", - "RES_INDEX", "CODE", NULL };