summaryrefslogtreecommitdiff
path: root/NW4RTools/ResFile.cs
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2011-02-04 15:40:12 +0100
committerTreeki <treeki@gmail.com>2011-02-04 15:40:12 +0100
commitdb8fc350b2bffda63d27797bfe7ae4afb4af327e (patch)
treea0a89cd83615e7794d9507d10c329e30c4226670 /NW4RTools/ResFile.cs
downloadnw4rtools-db8fc350b2bffda63d27797bfe7ae4afb4af327e.tar.gz
nw4rtools-db8fc350b2bffda63d27797bfe7ae4afb4af327e.zip
Initial commit of NW4RTools.
Supports BRRES reading for: Model Bytecode, Model Nodes, Model Vertex Data, and incomplete Materials. Writing is completely unimplemented so far.
Diffstat (limited to '')
-rw-r--r--NW4RTools/ResFile.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/NW4RTools/ResFile.cs b/NW4RTools/ResFile.cs
new file mode 100644
index 0000000..865db93
--- /dev/null
+++ b/NW4RTools/ResFile.cs
@@ -0,0 +1,12 @@
+using System;
+
+namespace NW4RTools {
+ public class ResFile : ResDict<object> {
+ public UInt16 version;
+
+ public ResDict<TValue> GetGroup<TValue>(string name) {
+ return this[name] as ResDict<TValue>;
+ }
+ }
+}
+