ifmapper 0.5 → 0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,28 @@
1
1
 
2
+ v0.6 - Fixed a crashing bug when nodes were moved too far to the right or
3
+ to the bottom of the map area.
4
+
5
+ Recoded A* algorithm to fix some bugs and moved it away from FXMap
6
+ class, into its separate class and file.
7
+
8
+ Added cursors for n/nw/w/sw/s/se/e/ne connections. Note, however,
9
+ that the hotspot for the cursors is not working properly (this seems
10
+ an fxruby bug).
11
+
12
+ Added color preferences.
13
+
14
+ Some refactoring and documenting of code.
15
+
16
+ PDF Export is improved. Now map sections will be packed into a
17
+ page when possible. A landscape page will be automatically chosen
18
+ for each section, if it helps fit the map in the page.
19
+ Also, pdf export will now show objects in rooms as well as 'U', 'D',
20
+ 'I', 'O' text in exits.
21
+
22
+ Added the ability to set the map width/height from the Map Information
23
+ panel.
24
+
25
+ Fixed an obscure bug when loading IMF maps that were bigger than the
26
+ default map size.
27
+
2
28
  v0.5 - First public release on Rubyforge.
@@ -2,7 +2,7 @@ require "rubygems"
2
2
 
3
3
  spec = Gem::Specification.new do |spec|
4
4
  spec.name = "ifmapper"
5
- spec.version = '0.5'
5
+ spec.version = '0.6'
6
6
  spec.author = "Gonzalo Garramuno"
7
7
  spec.email = 'GGarramuno@aol.com or ggarram@advance.dsl.com.ar'
8
8
  spec.homepage = 'http://www.rubyforge.org/projects/ifmapper/'
Binary file
@@ -0,0 +1,39 @@
1
+ /* XPM */
2
+ static char * room_right_xpm[] = {
3
+ "32 32 4 1",
4
+ " c #000000",
5
+ ". c #404040",
6
+ "+ c #7F7F7F",
7
+ "@ c #FFFFFF",
8
+ "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
9
+ "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
10
+ "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
11
+ "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@",
12
+ "@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@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,0 +1,40 @@
1
+ /* XPM */
2
+ static char * room_up_xpm[] = {
3
+ "32 32 5 1",
4
+ " c #FFFFFF",
5
+ ". c #000000",
6
+ "+ c #BFBFBF",
7
+ "@ c #7F7F7F",
8
+ "# c #404040",
9
+ " ",
10
+ " ...... ",
11
+ " ...... ",
12
+ " ...... ",
13
+ " ...... ",
14
+ " ...... ",
15
+ " ...... ",
16
+ " ...... ",
17
+ " ...... ",
18
+ " +@@@@@......@@@@@+ ",
19
+ " @#@@@@......@@@@#@ ",
20
+ " @@ @@ ",
21
+ " @@ @@ ",
22
+ " @@ @@ ",
23
+ " @@ @@ ",
24
+ " @@ @@ ",
25
+ " @@ @@ ",
26
+ " @@ @@ ",
27
+ " @@ @@ ",
28
+ " @@ @@ ",
29
+ " @@ @@ ",
30
+ " @#@@@@@@@@@@@@@@#@ ",
31
+ " +@@@@@@@@@@@@@@@@+ ",
32
+ " ",
33
+ " ",
34
+ " ",
35
+ " ",
36
+ " ",
37
+ " ",
38
+ " ",
39
+ " ",
40
+ " "};
Binary file
@@ -0,0 +1,80 @@
1
+ /* XPM */
2
+ static char * room_ne_xpm[] = {
3
+ "32 32 45 1",
4
+ " c #FFFFFF",
5
+ ". c #8F8F8F",
6
+ "+ c #C2C2C2",
7
+ "@ c #CBCBCB",
8
+ "# c #0A0A0A",
9
+ "$ c #070707",
10
+ "% c #898989",
11
+ "& c #FEFEFE",
12
+ "* c #F4F4F4",
13
+ "= c #121212",
14
+ "- c #010101",
15
+ "; c #000000",
16
+ "> c #313131",
17
+ ", c #EDEDED",
18
+ "' c #5B5B5B",
19
+ ") c #090909",
20
+ "! c #030303",
21
+ "~ c #959595",
22
+ "{ c #B8B8B8",
23
+ "] c #0B0B0B",
24
+ "^ c #050505",
25
+ "/ c #3B3B3B",
26
+ "( c #E4E4E4",
27
+ "_ c #0D0D0D",
28
+ ": c #0E0E0E",
29
+ "< c #EEEEEE",
30
+ "[ c #373737",
31
+ "} c #ADADAD",
32
+ "| c #878787",
33
+ "1 c #5F5F5F",
34
+ "2 c #CECECE",
35
+ "3 c #191919",
36
+ "4 c #F3F3F3",
37
+ "5 c #BFBFBF",
38
+ "6 c #7F7F7F",
39
+ "7 c #5C5C5C",
40
+ "8 c #020202",
41
+ "9 c #CDCDCD",
42
+ "0 c #404040",
43
+ "a c #696969",
44
+ "b c #7C7C7C",
45
+ "c c #6D6D6D",
46
+ "d c #1B1B1B",
47
+ "e c #363636",
48
+ "f c #FBFBFB",
49
+ " .+ ",
50
+ " @#$%& ",
51
+ " *=-;$>,",
52
+ " ');;;!~",
53
+ " {];;;^/&",
54
+ " (_;;;;:< ",
55
+ " [^;;;]} ",
56
+ " |#;;;)1 ",
57
+ " 2#;;;-34 ",
58
+ " 5666666666666678;;;)9 ",
59
+ " 606666666666666a!-]b ",
60
+ " 66 cdef ",
61
+ " 66 66 ",
62
+ " 66 66 ",
63
+ " 66 66 ",
64
+ " 66 66 ",
65
+ " 66 66 ",
66
+ " 66 66 ",
67
+ " 66 66 ",
68
+ " 66 66 ",
69
+ " 66 66 ",
70
+ " 606666666666666606 ",
71
+ " 566666666666666665 ",
72
+ " ",
73
+ " ",
74
+ " ",
75
+ " ",
76
+ " ",
77
+ " ",
78
+ " ",
79
+ " ",
80
+ " "};
Binary file
@@ -0,0 +1,80 @@
1
+ /* XPM */
2
+ static char * room_nw_xpm[] = {
3
+ "32 32 45 1",
4
+ " c #FFFFFF",
5
+ ". c #C2C2C2",
6
+ "+ c #8F8F8F",
7
+ "@ c #FEFEFE",
8
+ "# c #898989",
9
+ "$ c #070707",
10
+ "% c #0A0A0A",
11
+ "& c #CBCBCB",
12
+ "* c #EDEDED",
13
+ "= c #313131",
14
+ "- c #000000",
15
+ "; c #010101",
16
+ "> c #121212",
17
+ ", c #F4F4F4",
18
+ "' c #959595",
19
+ ") c #030303",
20
+ "! c #090909",
21
+ "~ c #5B5B5B",
22
+ "{ c #3B3B3B",
23
+ "] c #050505",
24
+ "^ c #0B0B0B",
25
+ "/ c #B8B8B8",
26
+ "( c #EEEEEE",
27
+ "_ c #0E0E0E",
28
+ ": c #0D0D0D",
29
+ "< c #E4E4E4",
30
+ "[ c #ADADAD",
31
+ "} c #373737",
32
+ "| c #5F5F5F",
33
+ "1 c #878787",
34
+ "2 c #F3F3F3",
35
+ "3 c #191919",
36
+ "4 c #CECECE",
37
+ "5 c #CDCDCD",
38
+ "6 c #020202",
39
+ "7 c #5C5C5C",
40
+ "8 c #7F7F7F",
41
+ "9 c #BFBFBF",
42
+ "0 c #7C7C7C",
43
+ "a c #696969",
44
+ "b c #404040",
45
+ "c c #FBFBFB",
46
+ "d c #363636",
47
+ "e c #1B1B1B",
48
+ "f c #6D6D6D",
49
+ " .+ ",
50
+ " @#$%& ",
51
+ "*=$-;>, ",
52
+ "')---!~ ",
53
+ "@{]---^/ ",
54
+ " (_----:< ",
55
+ " [^---]} ",
56
+ " |!---%1 ",
57
+ " 23;---%4 ",
58
+ " 5!---6788888888888889 ",
59
+ " 0^;)a8888888888888b8 ",
60
+ " cdef 88 ",
61
+ " 88 88 ",
62
+ " 88 88 ",
63
+ " 88 88 ",
64
+ " 88 88 ",
65
+ " 88 88 ",
66
+ " 88 88 ",
67
+ " 88 88 ",
68
+ " 88 88 ",
69
+ " 88 88 ",
70
+ " 8b88888888888888b8 ",
71
+ " 988888888888888889 ",
72
+ " ",
73
+ " ",
74
+ " ",
75
+ " ",
76
+ " ",
77
+ " ",
78
+ " ",
79
+ " ",
80
+ " "};
Binary file
@@ -0,0 +1,40 @@
1
+ /* XPM */
2
+ static char * room_down_xpm[] = {
3
+ "32 32 5 1",
4
+ " c #FFFFFF",
5
+ ". c #BFBFBF",
6
+ "+ c #7F7F7F",
7
+ "@ c #404040",
8
+ "# c #000000",
9
+ " ",
10
+ " ",
11
+ " ",
12
+ " ",
13
+ " ",
14
+ " ",
15
+ " ",
16
+ " ",
17
+ " ",
18
+ " .++++++++++++++++. ",
19
+ " +@++++++++++++++@+ ",
20
+ " ++ ++ ",
21
+ " ++ ++ ",
22
+ " ++ ++ ",
23
+ " ++ ++ ",
24
+ " ++ ++ ",
25
+ " ++ ++ ",
26
+ " ++ ++ ",
27
+ " ++ ++ ",
28
+ " ++ ++ ",
29
+ " ++ ++ ",
30
+ " +@++++######++++@+ ",
31
+ " .+++++######+++++. ",
32
+ " ###### ",
33
+ " ###### ",
34
+ " ###### ",
35
+ " ###### ",
36
+ " ###### ",
37
+ " ###### ",
38
+ " ###### ",
39
+ " ###### ",
40
+ " "};
Binary file
@@ -0,0 +1,80 @@
1
+ /* XPM */
2
+ static char * room_se_xpm[] = {
3
+ "32 32 45 1",
4
+ " c #FFFFFF",
5
+ ". c #BFBFBF",
6
+ "+ c #7F7F7F",
7
+ "@ c #404040",
8
+ "# c #6D6D6D",
9
+ "$ c #1B1B1B",
10
+ "% c #363636",
11
+ "& c #FBFBFB",
12
+ "* c #696969",
13
+ "= c #030303",
14
+ "- c #010101",
15
+ "; c #0B0B0B",
16
+ "> c #7C7C7C",
17
+ ", c #5C5C5C",
18
+ "' c #020202",
19
+ ") c #000000",
20
+ "! c #090909",
21
+ "~ c #CDCDCD",
22
+ "{ c #CECECE",
23
+ "] c #0A0A0A",
24
+ "^ c #191919",
25
+ "/ c #F3F3F3",
26
+ "( c #878787",
27
+ "_ c #5F5F5F",
28
+ ": c #373737",
29
+ "< c #050505",
30
+ "[ c #ADADAD",
31
+ "} c #E4E4E4",
32
+ "| c #0D0D0D",
33
+ "1 c #0E0E0E",
34
+ "2 c #EEEEEE",
35
+ "3 c #B8B8B8",
36
+ "4 c #3B3B3B",
37
+ "5 c #FEFEFE",
38
+ "6 c #5B5B5B",
39
+ "7 c #959595",
40
+ "8 c #F4F4F4",
41
+ "9 c #121212",
42
+ "0 c #070707",
43
+ "a c #313131",
44
+ "b c #EDEDED",
45
+ "c c #CBCBCB",
46
+ "d c #898989",
47
+ "e c #8F8F8F",
48
+ "f c #C2C2C2",
49
+ " ",
50
+ " ",
51
+ " ",
52
+ " ",
53
+ " ",
54
+ " ",
55
+ " ",
56
+ " ",
57
+ " ",
58
+ " .++++++++++++++++. ",
59
+ " +@++++++++++++++@+ ",
60
+ " ++ ++ ",
61
+ " ++ ++ ",
62
+ " ++ ++ ",
63
+ " ++ ++ ",
64
+ " ++ ++ ",
65
+ " ++ ++ ",
66
+ " ++ ++ ",
67
+ " ++ ++ ",
68
+ " ++ ++ ",
69
+ " ++ #$%& ",
70
+ " +@+++++++++++++*=-;> ",
71
+ " .+++++++++++++,')))!~ ",
72
+ " {])))-^/ ",
73
+ " (])))!_ ",
74
+ " :<)));[ ",
75
+ " }|))))12 ",
76
+ " 3;)))<45",
77
+ " 6!)))=7",
78
+ " 89-)0ab",
79
+ " c]0d5 ",
80
+ " ef "};
Binary file
@@ -0,0 +1,80 @@
1
+ /* XPM */
2
+ static char * room_sw_xpm[] = {
3
+ "32 32 45 1",
4
+ " c #FFFFFF",
5
+ ". c #BFBFBF",
6
+ "+ c #7F7F7F",
7
+ "@ c #404040",
8
+ "# c #FBFBFB",
9
+ "$ c #363636",
10
+ "% c #1B1B1B",
11
+ "& c #6D6D6D",
12
+ "* c #7C7C7C",
13
+ "= c #0B0B0B",
14
+ "- c #010101",
15
+ "; c #030303",
16
+ "> c #696969",
17
+ ", c #CDCDCD",
18
+ "' c #090909",
19
+ ") c #000000",
20
+ "! c #020202",
21
+ "~ c #5C5C5C",
22
+ "{ c #F3F3F3",
23
+ "] c #191919",
24
+ "^ c #0A0A0A",
25
+ "/ c #CECECE",
26
+ "( c #5F5F5F",
27
+ "_ c #878787",
28
+ ": c #ADADAD",
29
+ "< c #050505",
30
+ "[ c #373737",
31
+ "} c #EEEEEE",
32
+ "| c #0E0E0E",
33
+ "1 c #0D0D0D",
34
+ "2 c #E4E4E4",
35
+ "3 c #FEFEFE",
36
+ "4 c #3B3B3B",
37
+ "5 c #B8B8B8",
38
+ "6 c #959595",
39
+ "7 c #5B5B5B",
40
+ "8 c #EDEDED",
41
+ "9 c #313131",
42
+ "0 c #070707",
43
+ "a c #121212",
44
+ "b c #F4F4F4",
45
+ "c c #898989",
46
+ "d c #CBCBCB",
47
+ "e c #C2C2C2",
48
+ "f c #8F8F8F",
49
+ " ",
50
+ " ",
51
+ " ",
52
+ " ",
53
+ " ",
54
+ " ",
55
+ " ",
56
+ " ",
57
+ " ",
58
+ " .++++++++++++++++. ",
59
+ " +@++++++++++++++@+ ",
60
+ " ++ ++ ",
61
+ " ++ ++ ",
62
+ " ++ ++ ",
63
+ " ++ ++ ",
64
+ " ++ ++ ",
65
+ " ++ ++ ",
66
+ " ++ ++ ",
67
+ " ++ ++ ",
68
+ " ++ ++ ",
69
+ " #$%& ++ ",
70
+ " *=-;>+++++++++++++@+ ",
71
+ " ,')))!~+++++++++++++. ",
72
+ " {]-)))^/ ",
73
+ " (')))^_ ",
74
+ " :=)))<[ ",
75
+ " }|))))12 ",
76
+ "34<)))=5 ",
77
+ "6;)))'7 ",
78
+ "890)-ab ",
79
+ " 3c0^d ",
80
+ " ef "};