mirror of
https://github.com/dhewm/iddevnet.git
synced 2024-11-21 20:11:27 +00:00
96 lines
3.6 KiB
HTML
96 lines
3.6 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|||
|
<!-- saved from url=(0046)https://www.iddevnet.com/doom3/editor_decl.php -->
|
|||
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
|
|||
|
<title>id.sdk [The Decl Editor]</title>
|
|||
|
<link rel="stylesheet" href="style.css">
|
|||
|
</head>
|
|||
|
|
|||
|
|
|||
|
<body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
|
|||
|
|
|||
|
<table border=0 cellpadding=0 cellspacing=0 style="width: 100%; height: 99px">
|
|||
|
<tr>
|
|||
|
<td style="width: 171px"><img src="images/doom.jpg" style="width: 171px; height: 99px" alt=""></td>
|
|||
|
<td style="background: url(images/tile.gif)">
|
|||
|
<table border=0 cellpadding=0 cellspacing=0 width=600>
|
|||
|
<tr>
|
|||
|
<td style="height: 19px; background: url(images/sdk.gif) no-repeat"></td>
|
|||
|
<td rowspan=4 align=right><img src="images/id.gif" style="width: 42px; height: 99px" alt=""></td>
|
|||
|
</tr>
|
|||
|
<tr><td style="height: 29px; background: url(images/top.jpg) no-repeat"></td></tr>
|
|||
|
<tr><td style="height: 27px; background: url(images/middle.gif)" class="title"> Making DOOM 3 Mods : The Decl Editor</td></tr>
|
|||
|
<tr><td style="height: 24px; background: url(images/bottom.jpg) no-repeat"></td></tr>
|
|||
|
</table>
|
|||
|
</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
<table border=0 cellpadding=0 cellspacing=0 style="width: 770px">
|
|||
|
<tr>
|
|||
|
<td colspan=2 style="background: url(images/boxtop.gif);"><img src="images/span.jpg" style="width: 397px; height: 20px; float: left" alt=""></td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td style="vertical-align: top; width: 152px; background: url(images/tileleft.gif)">
|
|||
|
<div class="leftMenu">
|
|||
|
<script src="menu.js"></script>
|
|||
|
</div>
|
|||
|
</td>
|
|||
|
<td class="mainContent">
|
|||
|
|
|||
|
<p>
|
|||
|
|
|||
|
The Decl Editors allows you to browse and edit every single decl in
|
|||
|
the game. Typing "editDecls" actually launches the decl browser, which
|
|||
|
is slightly different from the decl editor.
|
|||
|
|
|||
|
</p><div class="subsection">The Decl Browser</div>
|
|||
|
|
|||
|
<img src="images/editor_decl_a.png" align="right">
|
|||
|
|
|||
|
The decl browser shows
|
|||
|
all the decls that are loaded by Doom 3. You can filter for specific
|
|||
|
decl names by typing a complete or partial name in the 'Search Name'
|
|||
|
box and clicking find. You can also search the actual text definition
|
|||
|
of the decl by typing something in the 'Search Text' box and clicking
|
|||
|
find.
|
|||
|
|
|||
|
<p>
|
|||
|
Clicking on a decl and selecting 'Edit' will open that decl in an editor
|
|||
|
for that specific decl type. For example, sounds will open up in the sound
|
|||
|
editor, scripts in the script editor, etc.
|
|||
|
|
|||
|
</p><p>
|
|||
|
Selecting New will let you create a new decl, and Reload will refresh
|
|||
|
the list of decls.
|
|||
|
|
|||
|
</p><div class="subsection">The Decl Editor</div>
|
|||
|
|
|||
|
<img src="images/editor_decl_b.png" align="right">
|
|||
|
|
|||
|
If a decl type doesn't have an editor defined for it, then it will use the
|
|||
|
default decl editor. The default editor is just a standard text editor
|
|||
|
with basic syntax highlighting. It has special support for def files in
|
|||
|
that it will color the 2nd string in a line different from the first
|
|||
|
string so it's easy to see the key/val relationship.
|
|||
|
|
|||
|
<p>
|
|||
|
The really cool
|
|||
|
feature is the 'Test' button. Clicking 'Test' will ensure all the quotes
|
|||
|
and curly braces are matched properly, which is very handy.
|
|||
|
|
|||
|
<br>
|
|||
|
</p></td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td colspan="2" bgcolor="#CCCCCC"><img src="images/span2.gif" style="width: 397px; height: 8px; float: left;"></td>
|
|||
|
</tr>
|
|||
|
</tbody></table>
|
|||
|
|
|||
|
<table border="0" cellpadding="0" cellspacing="0" width="770">
|
|||
|
<tbody><tr>
|
|||
|
<td align="left" class="legalese">Copyright <20> 2004 <a href="http://www.idsoftware.com/">id software</a></td>
|
|||
|
</tr>
|
|||
|
</tbody></table>
|
|||
|
|
|||
|
|
|||
|
</body></html>
|