summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Noga <Tempus@Spectrum-Song.local>2011-04-10 15:12:59 -0400
committerColin Noga <Tempus@Spectrum-Song.local>2011-04-10 15:12:59 -0400
commit1312c5fb65fb6467b24db06f260bb815eb8909c5 (patch)
treea20da57eff5e9802f1f9f27ad33ac2cfd3ed4b4d
parentc90ef191e101f78f9c68ebc7b8ade24c3a629750 (diff)
parent6e93a3612c2d4ce6e11ab53d2490eb30c0e262bf (diff)
downloadkamek-1312c5fb65fb6467b24db06f260bb815eb8909c5.tar.gz
kamek-1312c5fb65fb6467b24db06f260bb815eb8909c5.zip
Hope I did this right
Diffstat (limited to '')
-rw-r--r--src/spritetex.S219
-rwxr-xr-x[-rw-r--r--]tools/hooks.pycbin5873 -> 6048 bytes
-rw-r--r--tools/mapfile_tool.pycbin5880 -> 0 bytes
-rw-r--r--tools/mwcceppc.idbbin40820897 -> 0 bytes
4 files changed, 114 insertions, 105 deletions
diff --git a/src/spritetex.S b/src/spritetex.S
index d8caf94..504cf5f 100644
--- a/src/spritetex.S
+++ b/src/spritetex.S
@@ -63,242 +63,251 @@ TEX_Bush:
b GetTexFilenameForR5
-# The below was added by Tempus
-
-
+# The below was added by Tempus
+
+
.global TEX_Goomba
TEX_Goomba:
lwz r5, 4(r3)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Barrel
TEX_Barrel:
lwz r5, 4(r30)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Blooper
TEX_Blooper:
lwz r5, 4(r30)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_BigBlock
TEX_BigBlock:
lwz r5, 4(r28)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Thwomp
TEX_Thwomp:
lwz r5, 4(r29)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_GiantBuzzy
TEX_GiantBuzzy:
lwz r5, 4(r29)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Buzzy
TEX_Buzzy:
lwz r5, 4(r29)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_SpikeTop
TEX_SpikeTop:
lwz r5, 4(r29)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Spiny
TEX_Spiny:
lwz r5, 4(r27)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_SpringBlock
TEX_SpringBlock:
lwz r5, 4(r30)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Coaster
TEX_Coaster:
lwz r5, 4(r31)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Koopa
TEX_Koopa:
+<<<<<<< HEAD
lwz r5, 4(r29)
srwi r5, r5, 24
andi. r5, r5, 0xF
+=======
+ lwz r5, 4(r30)
+ andi. r5, r5, 0xF
+>>>>>>> 6e93a3612c2d4ce6e11ab53d2490eb30c0e262bf
b GetTexFilenameForR5
-
-
+
+
.global TEX_Gabon
TEX_Gabon:
lwz r5, 4(r29)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Podoboo
TEX_Podoboo:
lwz r5, 4(r31)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Switch
TEX_Switch:
lwz r5, 4(r29)
srwi r5, r5, 16
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_WiggleShroom
TEX_WiggleShroom:
lwz r5, 4(r30)
# This could be r29, or r28
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Bramball
TEX_Bramball:
lwz r5, 4(r29)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Monty
TEX_Monty:
lwz r5, 4(r29)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_ChainChomp
TEX_ChainChomp:
lwz r5, 4(r29)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Manta
TEX_Manta:
lwz r5, 4(r28)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Parabeetle
TEX_Parabeetle:
lwz r5, 4(r29)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Bomb
TEX_Bomb:
lwz r5, 4(r29)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_CheepA
TEX_CheepA:
lwz r5, 4(r27)
srwi r5, r5, 20
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_CheepB
TEX_CheepB:
lwz r5, 4(r28)
srwi r5, r5, 20
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_CheepC
TEX_CheepC:
lwz r5, 4(r28)
srwi r5, r5, 20
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_CheepChomp
TEX_CheepChomp:
lwz r5, 4(r29)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Boo
TEX_Boo:
lwz r5, 4(r27)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Midway
TEX_Midway:
lwz r5, 4(r29)
srwi r5, r5, 24
+<<<<<<< HEAD
andi. r5, r5, 0xFF
+=======
+ andi. r5, r5, 0xF
+>>>>>>> 6e93a3612c2d4ce6e11ab53d2490eb30c0e262bf
b GetTexFilenameForR5
-
-
+
+
.global TEX_Goal
TEX_Goal:
lwz r5, 4(r30)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_StretchMush
TEX_StretchMush:
lwz r5, 4(r30)
@@ -311,43 +320,43 @@ TEX_StretchMush:
TEX_BlockSlide:
lwz r5, 4(r28)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Spinner
TEX_Spinner:
lwz r5, 4(r30)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_Platforms
TEX_Platforms:
lwz r5, 4(r29)
srwi r5, r5, 4
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_PokeyA
TEX_PokeyA:
lwz r5, 4(r30)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
+
+
.global TEX_PokeyB
TEX_PokeyB:
lwz r5, 4(r29)
srwi r5, r5, 24
- andi. r5, r5, 0xF
+ andi. r5, r5, 0xF
b GetTexFilenameForR5
-
-
-
+
+
+
.data
@@ -355,5 +364,5 @@ TexFilenameBuffer:
.long 0,0,0,0
TexFormatString:
- .string "g3d/t02d.brres"
+ .string "g3d/t%02d.brres"
diff --git a/tools/hooks.pyc b/tools/hooks.pyc
index e345d54..f83e366 100644..100755
--- a/tools/hooks.pyc
+++ b/tools/hooks.pyc
Binary files differ
diff --git a/tools/mapfile_tool.pyc b/tools/mapfile_tool.pyc
deleted file mode 100644
index 0bd4c39..0000000
--- a/tools/mapfile_tool.pyc
+++ /dev/null
Binary files differ
diff --git a/tools/mwcceppc.idb b/tools/mwcceppc.idb
deleted file mode 100644
index c566ef2..0000000
--- a/tools/mwcceppc.idb
+++ /dev/null
Binary files differ