ifmapper 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/IFMapper.gemspec +1 -1
- data/lib/IFMapper/FXMap.rb +4 -4
- data/lib/IFMapper/FXMapperWindow.rb +3 -2
- metadata +129 -149
data/IFMapper.gemspec
CHANGED
@@ -2,7 +2,7 @@ require "rubygems"
|
|
2
2
|
|
3
3
|
spec = Gem::Specification.new do |spec|
|
4
4
|
spec.name = "ifmapper"
|
5
|
-
spec.version = '1.1.
|
5
|
+
spec.version = '1.1.5'
|
6
6
|
spec.author = "Gonzalo Garramuno"
|
7
7
|
spec.email = 'ggarra13@gmail.com'
|
8
8
|
spec.homepage = 'http://www.rubyforge.org/projects/ifmapper/'
|
data/lib/IFMapper/FXMap.rb
CHANGED
@@ -348,9 +348,9 @@ class FXMap < Map
|
|
348
348
|
pt = a.corner(c, 1, dirA)
|
349
349
|
c.pts.push( [ pt[0], pt[1] ] )
|
350
350
|
# Then, add each grid point we calculated
|
351
|
-
c.gpts.each { |
|
352
|
-
x =
|
353
|
-
y =
|
351
|
+
c.gpts.each { |p|
|
352
|
+
x = p[0] * WW + WW / 2
|
353
|
+
y = p[1] * HH + HH / 2
|
354
354
|
c.pts.push([x, y])
|
355
355
|
}
|
356
356
|
# And end with b's corner
|
@@ -997,7 +997,7 @@ class FXMap < Map
|
|
997
997
|
pos = @scrollwindow.position
|
998
998
|
dx = event.last_x - event.win_x
|
999
999
|
dy = event.last_y - event.win_y
|
1000
|
-
if dx != 0 or dy != 0 and
|
1000
|
+
if (dx != 0 or dy != 0) and !(dx == @dx and dy == @dy)
|
1001
1001
|
pos[0] += dx
|
1002
1002
|
pos[1] += dy
|
1003
1003
|
@dx = dx
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
1
2
|
|
2
3
|
|
3
4
|
begin
|
@@ -47,8 +48,8 @@ require 'IFMapper/FXWarningBox'
|
|
47
48
|
class FXMapperWindow < FXMainWindow
|
48
49
|
|
49
50
|
PROGRAM_NAME = "Interactive Fiction Mapper"
|
50
|
-
VERSION = '1.1.
|
51
|
-
AUTHOR = "Gonzalo
|
51
|
+
VERSION = '1.1.5'
|
52
|
+
AUTHOR = "Gonzalo Garramuno"
|
52
53
|
|
53
54
|
@@copy_buffer = nil
|
54
55
|
@@default_options = FXMapperSettings.new
|
metadata
CHANGED
@@ -1,77 +1,69 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ifmapper
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.1.5
|
5
5
|
prerelease:
|
6
|
-
segments:
|
7
|
-
- 1
|
8
|
-
- 1
|
9
|
-
- 4
|
10
|
-
version: 1.1.4
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- Gonzalo Garramuno
|
14
9
|
autorequire:
|
15
10
|
bindir: bin
|
16
11
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
- !ruby/object:Gem::Dependency
|
12
|
+
date: 2012-07-02 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
21
15
|
name: rake-compiler
|
22
|
-
|
23
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
24
17
|
none: false
|
25
|
-
requirements:
|
26
|
-
- -
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 1
|
29
|
-
segments:
|
30
|
-
- 0
|
31
|
-
- 7
|
32
|
-
- 1
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
33
21
|
version: 0.7.1
|
34
22
|
type: :runtime
|
35
|
-
version_requirements: *id001
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: fxruby
|
38
23
|
prerelease: false
|
39
|
-
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.7.1
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: fxruby
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
40
33
|
none: false
|
41
|
-
requirements:
|
42
|
-
- -
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
hash: 15
|
45
|
-
segments:
|
46
|
-
- 1
|
47
|
-
- 6
|
48
|
-
- 0
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
49
37
|
version: 1.6.0
|
50
38
|
type: :runtime
|
51
|
-
version_requirements: *id002
|
52
|
-
- !ruby/object:Gem::Dependency
|
53
|
-
name: pdf-writer
|
54
39
|
prerelease: false
|
55
|
-
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
56
41
|
none: false
|
57
|
-
requirements:
|
58
|
-
- -
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 1.6.0
|
46
|
+
- !ruby/object:Gem::Dependency
|
47
|
+
name: pdf-writer
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
50
|
+
requirements:
|
51
|
+
- - ! '>='
|
52
|
+
- !ruby/object:Gem::Version
|
65
53
|
version: 1.1.1
|
66
54
|
type: :runtime
|
67
|
-
|
68
|
-
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 1.1.1
|
62
|
+
description: ! "\tInteractive Fiction Mapping Tool.\n"
|
69
63
|
email: ggarra13@gmail.com
|
70
64
|
executables: []
|
71
|
-
|
72
65
|
extensions: []
|
73
|
-
|
74
|
-
extra_rdoc_files:
|
66
|
+
extra_rdoc_files:
|
75
67
|
- HISTORY.txt
|
76
68
|
- TODO.txt
|
77
69
|
- docs/en/index.html
|
@@ -86,10 +78,11 @@ extra_rdoc_files:
|
|
86
78
|
- docs/images/IFMapper_main.gif
|
87
79
|
- docs/images/room_description.gif
|
88
80
|
- docs/images/room_small.gif
|
89
|
-
files:
|
81
|
+
files:
|
90
82
|
- IFMapper.rbw
|
91
83
|
- bin/IFMapper
|
92
84
|
- IFMapper.gemspec
|
85
|
+
- lib/IFMapper/GUEReader.rb
|
93
86
|
- lib/IFMapper/AStar.rb
|
94
87
|
- lib/IFMapper/Connection.rb
|
95
88
|
- lib/IFMapper/FXAboutDialogBox.rb
|
@@ -104,20 +97,6 @@ files:
|
|
104
97
|
- lib/IFMapper/FXMapFileDialog.rb
|
105
98
|
- lib/IFMapper/FXMapperSettings.rb
|
106
99
|
- lib/IFMapper/FXMapperWindow.rb
|
107
|
-
- lib/IFMapper/Map.rb
|
108
|
-
- lib/IFMapper/MapPrinting.rb
|
109
|
-
- lib/IFMapper/MapReader.rb
|
110
|
-
- lib/IFMapper/PDFMapExporter.rb
|
111
|
-
- lib/IFMapper/PDFMapExporter_pdfwriter.rb
|
112
|
-
- lib/IFMapper/PDFMapExporter_prawn.rb
|
113
|
-
- lib/IFMapper/Room.rb
|
114
|
-
- lib/IFMapper/Section.rb
|
115
|
-
- lib/IFMapper/TADSReader.rb
|
116
|
-
- lib/IFMapper/TADSWriter.rb
|
117
|
-
- lib/IFMapper/TranscriptDialogBox.rb
|
118
|
-
- lib/IFMapper/TranscriptReader.rb
|
119
|
-
- lib/IFMapper/TrizbortReader.rb
|
120
|
-
- lib/IFMapper/TrizbortWriter.rb
|
121
100
|
- lib/IFMapper/FXPDFMapExporterOptionsDialogBox.rb
|
122
101
|
- lib/IFMapper/FXRoom.rb
|
123
102
|
- lib/IFMapper/FXRoomDialogBox.rb
|
@@ -127,12 +106,25 @@ files:
|
|
127
106
|
- lib/IFMapper/FXSectionDialogBox.rb
|
128
107
|
- lib/IFMapper/FXSpline.rb
|
129
108
|
- lib/IFMapper/FXWarningBox.rb
|
130
|
-
- lib/IFMapper/GUEReader.rb
|
131
109
|
- lib/IFMapper/IFMReader.rb
|
132
110
|
- lib/IFMapper/IFMWriter.rb
|
133
111
|
- lib/IFMapper/Inform7Writer.rb
|
134
112
|
- lib/IFMapper/InformReader.rb
|
135
113
|
- lib/IFMapper/InformWriter.rb
|
114
|
+
- lib/IFMapper/Map.rb
|
115
|
+
- lib/IFMapper/MapPrinting.rb
|
116
|
+
- lib/IFMapper/MapReader.rb
|
117
|
+
- lib/IFMapper/PDFMapExporter.rb
|
118
|
+
- lib/IFMapper/PDFMapExporter_pdfwriter.rb
|
119
|
+
- lib/IFMapper/PDFMapExporter_prawn.rb
|
120
|
+
- lib/IFMapper/Room.rb
|
121
|
+
- lib/IFMapper/Section.rb
|
122
|
+
- lib/IFMapper/TADSReader.rb
|
123
|
+
- lib/IFMapper/TADSWriter.rb
|
124
|
+
- lib/IFMapper/TranscriptDialogBox.rb
|
125
|
+
- lib/IFMapper/TranscriptReader.rb
|
126
|
+
- lib/IFMapper/TrizbortReader.rb
|
127
|
+
- lib/IFMapper/TrizbortWriter.rb
|
136
128
|
- lib/IFMapper/locales/en/Messages.rb
|
137
129
|
- lib/IFMapper/locales/es/Messages.rb
|
138
130
|
- lib/IFMapper/locales/es/Messages_iso-8859-1.rb
|
@@ -142,33 +134,21 @@ files:
|
|
142
134
|
- maps/awaken.ifm
|
143
135
|
- maps/babel.ifm
|
144
136
|
- maps/bse.ifm
|
137
|
+
- maps/Bureaucracy.ifm
|
145
138
|
- maps/change.ifm
|
146
139
|
- maps/curses.ifm
|
147
|
-
- maps/
|
148
|
-
- maps/
|
149
|
-
- maps/
|
150
|
-
- maps/
|
140
|
+
- maps/muse.ifm
|
141
|
+
- maps/paperchase.ifm
|
142
|
+
- maps/Planetfall.ifm
|
143
|
+
- maps/Plundered_Hearts.ifm
|
144
|
+
- maps/Ralph.ifm
|
151
145
|
- maps/Robots_of_Dawn.ifm
|
152
146
|
- maps/Seastalker.ifm
|
153
147
|
- maps/Sherlock.ifm
|
154
148
|
- maps/SoFar.ifm
|
155
149
|
- maps/space_st.ifm
|
156
|
-
- maps/Starcross.ifm
|
157
150
|
- maps/stationfall.ifm
|
158
151
|
- maps/Suspended.ifm
|
159
|
-
- maps/muse.ifm
|
160
|
-
- maps/paperchase.ifm
|
161
|
-
- maps/Planetfall.ifm
|
162
|
-
- maps/Plundered_Hearts.ifm
|
163
|
-
- maps/Ralph.ifm
|
164
|
-
- maps/Hollywood_Hijinx.ifm
|
165
|
-
- maps/Jigsaw.ifm
|
166
|
-
- maps/LGOP.ifm
|
167
|
-
- maps/library.ifm
|
168
|
-
- maps/Mercy.ifm
|
169
|
-
- maps/mindelec.ifm
|
170
|
-
- maps/minster.ifm
|
171
|
-
- maps/Bureaucracy.ifm
|
172
152
|
- maps/theatre.ifm
|
173
153
|
- maps/toonesia.ifm
|
174
154
|
- maps/tortoise.ifm
|
@@ -182,6 +162,18 @@ files:
|
|
182
162
|
- maps/Zork2.ifm
|
183
163
|
- maps/Zork3.ifm
|
184
164
|
- maps/Zork_Zero.ifm
|
165
|
+
- maps/edifice.ifm
|
166
|
+
- maps/frozen.ifm
|
167
|
+
- maps/glow.ifm
|
168
|
+
- maps/Hollywood_Hijinx.ifm
|
169
|
+
- maps/Jigsaw.ifm
|
170
|
+
- maps/LGOP.ifm
|
171
|
+
- maps/library.ifm
|
172
|
+
- maps/Mercy.ifm
|
173
|
+
- maps/mindelec.ifm
|
174
|
+
- maps/minster.ifm
|
175
|
+
- maps/curves.ifm
|
176
|
+
- maps/Starcross.ifm
|
185
177
|
- maps/A New Life.map
|
186
178
|
- maps/AllRoads.map
|
187
179
|
- maps/AMFV.map
|
@@ -201,6 +193,45 @@ files:
|
|
201
193
|
- maps/Chronicler.map
|
202
194
|
- maps/CityOfSecrets.map
|
203
195
|
- maps/Condemned.map
|
196
|
+
- maps/moonmist.map
|
197
|
+
- maps/muldoon_legacy.map
|
198
|
+
- maps/Ninjas_Fate.map
|
199
|
+
- maps/party.map
|
200
|
+
- maps/pawn.map
|
201
|
+
- maps/Pen_and_Paint.map
|
202
|
+
- maps/photograph.map
|
203
|
+
- maps/pkgirl.map
|
204
|
+
- maps/Planetfall.map
|
205
|
+
- maps/Plundered_Hearts.map
|
206
|
+
- maps/pytho.map
|
207
|
+
- maps/QuietEvening.map
|
208
|
+
- maps/Reliques_of_Tolti_Alph.map
|
209
|
+
- maps/Revolution.map
|
210
|
+
- maps/risorgimento.map
|
211
|
+
- maps/SavoirFare.map
|
212
|
+
- maps/Seastalker.map
|
213
|
+
- maps/sherbet.map
|
214
|
+
- maps/simple.map
|
215
|
+
- maps/slouch.map
|
216
|
+
- maps/Spelunker's_Quest.map
|
217
|
+
- maps/splashdown.map
|
218
|
+
- maps/spring.map
|
219
|
+
- maps/squarecircle.map
|
220
|
+
- maps/Tangle.map
|
221
|
+
- maps/The_Blind_House.map
|
222
|
+
- maps/The_Lost_Islands_of_Alabaz.map
|
223
|
+
- maps/The_Lost_Sheep.map
|
224
|
+
- maps/trinity.map
|
225
|
+
- maps/Unforgotten.map
|
226
|
+
- maps/vespers.map
|
227
|
+
- maps/Warbler's Nest.map
|
228
|
+
- maps/wasp.map
|
229
|
+
- maps/Westminster_Abbey.map
|
230
|
+
- maps/WinterWonderland.map
|
231
|
+
- maps/worlds.map
|
232
|
+
- maps/xtcontest.map
|
233
|
+
- maps/zdungeon.map
|
234
|
+
- maps/zerosum.map
|
204
235
|
- maps/DDIV.map
|
205
236
|
- maps/deadline.map
|
206
237
|
- maps/delusions.map
|
@@ -219,28 +250,6 @@ files:
|
|
219
250
|
- maps/Following_A_Star.map
|
220
251
|
- maps/gamlet.map
|
221
252
|
- maps/Gatoron.map
|
222
|
-
- maps/SavoirFare.map
|
223
|
-
- maps/Seastalker.map
|
224
|
-
- maps/sherbet.map
|
225
|
-
- maps/simple.map
|
226
|
-
- maps/slouch.map
|
227
|
-
- maps/Spelunker's_Quest.map
|
228
|
-
- maps/splashdown.map
|
229
|
-
- maps/spring.map
|
230
|
-
- maps/squarecircle.map
|
231
|
-
- maps/muldoon_legacy.map
|
232
|
-
- maps/Ninjas_Fate.map
|
233
|
-
- maps/party.map
|
234
|
-
- maps/pawn.map
|
235
|
-
- maps/Pen_and_Paint.map
|
236
|
-
- maps/photograph.map
|
237
|
-
- maps/pkgirl.map
|
238
|
-
- maps/Planetfall.map
|
239
|
-
- maps/Plundered_Hearts.map
|
240
|
-
- maps/pytho.map
|
241
|
-
- maps/QuietEvening.map
|
242
|
-
- maps/Reliques_of_Tolti_Alph.map
|
243
|
-
- maps/Revolution.map
|
244
253
|
- maps/Heated.map
|
245
254
|
- maps/heist.map
|
246
255
|
- maps/heroes.map
|
@@ -253,25 +262,8 @@ files:
|
|
253
262
|
- maps/kaged.map
|
254
263
|
- maps/lurkinghorror.map
|
255
264
|
- maps/metamorphoses.map
|
256
|
-
- maps/mite.map
|
257
265
|
- maps/guilty_bastards.map
|
258
|
-
- maps/
|
259
|
-
- maps/risorgimento.map
|
260
|
-
- maps/Tangle.map
|
261
|
-
- maps/The_Blind_House.map
|
262
|
-
- maps/The_Lost_Islands_of_Alabaz.map
|
263
|
-
- maps/The_Lost_Sheep.map
|
264
|
-
- maps/trinity.map
|
265
|
-
- maps/Unforgotten.map
|
266
|
-
- maps/vespers.map
|
267
|
-
- maps/Warbler's Nest.map
|
268
|
-
- maps/wasp.map
|
269
|
-
- maps/Westminster_Abbey.map
|
270
|
-
- maps/WinterWonderland.map
|
271
|
-
- maps/worlds.map
|
272
|
-
- maps/xtcontest.map
|
273
|
-
- maps/zdungeon.map
|
274
|
-
- maps/zerosum.map
|
266
|
+
- maps/mite.map
|
275
267
|
- icons/copy.png
|
276
268
|
- icons/cut.png
|
277
269
|
- icons/filenew.png
|
@@ -321,38 +313,26 @@ files:
|
|
321
313
|
- docs/images/room_small.gif
|
322
314
|
homepage: http://www.rubyforge.org/projects/ifmapper/
|
323
315
|
licenses: []
|
324
|
-
|
325
316
|
post_install_message:
|
326
317
|
rdoc_options: []
|
327
|
-
|
328
|
-
require_paths:
|
318
|
+
require_paths:
|
329
319
|
- lib
|
330
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
320
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
331
321
|
none: false
|
332
|
-
requirements:
|
333
|
-
- -
|
334
|
-
- !ruby/object:Gem::Version
|
335
|
-
hash: 55
|
336
|
-
segments:
|
337
|
-
- 1
|
338
|
-
- 8
|
339
|
-
- 0
|
322
|
+
requirements:
|
323
|
+
- - ! '>='
|
324
|
+
- !ruby/object:Gem::Version
|
340
325
|
version: 1.8.0
|
341
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
326
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
342
327
|
none: false
|
343
|
-
requirements:
|
344
|
-
- -
|
345
|
-
- !ruby/object:Gem::Version
|
346
|
-
|
347
|
-
segments:
|
348
|
-
- 0
|
349
|
-
version: "0"
|
328
|
+
requirements:
|
329
|
+
- - ! '>='
|
330
|
+
- !ruby/object:Gem::Version
|
331
|
+
version: '0'
|
350
332
|
requirements: []
|
351
|
-
|
352
333
|
rubyforge_project: ifmapper
|
353
|
-
rubygems_version: 1.8.
|
334
|
+
rubygems_version: 1.8.24
|
354
335
|
signing_key:
|
355
336
|
specification_version: 3
|
356
337
|
summary: Interactive Fiction Mapping Tool.
|
357
338
|
test_files: []
|
358
|
-
|