Add original source, circa 2006
@@ -1,179 +0,0 @@
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 46
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx
|
||||
END
|
||||
Deceased - Attack Front.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 80
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Deceased%20-%20Attack%20Front.gif
|
||||
END
|
||||
Deceased - Attack Rear.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 79
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Deceased%20-%20Attack%20Rear.gif
|
||||
END
|
||||
Mog - Walk Right.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 73
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Mog%20-%20Walk%20Right.gif
|
||||
END
|
||||
Deceased - Up.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 68
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Deceased%20-%20Up.gif
|
||||
END
|
||||
Mog - Back.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 65
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Mog%20-%20Back.gif
|
||||
END
|
||||
CompanySplash.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 64
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/CompanySplash.gif
|
||||
END
|
||||
Thumbs.db
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 56
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Thumbs.db
|
||||
END
|
||||
MainScreen.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 61
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/MainScreen.gif
|
||||
END
|
||||
Deceased - Left.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 70
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Deceased%20-%20Left.gif
|
||||
END
|
||||
Deceased - Walk Right.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 78
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Deceased%20-%20Walk%20Right.gif
|
||||
END
|
||||
Mog - Walk Front.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 73
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Mog%20-%20Walk%20Front.gif
|
||||
END
|
||||
Deceased - Dead.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 70
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Deceased%20-%20Dead.gif
|
||||
END
|
||||
ToolSplash.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 61
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/ToolSplash.gif
|
||||
END
|
||||
Mog - Walk Left.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 72
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Mog%20-%20Walk%20Left.gif
|
||||
END
|
||||
Mog - Action.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 67
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Mog%20-%20Action.gif
|
||||
END
|
||||
Credits.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 58
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Credits.gif
|
||||
END
|
||||
Mog - Right.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 66
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Mog%20-%20Right.gif
|
||||
END
|
||||
lst
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 50
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/lst
|
||||
END
|
||||
Mog - Walk Back.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 72
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Mog%20-%20Walk%20Back.gif
|
||||
END
|
||||
Deceased - Walk Front.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 78
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Deceased%20-%20Walk%20Front.gif
|
||||
END
|
||||
Deceased - Down.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 70
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Deceased%20-%20Down.gif
|
||||
END
|
||||
Mog - Status.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 67
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Mog%20-%20Status.gif
|
||||
END
|
||||
Deceased - Walk Left.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 77
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Deceased%20-%20Walk%20Left.gif
|
||||
END
|
||||
Mog - Walk Front.old.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 77
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Mog%20-%20Walk%20Front.old.gif
|
||||
END
|
||||
samplebg.jpg
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 59
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/samplebg.jpg
|
||||
END
|
||||
Deceased - Right.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 71
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Deceased%20-%20Right.gif
|
||||
END
|
||||
Mog - Front.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 66
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Mog%20-%20Front.gif
|
||||
END
|
||||
Deceased - Walk Back.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 77
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Deceased%20-%20Walk%20Back.gif
|
||||
END
|
||||
Mog - Left.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 65
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Mog%20-%20Left.gif
|
||||
END
|
||||
1020
gfx/.svn/entries
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 679 B |
|
Before Width: | Height: | Size: 577 B |
|
Before Width: | Height: | Size: 683 B |
|
Before Width: | Height: | Size: 796 B |
|
Before Width: | Height: | Size: 718 B |
|
Before Width: | Height: | Size: 796 B |
|
Before Width: | Height: | Size: 718 B |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 333 B |
|
Before Width: | Height: | Size: 290 B |
|
Before Width: | Height: | Size: 330 B |
|
Before Width: | Height: | Size: 340 B |
|
Before Width: | Height: | Size: 395 B |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 970 B |
|
Before Width: | Height: | Size: 1004 B |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 63 KiB |
@@ -1,11 +0,0 @@
|
||||
./Deceased - Walk Back.gif
|
||||
./Deceased - Walk Front.gif
|
||||
./Deceased - Down.gif
|
||||
./Deceased - Attack Front.gif
|
||||
./Deceased - Attack Rear.gif
|
||||
./Deceased - Walk Left.gif
|
||||
./Deceased - Walk Right.gif
|
||||
./Deceased - Up.gif
|
||||
./Deceased - Left.gif
|
||||
./Deceased - Dead.gif
|
||||
./Deceased - Right.gif
|
||||
|
Before Width: | Height: | Size: 72 KiB |
@@ -1,23 +0,0 @@
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 50
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/CVS
|
||||
END
|
||||
Repository
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 61
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/CVS/Repository
|
||||
END
|
||||
Root
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 55
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/CVS/Root
|
||||
END
|
||||
Entries
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 58
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/CVS/Entries
|
||||
END
|
||||
@@ -1,130 +0,0 @@
|
||||
10
|
||||
|
||||
dir
|
||||
44
|
||||
https://127.0.0.1/svn/aklabs/trunk/MogsAdventure/gfx/CVS
|
||||
https://127.0.0.1/svn/aklabs
|
||||
|
||||
|
||||
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
eb184899-6090-47d4-a65b-558f62f6ea1c
|
||||
|
||||
Repository
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:52.104498Z
|
||||
b79c17515f70368d1ec288073c1a154d
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
24
|
||||
|
||||
Root
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:52.104498Z
|
||||
7af14a164593104c1e7a07a572dd352a
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
24
|
||||
|
||||
Entries
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:52.104498Z
|
||||
a8926a6569d2d7bee3762a3d8e171032
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
1557
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
/CompanySplash.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Credits.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Attack Front.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Attack Rear.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Dead.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Down.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Left.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Right.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Up.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Walk Back.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Walk Front.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Walk Left.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Walk Right.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/MainScreen.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Action.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Back.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Front.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Left.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Right.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Status.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Walk Back.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Walk Front.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Walk Front.old.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Walk Left.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Walk Right.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/ToolSplash.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/lst/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/samplebg.jpg/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
D/Levels////
|
||||
@@ -1 +0,0 @@
|
||||
games/MogsAdventure/gfx
|
||||
@@ -1 +0,0 @@
|
||||
andrew@gabbo:/home/cvsd
|
||||
@@ -1,29 +0,0 @@
|
||||
/CompanySplash.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Credits.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Attack Front.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Attack Rear.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Dead.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Down.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Left.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Right.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Up.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Walk Back.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Walk Front.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Walk Left.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Deceased - Walk Right.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/MainScreen.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Action.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Back.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Front.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Left.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Right.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Status.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Walk Back.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Walk Front.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Walk Front.old.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Walk Left.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/Mog - Walk Right.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/ToolSplash.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/lst/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/samplebg.jpg/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
D/Levels////
|
||||
@@ -1 +0,0 @@
|
||||
games/MogsAdventure/gfx
|
||||
@@ -1 +0,0 @@
|
||||
andrew@gabbo:/home/cvsd
|
||||
@@ -1,5 +0,0 @@
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 53
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Levels
|
||||
END
|
||||
@@ -1,34 +0,0 @@
|
||||
10
|
||||
|
||||
dir
|
||||
44
|
||||
https://127.0.0.1/svn/aklabs/trunk/MogsAdventure/gfx/Levels
|
||||
https://127.0.0.1/svn/aklabs
|
||||
|
||||
|
||||
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
eb184899-6090-47d4-a65b-558f62f6ea1c
|
||||
|
||||
level1
|
||||
dir
|
||||
|
||||
CVS
|
||||
dir
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 57
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Levels/CVS
|
||||
END
|
||||
Repository
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 68
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Levels/CVS/Repository
|
||||
END
|
||||
Root
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 62
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Levels/CVS/Root
|
||||
END
|
||||
Entries
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 65
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Levels/CVS/Entries
|
||||
END
|
||||
@@ -1,130 +0,0 @@
|
||||
10
|
||||
|
||||
dir
|
||||
44
|
||||
https://127.0.0.1/svn/aklabs/trunk/MogsAdventure/gfx/Levels/CVS
|
||||
https://127.0.0.1/svn/aklabs
|
||||
|
||||
|
||||
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
eb184899-6090-47d4-a65b-558f62f6ea1c
|
||||
|
||||
Repository
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:51.963873Z
|
||||
3a4089781216492d86ff159e23886fbf
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
31
|
||||
|
||||
Root
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:51.963873Z
|
||||
7af14a164593104c1e7a07a572dd352a
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
24
|
||||
|
||||
Entries
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:51.979498Z
|
||||
f6c00464f17c6336d420fc70924e3184
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
13
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
D/level1////
|
||||
@@ -1 +0,0 @@
|
||||
games/MogsAdventure/gfx/Levels
|
||||
@@ -1 +0,0 @@
|
||||
andrew@gabbo:/home/cvsd
|
||||
@@ -1 +0,0 @@
|
||||
D/level1////
|
||||
@@ -1 +0,0 @@
|
||||
games/MogsAdventure/gfx/Levels
|
||||
@@ -1 +0,0 @@
|
||||
andrew@gabbo:/home/cvsd
|
||||
@@ -1,23 +0,0 @@
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 60
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Levels/level1
|
||||
END
|
||||
floor.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 70
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Levels/level1/floor.gif
|
||||
END
|
||||
Thumbs.db
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 70
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Levels/level1/Thumbs.db
|
||||
END
|
||||
walls.gif
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 70
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Levels/level1/walls.gif
|
||||
END
|
||||
@@ -1,133 +0,0 @@
|
||||
10
|
||||
|
||||
dir
|
||||
44
|
||||
https://127.0.0.1/svn/aklabs/trunk/MogsAdventure/gfx/Levels/level1
|
||||
https://127.0.0.1/svn/aklabs
|
||||
|
||||
|
||||
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
eb184899-6090-47d4-a65b-558f62f6ea1c
|
||||
|
||||
floor.gif
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:51.807623Z
|
||||
6b4605b1b0c7fac7092236f29dbc3fca
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
has-props
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
180652
|
||||
|
||||
Thumbs.db
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:51.807623Z
|
||||
dc1e19f351750387fbbd0fe02ea21885
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
has-props
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
8192
|
||||
|
||||
walls.gif
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:51.823248Z
|
||||
e68097ea100068f2a5615d48b7b67fba
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
has-props
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
52136
|
||||
|
||||
CVS
|
||||
dir
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
@@ -1,5 +0,0 @@
|
||||
K 13
|
||||
svn:mime-type
|
||||
V 24
|
||||
application/octet-stream
|
||||
END
|
||||
|
Before Width: | Height: | Size: 176 KiB |
|
Before Width: | Height: | Size: 51 KiB |
@@ -1,23 +0,0 @@
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 64
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Levels/level1/CVS
|
||||
END
|
||||
Repository
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 75
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Levels/level1/CVS/Repository
|
||||
END
|
||||
Root
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 69
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Levels/level1/CVS/Root
|
||||
END
|
||||
Entries
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 72
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/gfx/Levels/level1/CVS/Entries
|
||||
END
|
||||
@@ -1,130 +0,0 @@
|
||||
10
|
||||
|
||||
dir
|
||||
44
|
||||
https://127.0.0.1/svn/aklabs/trunk/MogsAdventure/gfx/Levels/level1/CVS
|
||||
https://127.0.0.1/svn/aklabs
|
||||
|
||||
|
||||
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
eb184899-6090-47d4-a65b-558f62f6ea1c
|
||||
|
||||
Repository
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:51.776373Z
|
||||
eebf877e24d6488d463a8198e243d779
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
38
|
||||
|
||||
Root
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:51.776373Z
|
||||
7af14a164593104c1e7a07a572dd352a
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
24
|
||||
|
||||
Entries
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:51.776373Z
|
||||
ea4ec0721ce48298f97e3373fc8c79d9
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
94
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
/floor.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/walls.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
D
|
||||
@@ -1 +0,0 @@
|
||||
games/MogsAdventure/gfx/Levels/level1
|
||||
@@ -1 +0,0 @@
|
||||
andrew@gabbo:/home/cvsd
|
||||
@@ -1,3 +0,0 @@
|
||||
/floor.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
/walls.gif/1.1.1.1/Sat Dec 31 23:55:08 2005//
|
||||
D
|
||||
@@ -1 +0,0 @@
|
||||
games/MogsAdventure/gfx/Levels/level1
|
||||
@@ -1 +0,0 @@
|
||||
andrew@gabbo:/home/cvsd
|
||||
@@ -1,41 +0,0 @@
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 46
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/src
|
||||
END
|
||||
MogCommon.h
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 58
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/src/MogCommon.h
|
||||
END
|
||||
main.cpp
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 55
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/src/main.cpp
|
||||
END
|
||||
Actor.cpp
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 56
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/src/Actor.cpp
|
||||
END
|
||||
Makefile
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 55
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/src/Makefile
|
||||
END
|
||||
Actor.h
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 54
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/src/Actor.h
|
||||
END
|
||||
bugs.txt
|
||||
K 25
|
||||
svn:wc:ra_dav:version-url
|
||||
V 55
|
||||
/svn/aklabs/!svn/ver/4/trunk/MogsAdventure/src/bugs.txt
|
||||
END
|
||||
238
src/.svn/entries
@@ -1,238 +0,0 @@
|
||||
10
|
||||
|
||||
dir
|
||||
44
|
||||
https://127.0.0.1/svn/aklabs/trunk/MogsAdventure/src
|
||||
https://127.0.0.1/svn/aklabs
|
||||
|
||||
|
||||
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
eb184899-6090-47d4-a65b-558f62f6ea1c
|
||||
|
||||
MogCommon.h
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:53.385748Z
|
||||
c9039651571ef772060dcaea834d191d
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
368
|
||||
|
||||
main.cpp
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:53.385748Z
|
||||
5c499c5fcea733b2d91b22f213eab9b6
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
5094
|
||||
|
||||
Actor.cpp
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:53.385748Z
|
||||
6b86c5a89316fceb407a1b040d8c2ab6
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
11006
|
||||
|
||||
CVS
|
||||
dir
|
||||
|
||||
exampleINI
|
||||
dir
|
||||
|
||||
Makefile
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:53.385748Z
|
||||
dd1afb701dd2545bd1d3af3e9e683881
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
1844
|
||||
|
||||
Actor.h
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:53.401373Z
|
||||
5babb2aa6f5116d57bc7090275c82383
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
3320
|
||||
|
||||
bugs.txt
|
||||
file
|
||||
|
||||
|
||||
|
||||
|
||||
2010-02-05T03:37:53.401373Z
|
||||
57445286ad8b926d083c2852877554ac
|
||||
2007-05-26T21:27:56.375027Z
|
||||
4
|
||||
andrew
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
171
|
||||
|
||||
@@ -1,496 +0,0 @@
|
||||
/*******************************************************************
|
||||
*
|
||||
* DESCRIPTION: Code for actors and sprites
|
||||
*
|
||||
* AUTHOR: Andrew Kesterson andrew@aklabs.net
|
||||
*
|
||||
* HISTORY: $Log: Actor.cpp,v $
|
||||
* HISTORY: Revision 1.2 2006/01/01 19:10:00 andrew
|
||||
* HISTORY: Added Robert's STLINI library and started work on the ConfigEngine. Moved some definitions around, and changed the order of includes to prevent broken declaration/definitions.
|
||||
* HISTORY:
|
||||
*
|
||||
* DATE:12/31/2005
|
||||
*
|
||||
*******************************************************************/
|
||||
|
||||
/** include files **/
|
||||
|
||||
#include "MogCommon.h"
|
||||
|
||||
#warning This file still contains FIXMEs.
|
||||
|
||||
/** local definitions **/
|
||||
|
||||
/* default settings */
|
||||
|
||||
/** external functions **/
|
||||
|
||||
/** external data **/
|
||||
|
||||
/** internal functions **/
|
||||
|
||||
// returns true if flag y in bitmask x
|
||||
#define HASBIT(x, y) (x & y == y)
|
||||
// toggles flag y in bitmask x
|
||||
#define TOGGLEBIT(x, y) (x = x ^ y)
|
||||
void moveBBox(BoundingBox *bbox, int x, int y);
|
||||
|
||||
/** public data **/
|
||||
|
||||
/** private data **/
|
||||
|
||||
/** public functions **/
|
||||
|
||||
/** private functions **/
|
||||
|
||||
|
||||
void moveBBox(BoundingBox *bbox, int x, int y)
|
||||
{
|
||||
if (bbox != NULL) {
|
||||
bbox->sx += x;
|
||||
bbox->sy += y;
|
||||
}
|
||||
}
|
||||
|
||||
ActorCmd::ActorCmd()
|
||||
{
|
||||
this->cmd = 0;
|
||||
this->cmdFlags = 0;
|
||||
this->target = 0;
|
||||
}
|
||||
|
||||
ActorCmd::ActorCmd(unsigned int c, unsigned int cf, void *t)
|
||||
{
|
||||
this->cmd = c;
|
||||
this->cmdFlags = cf;
|
||||
this->target = t;
|
||||
}
|
||||
|
||||
Sprite2D::Sprite2D()
|
||||
{
|
||||
this->bitmap = NULL;
|
||||
this->fh = 0;
|
||||
this->fw = 0;
|
||||
this->numframes = 0;
|
||||
this->frameticks = 0;
|
||||
}
|
||||
|
||||
Sprite2D::Sprite2D(char *gfxname, long ticks, int frames, int fw, int fh)
|
||||
{
|
||||
this->init(gfxname,ticks ,frames ,fw ,fh);
|
||||
}
|
||||
|
||||
void Sprite2D::init(char *gfxname, long ticks, int frames, int fw, int fh)
|
||||
{
|
||||
this->bitmap = IMG_Load(gfxname);
|
||||
if ( this->bitmap == NULL ) {
|
||||
cout << "failed to load bitmap : " << gfxname << ".\n";
|
||||
exit(1);
|
||||
}
|
||||
else {
|
||||
this->fh = fh;
|
||||
this->fw = fw;
|
||||
this->numframes = frames;
|
||||
this->frameticks = ticks;
|
||||
}
|
||||
}
|
||||
|
||||
int Sprite2D::getfh()
|
||||
{
|
||||
return this->fh;
|
||||
}
|
||||
|
||||
int Sprite2D::getfw()
|
||||
{
|
||||
return this->fw;
|
||||
}
|
||||
|
||||
int Sprite2D::getframes()
|
||||
{
|
||||
return this->numframes;
|
||||
}
|
||||
|
||||
int Sprite2D::getticks()
|
||||
{
|
||||
return this->frameticks;
|
||||
}
|
||||
|
||||
void Sprite2D::drawFrame(SDL_Surface *canvas, int frame, int px, int py, int flip)
|
||||
{
|
||||
int sx, sy;
|
||||
|
||||
sx = 0 + (this->fw * frame);
|
||||
sy = 0;
|
||||
|
||||
if ( this->bitmap == NULL ) {
|
||||
cout << "I was passed a NULL bitmap. EEK! (the cat)\n";
|
||||
}
|
||||
|
||||
// check for out of bounds image copy
|
||||
if ( sx > this->bitmap->w || sy > this->bitmap->h) {
|
||||
// EEK! (the cat)
|
||||
// re-call this with frame 0 and return
|
||||
drawFrame(canvas, 0,px,py, flip);
|
||||
return;
|
||||
}
|
||||
|
||||
if ( flip == 0) {
|
||||
// don't flip
|
||||
// (deprecated, I need to get rid of this)
|
||||
SDL_Rect srcrect = {sx, sy, this->fw, this->fh};
|
||||
SDL_Rect dstrect = {px, py, this->fw, this->fh};
|
||||
SDL_BlitSurface(this->bitmap, &srcrect, canvas , &dstrect);
|
||||
}
|
||||
else if ( flip == 1 ) {
|
||||
// mirror X
|
||||
}
|
||||
else if ( flip == 2 ) {
|
||||
// flip Y
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Sprite2D::~Sprite2D()
|
||||
{
|
||||
if ( this->bitmap != NULL ) {
|
||||
SDL_FreeSurface(this->bitmap);
|
||||
}
|
||||
}
|
||||
|
||||
Actor2D::Actor2D()
|
||||
{
|
||||
this->sprite = NULL;
|
||||
this->init(NULL, 0);
|
||||
}
|
||||
|
||||
Actor2D::Actor2D(Sprite2D *spr, float speedOverride)
|
||||
{
|
||||
this->init(spr,speedOverride );
|
||||
}
|
||||
|
||||
// FIXME: change the speedOverride stuff to use the new array, instead of
|
||||
// a constant override.
|
||||
void Actor2D::init(Sprite2D *spr, float speedOverride)
|
||||
{
|
||||
for ( int i = 0; i < NUMSTATES; i++ ) {
|
||||
this->stateSprites[i] = NULL;
|
||||
// NULL sprites in the stateSprites will make
|
||||
// the sprite use its default sprite (spr)
|
||||
}
|
||||
if ( spr != NULL ) {
|
||||
this->sprite = spr;
|
||||
this->bbox.w = this->sprite->getfw();
|
||||
this->bbox.h = this->sprite->getfh();
|
||||
}
|
||||
//this->animSpeedOverride = speedOverride;
|
||||
this->animCurrFrame = 0;
|
||||
this->animCurrTicks = 0;
|
||||
this->bbox.sx = this->px = 0;
|
||||
this->bbox.sy = this->py = 0;
|
||||
this->lastTicks = 0;
|
||||
this->vx = 0;
|
||||
this->vy = 0;
|
||||
this->state = 0;
|
||||
}
|
||||
|
||||
int Actor2D::getpx()
|
||||
{
|
||||
return px;
|
||||
}
|
||||
|
||||
int Actor2D::getpy()
|
||||
{
|
||||
return py;
|
||||
}
|
||||
|
||||
int Actor2D::getvx()
|
||||
{
|
||||
return vx;
|
||||
}
|
||||
|
||||
int Actor2D::getvy()
|
||||
{
|
||||
return vy;
|
||||
}
|
||||
|
||||
void Actor2D::move(int x, int y)
|
||||
{
|
||||
px += x;
|
||||
py += y;
|
||||
}
|
||||
|
||||
void Actor2D::moveAbs(int x, int y)
|
||||
{
|
||||
px = x;
|
||||
py = y;
|
||||
}
|
||||
|
||||
void Actor2D::setVelocity(int x, int y)
|
||||
{
|
||||
vx = x;
|
||||
vy = y;
|
||||
}
|
||||
|
||||
void Actor2D::update()
|
||||
{
|
||||
//long newticks = SDL_GetTicks();
|
||||
long newticks = clock();
|
||||
long elapsed = newticks - this->lastTicks;
|
||||
this->lastTicks = newticks;
|
||||
|
||||
static long lastState = this->state;
|
||||
lastState = this->state;
|
||||
|
||||
this->procQueue();
|
||||
|
||||
if ( this->hasState(ACTOR_MOVELEFT) ) this->px -= this->vx;
|
||||
if ( this->hasState(ACTOR_MOVERIGHT) ) this->px += this->vx;
|
||||
if ( this->hasState(ACTOR_MOVEDOWN) ) this->py += this->vy;
|
||||
if ( this->hasState(ACTOR_MOVEUP) ) this->py -= this->vy;
|
||||
|
||||
|
||||
// FIXME: Sprite timing is semi-broken.
|
||||
if ( elapsed >= sprite->getticks() && sprite->getframes() > 1 && sprite != NULL ) {
|
||||
this->animCurrFrame++;
|
||||
if ( this->animCurrFrame >= sprite->getframes() ) {
|
||||
this->animCurrFrame = 0;
|
||||
}
|
||||
}
|
||||
|
||||
moveBBox(&this->bbox, this->vx, this->vy);
|
||||
}
|
||||
|
||||
void Actor2D::render(SDL_Surface *canvas)
|
||||
{
|
||||
this->sprite->drawFrame(canvas, this->animCurrFrame,
|
||||
this->px, this->py, 0);
|
||||
}
|
||||
|
||||
long Actor2D::getState()
|
||||
{
|
||||
return this->state;
|
||||
}
|
||||
|
||||
void Actor2D::setState(long state)
|
||||
{
|
||||
this->state = state;
|
||||
}
|
||||
|
||||
void Actor2D::addState(long newstate)
|
||||
{
|
||||
if (this->hasState(newstate)) return;
|
||||
else this->state = this->state | newstate;
|
||||
}
|
||||
|
||||
void Actor2D::delState(long oldstate)
|
||||
{
|
||||
if ( this->hasState(oldstate) ) {
|
||||
this->state = this->state ^ oldstate;
|
||||
}
|
||||
else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
int Actor2D::hasState(long checkstate)
|
||||
{
|
||||
if ( (this->state & checkstate) == checkstate) {
|
||||
return true;
|
||||
}
|
||||
else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
void Actor2D::setSprite(Sprite2D *spr)
|
||||
{
|
||||
if ( this->sprite != spr && spr != NULL ) {
|
||||
this->sprite = spr;
|
||||
this->animCurrTicks = 0;
|
||||
this->animCurrFrame = 0;
|
||||
this->lastTicks = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void Actor2D::setStateSprite(Sprite2D *spr, long state)
|
||||
{
|
||||
if ( spr != NULL ) {
|
||||
this->stateSprites[state] = spr;
|
||||
}
|
||||
}
|
||||
|
||||
void Actor2D::command(int cmd, int flags, void *target)
|
||||
{
|
||||
this->cmdList.push(ActorCmd(cmd, flags, target));
|
||||
}
|
||||
|
||||
void Actor2D::command(ActorCmd cmd)
|
||||
{
|
||||
this->cmdList.push(cmd);
|
||||
}
|
||||
|
||||
void Actor2D::procQueue()
|
||||
{
|
||||
ActorCmd cmd;
|
||||
Sprite2D *n = NULL;
|
||||
// process the actor's command queue
|
||||
while ( !this->cmdList.empty() ) {
|
||||
cmd = this->cmdList.front();
|
||||
switch ( cmd.cmd ) {
|
||||
case ACTOR_MOVELEFT:
|
||||
this->addState(ACTOR_MOVELEFT);
|
||||
this->setSprite(this->stateSprites[ACTOR_MOVELEFT]);
|
||||
break;
|
||||
case ACTOR_MOVERIGHT:
|
||||
this->addState(ACTOR_MOVERIGHT);
|
||||
this->setSprite(this->stateSprites[ACTOR_MOVERIGHT]);
|
||||
break;
|
||||
case ACTOR_MOVEDOWN:
|
||||
this->addState(ACTOR_MOVEDOWN);
|
||||
this->setSprite(this->stateSprites[ACTOR_MOVEDOWN]);
|
||||
break;
|
||||
case ACTOR_MOVEUP:
|
||||
this->addState(ACTOR_MOVEUP);
|
||||
this->setSprite(this->stateSprites[ACTOR_MOVEUP]);
|
||||
break;
|
||||
case ACTOR_ATTACK:
|
||||
this->addState(ACTOR_ATTACK);
|
||||
this->setSprite(this->stateSprites[ACTOR_ATTACK]);
|
||||
break;
|
||||
case ACTOR_IDLE:
|
||||
// stop all of the current states
|
||||
if ( !cmd.cmdFlags ) {
|
||||
this->setState(ACTOR_IDLE);
|
||||
}
|
||||
// (or) get rid of any states outlined in the cmdFlags
|
||||
else this->delState(cmd.cmdFlags);
|
||||
|
||||
if ( this->hasState(ACTOR_MOVELEFT) ) {
|
||||
n = this->stateSprites[SPR_STILLLEFT];
|
||||
}
|
||||
else if (this->hasState(ACTOR_MOVERIGHT) ) {
|
||||
n = this->stateSprites[SPR_STILLRIGHT];
|
||||
}
|
||||
else if (this->hasState(ACTOR_MOVEUP) ) {
|
||||
n = this->stateSprites[SPR_STILLUP];
|
||||
}
|
||||
else if ( this->hasState(ACTOR_MOVEDOWN) ) {
|
||||
n = this->stateSprites[SPR_STILLDOWN];
|
||||
}
|
||||
if ( n != NULL ) this->setSprite(n);
|
||||
|
||||
break;
|
||||
case ACTOR_SEEK:
|
||||
this->addState(ACTOR_SEEK);
|
||||
break;
|
||||
case ACTOR_SET_TYPE:
|
||||
this->addState(cmd.cmdFlags);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
this->cmdList.pop();;
|
||||
}
|
||||
}
|
||||
|
||||
bool Actor2D::collidesWith(Actor2D *actor)
|
||||
{
|
||||
if ( ((actor->bbox.sx > this->bbox.sx &&
|
||||
actor->bbox.sx < this->bbox.sx + this->bbox.w) &&
|
||||
(actor->bbox.sy > this->bbox.sy &&
|
||||
actor->bbox.sy < this->bbox.sy + this->bbox.h)) ) {
|
||||
// ^^^ actor is inside of this
|
||||
return false;
|
||||
}
|
||||
else if ((this->bbox.sx > actor->bbox.sx &&
|
||||
this->bbox.sx < actor->bbox.sx + actor->bbox.w) &&
|
||||
(this->bbox.sy > actor->bbox.sy &&
|
||||
this->bbox.sy < actor->bbox.sy + actor->bbox.h)){
|
||||
// ^^^ this is inside of actor
|
||||
return false;
|
||||
}
|
||||
else return true;
|
||||
}
|
||||
|
||||
// FIXME: change the speedOverride stuff to use the new array, instead of
|
||||
// a constant override.
|
||||
AIActor::AIActor(Sprite2D *spr, float speedOverride,
|
||||
unsigned int target, unsigned int maxrange)
|
||||
{
|
||||
this->primTarget = target;
|
||||
this->range = maxrange;
|
||||
this->target = NULL;
|
||||
this->sprite = NULL;
|
||||
this->setSprite(spr);
|
||||
//this->animSpeedOverride = speedOverride;
|
||||
}
|
||||
|
||||
// FIXME: ugly.
|
||||
void AIActor::updateAI(std::vector<Actor2D *> actorList)
|
||||
{
|
||||
// check the state and position of each actor within range of the AI
|
||||
// to see if we need to react to them (ie, if they will change our state)
|
||||
// this is the "default" AI that will wander in the given area until
|
||||
// a creature of the appropriate type walks into the area, and then it will
|
||||
// move to it to attack it
|
||||
|
||||
Actor2D *actor = NULL;
|
||||
unsigned int dist;
|
||||
double dX = 0.00;
|
||||
double dY = 0.00;
|
||||
|
||||
if ( this->target == NULL || (this->target != NULL && this->target->hasState(ACTOR_DEAD))) {
|
||||
for (unsigned int i = 0; i < actorList.size() ; i++ ) {
|
||||
actor = actorList.at(i);
|
||||
if ( actor->hasState(this->primTarget) ) {
|
||||
this->target = actor;
|
||||
break;
|
||||
}
|
||||
else continue;
|
||||
}
|
||||
}
|
||||
|
||||
if ( this->target == NULL ) {
|
||||
this->command(ACTOR_IDLE, 0, NULL);
|
||||
return;
|
||||
}
|
||||
|
||||
// the distance is calculated as the hypotenuse of a triangle between the two sprites and
|
||||
// an imaginary third converging point somewhere at a right angle. There's probly a faster way to
|
||||
// do this.
|
||||
|
||||
dX = this->px - this->target->getpx();
|
||||
dX *= dX;
|
||||
dY = this->py - this->target->getpy();
|
||||
dY *= dY;
|
||||
dist = (unsigned int) sqrt( dX + dY );
|
||||
|
||||
if ( dist < this->range || this->target == actor) {
|
||||
if ( !this->collidesWith(this->target) ) {
|
||||
this->command(ACTOR_IDLE, 0, NULL);
|
||||
if ( this->target->getpx() > this->px ) {
|
||||
this->command(ACTOR_MOVERIGHT, 0, NULL);
|
||||
}
|
||||
else if ( this->target->getpx() < this->px ) {
|
||||
this->command(ACTOR_MOVELEFT, 0, NULL);
|
||||
}
|
||||
if ( this->target->getpy() > this->py ) {
|
||||
this->command(ACTOR_MOVEDOWN, 0, NULL);
|
||||
}
|
||||
if ( this->target->getpy() < this->py ) {
|
||||
this->command(ACTOR_MOVEUP, 0, NULL);
|
||||
}
|
||||
this->command(ACTOR_SEEK, 0, this->target);
|
||||
// do a little cheating here.... (stop the "jitter" effect)
|
||||
if ( dist < (unsigned int) this->vx ) {
|
||||
this->px = target->getpx();
|
||||
}
|
||||
if ( dist < (unsigned int) this->vy ) {
|
||||
this->py = target->getpy();
|
||||
}
|
||||
}
|
||||
else {
|
||||
this->command(ACTOR_ATTACK, 0, this->target);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,136 +0,0 @@
|
||||
#ifndef _ACTOR_H_
|
||||
#define _ACTOR_H_
|
||||
// no, I will NOT use #pragma once. It's not standard. don't ask.
|
||||
|
||||
|
||||
// sprite defines
|
||||
#define SPRANIMS 12 // number of different animations per sprite
|
||||
// stills
|
||||
#define SPR_STILLDOWN 0
|
||||
#define SPR_STILLUP 1
|
||||
#define SPR_STILLLEFT 2
|
||||
#define SPR_STILLRIGHT 3
|
||||
// walkers
|
||||
#define SPR_MOVEDOWN 4
|
||||
#define SPR_MOVEUP 5
|
||||
#define SPR_MOVELEFT 6
|
||||
#define SPR_MOVERIGHT 7
|
||||
// states
|
||||
#define SPR_ATTACK 8
|
||||
#define SPR_DEAD 9
|
||||
#define SPR_USE 10
|
||||
#define SPR_TAKEDAMAGE 11
|
||||
|
||||
|
||||
// state defines
|
||||
#define NUMSTATES 20
|
||||
|
||||
#define ACTOR_MOVELEFT 2
|
||||
#define ACTOR_MOVERIGHT 4
|
||||
#define ACTOR_MOVEUP 8
|
||||
#define ACTOR_MOVEDOWN 16
|
||||
#define ACTOR_IDLE 32
|
||||
#define ACTOR_ATTACK 64
|
||||
#define ACTOR_HIDE 128
|
||||
#define ACTOR_SEEK 256
|
||||
#define ACTOR_DEAD 512
|
||||
#define ACTOR_USE 1024
|
||||
// end the AI+Sprite states, start type states
|
||||
#define ACTOR_TYPE_PLAYER 2048
|
||||
#define ACTOR_TYPE_BADDIE 4096
|
||||
#define ACTOR_TYPE_ITEM 8192
|
||||
#define ACTOR_TYPE_EFFECT 16384
|
||||
// these aren't really states, they're commands
|
||||
#define ACTOR_TAKEDAMAGE 32768
|
||||
#define ACTOR_SET_TYPE 65536
|
||||
|
||||
typedef struct
|
||||
{
|
||||
unsigned int sx, sy, w, h;
|
||||
} BoundingBox;
|
||||
|
||||
struct ActorCmd {
|
||||
unsigned int cmd;
|
||||
unsigned int cmdFlags;
|
||||
void *target;
|
||||
ActorCmd();
|
||||
ActorCmd(unsigned int c, unsigned int cf, void *target);
|
||||
};
|
||||
|
||||
class Sprite2D
|
||||
{
|
||||
protected:
|
||||
SDL_Surface *bitmap;
|
||||
unsigned int fw, fh;
|
||||
unsigned long frameticks;
|
||||
unsigned int numframes;
|
||||
public:
|
||||
Sprite2D();
|
||||
Sprite2D(char *gfxname, long ticks, int frames, int fw, int fh);
|
||||
void init(char *gfxname, long ticks, int frames, int fw, int fh);
|
||||
void drawFrame(SDL_Surface *canvas, int frame, int px, int py, int flip);
|
||||
int getfw();
|
||||
int getfh();
|
||||
int getticks();
|
||||
int getframes();
|
||||
~Sprite2D();
|
||||
};
|
||||
|
||||
class Actor2D
|
||||
{
|
||||
protected:
|
||||
int px, py;
|
||||
int vx, vy;
|
||||
int animCurrFrame;
|
||||
int animCurrTicks;
|
||||
unsigned long lastTicks;
|
||||
float animSpeedOverride;
|
||||
long state;
|
||||
Sprite2D *sprite; // the default sprite
|
||||
Sprite2D *stateSprites[NUMSTATES]; // the per-state sprites
|
||||
std::queue<ActorCmd> cmdList; // FIFO command queue for the actor
|
||||
|
||||
void setState(long state);
|
||||
void addState(long state);
|
||||
void delState(long state);
|
||||
void procQueue();
|
||||
public:
|
||||
BoundingBox bbox;
|
||||
Actor2D();
|
||||
Actor2D(Sprite2D *spr, float speedOverride);
|
||||
void init(Sprite2D *spr, float speedOverride);
|
||||
int getpx();
|
||||
int getpy();
|
||||
int getvx();
|
||||
int getvy();
|
||||
// state manipulation
|
||||
long getState();
|
||||
int hasState(long state);
|
||||
// position and velocity manipulation
|
||||
void move(int x, int y);
|
||||
void moveAbs(int x, int y);
|
||||
void setVelocity(int x, int y);
|
||||
void update();
|
||||
bool collidesWith(Actor2D *actor);
|
||||
// rendering and sprite manipulation
|
||||
void setSprite(Sprite2D *spr);
|
||||
void render(SDL_Surface *canvas);
|
||||
void setStateSprite(Sprite2D *spr, long state);
|
||||
// other stuff
|
||||
void command(int cmd, int flags, void *target);
|
||||
void command(ActorCmd cmd);
|
||||
};
|
||||
|
||||
class AIActor : public Actor2D
|
||||
{
|
||||
protected:
|
||||
unsigned int primTarget; // type of actor it targets
|
||||
unsigned int range; // the range it will pursue the target at
|
||||
Actor2D *target; // the target it's currently moving to
|
||||
public:
|
||||
AIActor(Sprite2D *spr, float speedOverride,
|
||||
unsigned int target, unsigned int maxrange);
|
||||
void updateAI(std::vector<Actor2D *> actorList);
|
||||
};
|
||||
|
||||
#endif // _ACTOR_H_
|
||||
@@ -1,92 +0,0 @@
|
||||
# Visual SlickEdit generated file. Do not edit this file except in designated areas.
|
||||
# -----Begin user-editable area-----
|
||||
|
||||
# -----End user-editable area-----
|
||||
|
||||
# Make command to use for dependencies
|
||||
MAKECMD=gmake
|
||||
|
||||
# If no configuration is specified, "Debug" will be used
|
||||
ifndef "CFG"
|
||||
CFG=Debug
|
||||
endif
|
||||
|
||||
#
|
||||
# Configuration: Debug
|
||||
#
|
||||
ifeq "$(CFG)" "Debug"
|
||||
OUTDIR=Debug
|
||||
OUTFILE=$(OUTDIR)/Mogs-Adventure
|
||||
CFG_INC=
|
||||
CFG_LIB=-lSDL_mixer -lSDL_sound -lSDL_flic -lSDL_net -lSDL_image
|
||||
CFG_OBJ=
|
||||
COMMON_OBJ=$(OUTDIR)/Actor.o $(OUTDIR)/main.o
|
||||
OBJ=$(COMMON_OBJ) $(CFG_OBJ)
|
||||
|
||||
COMPILE=g++ -c -DLINUX -O0 -g3 -ggdb -p -pg -Wall -o "$(OUTDIR)/$(*F).o" $(CFG_INC) "$<" `sdl-config --cflags`
|
||||
LINK=g++ -O0 -g3 -ggdb -p -pg -Wall -o "$(OUTFILE)" $(OBJ) $(CFG_LIB) `sdl-config --libs`
|
||||
|
||||
# Pattern rules
|
||||
$(OUTDIR)/%.o : src/%.cpp
|
||||
$(COMPILE)
|
||||
|
||||
# Build rules
|
||||
all: $(OUTFILE)
|
||||
|
||||
$(OUTFILE): $(OUTDIR) $(OBJ)
|
||||
$(LINK)
|
||||
|
||||
$(OUTDIR):
|
||||
mkdir -p "$(OUTDIR)"
|
||||
|
||||
# Rebuild this project
|
||||
rebuild: cleanall all
|
||||
|
||||
# Clean this project
|
||||
clean:
|
||||
rm -f $(OUTFILE)
|
||||
rm -f $(OBJ)
|
||||
|
||||
# Clean this project and all dependencies
|
||||
cleanall: clean
|
||||
endif
|
||||
|
||||
#
|
||||
# Configuration: Release
|
||||
#
|
||||
ifeq "$(CFG)" "Release"
|
||||
OUTDIR=Release
|
||||
OUTFILE=$(OUTDIR)/Mogs-Adventure
|
||||
CFG_INC=
|
||||
CFG_LIB=-lSDL_mixer -lSDL_sound -lSDL_flic -lSDL_net -lSDL_image
|
||||
CFG_OBJ=
|
||||
COMMON_OBJ=$(OUTDIR)/Actor.o $(OUTDIR)/main.o
|
||||
OBJ=$(COMMON_OBJ) $(CFG_OBJ)
|
||||
|
||||
COMPILE=g++ -c -DLINUX -O2 -o "$(OUTDIR)/$(*F).o" $(CFG_INC) "$<" `sdl-config --cflags`
|
||||
LINK=g++ -O2 -o "$(OUTFILE)" $(OBJ) $(CFG_LIB) `sdl-config --libs`
|
||||
|
||||
# Pattern rules
|
||||
$(OUTDIR)/%.o : src/%.cpp
|
||||
$(COMPILE)
|
||||
|
||||
# Build rules
|
||||
all: $(OUTFILE)
|
||||
|
||||
$(OUTFILE): $(OUTDIR) $(OBJ)
|
||||
$(LINK)
|
||||
|
||||
$(OUTDIR):
|
||||
mkdir -p "$(OUTDIR)"
|
||||
|
||||
# Rebuild this project
|
||||
rebuild: cleanall all
|
||||
|
||||
# Clean this project
|
||||
clean:
|
||||
rm -f $(OUTFILE)
|
||||
rm -f $(OBJ)
|
||||
|
||||
# Clean this project and all dependencies
|
||||
cleanall: clean
|
||||
endif
|
||||
@@ -1,21 +0,0 @@
|
||||
#ifndef _MOGCOMMON_H_
|
||||
#define _MOGCOMMON_H_
|
||||
|
||||
#include <SDL.h>
|
||||
#include <SDL_image.h>
|
||||
// won't need these until later .....
|
||||
//#include <SDL_flic.h>
|
||||
//#include <SDL/SDL_mixer.h>
|
||||
//#include <SDL/SDL_net.h>
|
||||
//#include <SDL/SDL_sound.h>
|
||||
|
||||
#include <iostream>
|
||||
#include <cmath>
|
||||
#include <queue>
|
||||
#include <vector>
|
||||
|
||||
#include "Actor.h"
|
||||
|
||||
using std::cout;
|
||||
|
||||
#endif // _MOGCOMMON_H_
|
||||
@@ -1,3 +0,0 @@
|
||||
Sprite timing is off; sprites will sometimes hold one frame forever, or animate extremely quickly.
|
||||
|
||||
accessing Actor2D::cmdList causes segfault. But only for AIActor ... ?
|
||||