Merged from revision: 2019

Externalized keys and locks to xml (by anv)
- Locks (TableData/Items/Locks.xml): Originally 64 locks were kept in BinaryData/LOCKS.BIN. Now up to 255 locks can be specified in TableData/Locks.xml. If it isn't found, LOCKS.BIN will be loaded normally.
- Keys (TableData/Items/Keys.xml): Originally 10 keys were hardcoded in KeyTable[]. Now up to 255 keys can be specified in TableData/Keys.xml. If it isn't found, hardcoded array will be used normally. 
see: http://www.bears-pit.com/board/ubbthreads.php/topics/331900.html

git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@2020 4f8fa57e-7814-0410-bad4-adc449f26b7c
This commit is contained in:
Wanne
2014-04-24 18:36:11 +00:00
parent 4d20f08479
commit 5af555b378
2 changed files with 2111 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
<KEYS>
<KEY>
<!-- index, 0-254 -->
<ubIndex>0</ubIndex>
<!-- number of corresponding item in Items.xml -->
<usItem>271</usItem>
<!-- fFlags, usSectorFound and usDateFound are set in game -->
</KEY>
<KEY>
<ubIndex>1</ubIndex>
<usItem>272</usItem>
</KEY>
<KEY>
<ubIndex>2</ubIndex>
<usItem>273</usItem>
</KEY>
<KEY>
<ubIndex>3</ubIndex>
<usItem>274</usItem>
</KEY>
<KEY>
<ubIndex>4</ubIndex>
<usItem>275</usItem>
</KEY>
<KEY>
<ubIndex>5</ubIndex>
<usItem>276</usItem>
</KEY>
<KEY>
<ubIndex>6</ubIndex>
<usItem>277</usItem>
</KEY>
<KEY>
<ubIndex>7</ubIndex>
<usItem>278</usItem>
</KEY>
<KEY>
<ubIndex>8</ubIndex>
<usItem>279</usItem>
</KEY>
<KEY>
<ubIndex>9</ubIndex>
<usItem>280</usItem>
</KEY>
</KEYS>
File diff suppressed because it is too large Load Diff