2 @Copyright Looking Glass Studios, Inc.
3 1996,1997,1998,1999,2000 Unpublished Work.
6 // $Header: r:/t2repos/thief2/src/dark/drkgoalr.cpp,v 1.3 2000/02/19 12:27:15 toml Exp $
11 #include <dbmem.h> // must be last header!
13 cStr
GoalStringTable()
15 const sMissionData
* data
= GetMissionData();
16 cStr table
= data
->path
;
23 cStr
GoalDescription(int i
)
26 sprintf(buf
,"TEXT_%d",i
);
27 return FetchUIString(GoalStringTable(),buf
);
30 cStr
GoalFiction(int i
)
33 sprintf(buf
,"FICTION_%d",i
);
34 return FetchUIString(GoalStringTable(),buf
);
37 IDataSource
* GoalStatus(int state
)
40 sprintf(buf
,"goali%03d",state
);
41 return FetchUIImage(buf
);