-
Notifications
You must be signed in to change notification settings - Fork 75
/
hgeresource_getstringtable.html
65 lines (59 loc) · 2.12 KB
/
hgeresource_getstringtable.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- http://hge.relishgames.com -->
<html>
<head>
<meta name="Keywords" content="game engine, 2d, hardware accelerated, hge, engine, relish games, game development">
<meta name="Description" content="Haaf's Game Engine - Hardware accelerated 2D games engine">
<title>Haaf's Game Engine - Hardware accelerated 2D games engine</title>
<link rel=stylesheet type=text/css href=hge.css>
<script language="JavaScript" src="hge.js"></script>
</head>
<body onload="setContents('cnt_hgeresource.html');" bgcolor=#ffffff text=#000000 link=#7F0000 vlink=#7F0000 alink=#7F0000 marginwidth=0 marginheight=0 leftmargin=0 topmargin=0>
<table height=100% cellspacing=0 cellpadding=0 border=0><tr>
<td valign=top>
<table width=566 cellspacing=0 cellpadding=20 border=0><tr><td>
<h1 style="margin-top:0px">hgeResourceManager::GetStringTable</h1>
<p>
Returns pointer to a named string table.
</p>
<pre>
hgeStringTable *GetStringTable(
const char *<i><b>name</b></i>,
int <i><b>resgroup</b></i> = 0
);
</pre>
<h2>Parameters</h2>
<dl>
<dt><i>name</i>
<dd>String table name.
<dt><i>resgroup</i>
<dd>Resource group identificator.
</dl>
<h2>Return value</h2>
<p>
If successful, returns pointer to the <a href="hgestring__main.html">hgeStringTable</a> object. Otherwise returns 0.
</p>
<h2>Remarks</h2>
<p>
You could use the name defined in the resource script or just a plain file name,
either absolute or relative to the application folder or resource package root.
<br><br>
If the string table hasn't been created yet, it will be created.
Otherwise pointer to the existing string table will be returned.
<br><br>
The <b>resgroup</b> parameter is only used if you specify plain file name.
When loading resources defined in resource script, <b>resgroup</b> is taken from the script.
Use the value passed here with <a href="hgeresource_purge.html">Purge</a>
to free the resource. If =0 or omitted - no specific group will be assigned to the recource.
</p>
<h2>Requirements</h2>
<p>
<b>Header:</b> hgeresource.h<br>
<b>Import library:</b> hgehelp.lib<br>
</p>
<br>
</td></tr></table>
</td>
</tr></table>
</body>
</html>