ifmapper 2.0.9 → 2.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/HISTORY.txt +89 -76
- data/IFMapper.gemspec +32 -28
- data/IFMapper.rbw +1 -2
- data/bin/IFMapper +4 -3
- data/docs/en/index.html +45 -24
- data/docs/en/start.html +729 -517
- data/docs/es/start.html +808 -1191
- data/docs/images/svg_export.gif +0 -0
- data/lib/IFMapper/FXMapperSettings.rb +1 -1
- data/lib/IFMapper/FXMapperWindow.rb +211 -217
- data/lib/IFMapper/FXSVGMapExporterOptionsDialogBox.rb +335 -107
- data/lib/IFMapper/IFMWriter.rb +1 -2
- data/lib/IFMapper/Inform7Writer.rb +2 -2
- data/lib/IFMapper/InformWriter.rb +2 -2
- data/lib/IFMapper/MapPrinting.rb +104 -101
- data/lib/IFMapper/PDFMapExporter.rb +2 -521
- data/lib/IFMapper/PDFMapExporter_prawn.rb +132 -103
- data/lib/IFMapper/SVGMapAppend.rb +155 -0
- data/lib/IFMapper/SVGMapExporter.rb +1303 -1091
- data/lib/IFMapper/TADSWriter.rb +4 -3
- data/lib/IFMapper/locales/en/Messages.rb +84 -39
- data/lib/IFMapper/locales/es/Messages.rb +94 -29
- data/lib/IFMapper/locales/es/Messages_iso-8859-1.rb +69 -15
- data/maps/CityOfSecrets.map +0 -0
- metadata +32 -10
@@ -1,6 +1,7 @@
|
|
1
1
|
# coding: iso-8859-1
|
2
2
|
|
3
|
-
|
3
|
+
PROGRAM_NAME = "Interactive Fiction Mapper"
|
4
|
+
TITLE = '#{PROGRAM_NAME} v#{VERSION} - Programado por #{AUTHOR}'
|
4
5
|
|
5
6
|
################ Errores
|
6
7
|
ERR_NO_FOX = 'Por favor instale la librer�a FXRuby (FOX) version 1.2 o posterior.'
|
@@ -51,9 +52,11 @@ Escrito por #{AUTHOR}.
|
|
51
52
|
|
52
53
|
Versi�n de FXRuby: #{Fox::fxrubyversion}
|
53
54
|
|
55
|
+
Versi�n de Ruby: #{RUBY_VERSION}
|
56
|
+
|
54
57
|
Una herramienta de mapeado para ficci�n interactiva.
|
55
58
|
|
56
|
-
|
59
|
+
#{EMAIL}
|
57
60
|
EOF
|
58
61
|
|
59
62
|
MSG_SAVE_MAP = 'Grabar Mapa'
|
@@ -218,6 +221,7 @@ TRANSCRIPT_SHORTNAME_TYPE = [
|
|
218
221
|
'Moonmist',
|
219
222
|
'Witness',
|
220
223
|
'ADRIFT',
|
224
|
+
'ALL CAPS'
|
221
225
|
]
|
222
226
|
|
223
227
|
############ T�tulos de Ventanas
|
@@ -275,6 +279,7 @@ MENU_EDIT = '&Editar'
|
|
275
279
|
MENU_COPY = "&Copiar\tCtl-C\tCopiar Localidad"
|
276
280
|
MENU_CUT = "Cor&tar\tCtl-X\tCortar Localidad"
|
277
281
|
MENU_PASTE = "&Pegar\tCtl-V\tPegar Localidad"
|
282
|
+
MENU_UNDO = "&Deshacer\tCtl-U\tDeshacer �ltima Eliminaci�n"
|
278
283
|
|
279
284
|
MENU_MAP = '&Mapa'
|
280
285
|
MENU_SELECT = 'Seleccionar'
|
@@ -425,19 +430,58 @@ BOX_PDF_PAGE_ORIENTATION_TEXT = [
|
|
425
430
|
]
|
426
431
|
BOX_PDF_LOCATIONNOS = 'Incluya n�meros de ubicaci�n'
|
427
432
|
|
428
|
-
MSG_SAVE_MAP_AS_SVG
|
429
|
-
FMT_SVG
|
430
|
-
MENU_EXPORT_SVG
|
431
|
-
|
432
|
-
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
433
|
+
MSG_SAVE_MAP_AS_SVG = 'Grabar Mapa como (SVG)'
|
434
|
+
FMT_SVG = 'Gr�fico de Vector Estructurado (*.svg)'
|
435
|
+
MENU_EXPORT_SVG = "Exportar como &SVG...\t\tExportar mapa como documento de Gr�fico de Vector Estructurado (SVG)."
|
436
|
+
MSG_SVG_EXPORTING = 'Exporting SVG file'
|
437
|
+
MSG_SVG_GENERATOR = "Generator: #{PROGRAM_NAME} v#{VERSION} by #{AUTHOR}"
|
438
|
+
MSG_SVG_GENERATION_DATE = "Generation Date:"
|
439
|
+
MSG_SVG_CREATOR_PREFIX = 'Creator: '
|
440
|
+
MSG_SVG_SHORTCUT_TO = 'Shortcut to'
|
441
|
+
MSG_SVG_BGROUND_IMAGE_SECT_BEGINS = 'BACKGROUND IMAGE SECTION BEGINS'
|
442
|
+
MSG_SVG_BGROUND_IMAGE_SECT_ENDS = 'BACKGROUND IMAGE SECTION ENDS'
|
443
|
+
MSG_SVG_BGROUND_IMAGE_ENABLE_COMMENT_START = 'UNCOMMENT LINE BELOW TO ENABLE'
|
444
|
+
MSG_SVG_BGROUND_IMAGE_ENABLE_COMMENT_END = 'BACKGROUND IMAGE'
|
445
|
+
MSG_SVG_MAP_SECT_BEGINS = 'MAP SECTION BEGINS'
|
446
|
+
MSG_SVG_MAP_SECT_ENDS = 'MAP SECTION ENDS'
|
447
|
+
MSG_SVG_EXPORT_COMPLETED = 'Exporting SVG Completed'
|
448
|
+
BOX_SVG_SHOWLOCNUMS = "Mostar n�meros de ubicaci�n"
|
449
|
+
BOX_SVG_SHOWLOCNUMS_TOOLTIP = "Include each Room's Location Number in exported map"
|
450
|
+
BOX_SVG_SHOWINTERTITLE = "Mostrar Informaci�n Interactiva del Lugar:"
|
451
|
+
BOX_SVG_SHOWINTEROBJECTS = "Objects"
|
452
|
+
BOX_SVG_SHOWINTEROBJECTS_TOOLTIP = "Include the Objects at each Room's Location as drop-down in exported map"
|
453
|
+
BOX_SVG_SHOWINTERTASKS = "Tasks"
|
454
|
+
BOX_SVG_SHOWINTERTASKS_TOOLTIP = "Include the Tasks at each Room's Location as drop-down in exported map"
|
455
|
+
BOX_SVG_SHOWINTERCOMMENTS = "Comments"
|
456
|
+
BOX_SVG_SHOWINTERCOMMENTS_TOOLTIP = "Include the Comments at each Room's Location as drop-down in exported map"
|
457
|
+
BOX_SVG_SHOWINTERDESCRIPTION = "Description"
|
458
|
+
BOX_SVG_SHOWINTERDESCRIPTION_TOOLTIP = "Include the Description at each Room's Location as drop-down in exported map"
|
459
|
+
|
460
|
+
BOX_SVG_EXPORTALLCOMBINED = "All Sections to Combined SVG file"
|
461
|
+
BOX_SVG_EXPORTALLCOMBINED_TOOLTIP = "All Sections exported to a single SVG file, in order"
|
462
|
+
BOX_SVG_EXPORTALLINDIV = "All Sections to Individual SVG files"
|
463
|
+
BOX_SVG_EXPORTALLINDIV_TOOLTIP = "All Sections exported to separate SVG files"
|
464
|
+
BOX_SVG_EXPORTCURRENTINDIV = "Current Section to Individual SVG file"
|
465
|
+
BOX_SVG_EXPORTCURRENTINDIV_TOOLTIP = "Current Section exported to a single SVG file"
|
466
|
+
|
467
|
+
BOX_SVG_EXPORTSELONLY = "Only Include Currently Selected Elements"
|
468
|
+
BOX_SVG_EXPORTSELONLY_TOOLTIP = "Select some Locations and/or Connections in the Current Section,\nthen use this option to ensure that only these elements, along\nwith Location no. 1 are included in the exported map"
|
469
|
+
BOX_SVG_EXPORTALLLOCSSELTXT = "Include All Locations, Only Show Location\nText For Currently Selected Locations"
|
470
|
+
BOX_SVG_EXPORTALLLOCSSELTXT_TOOLTIP = "The exported map will contain all Locations in the Current Section.\nLocation no. 1 and any Locations currently selected will have their Location Text included.\nOnly Connections that are currently selected will be included in the map"
|
471
|
+
|
472
|
+
BOX_SVG_SHOWLOCTEXT = "Mostrar el Texto del Lugar"
|
473
|
+
BOX_SVG_SHOWLOCTEXT_TOOLTIP = "Include each Room's Location text in exported map"
|
474
|
+
BOX_SVG_SHOWSECTCOMMENTS = "Mostrar los Comentarios de la Secci�n"
|
475
|
+
BOX_SVG_SHOWSECTCOMMENTS_TOOLTIP = "Include each Section Comments under corresponding Section Name in exported map"
|
476
|
+
BOX_SVG_COMPASSSIZE = "Tama�o de Br�jula: "
|
477
|
+
BOX_SVG_COMPASSSIZE_TOOLTIP = "Size of Compass graphic, from non-existent to huge, in exported map"
|
478
|
+
BOX_SVG_CONNTHICKNESS = "Grosor de las L�neas: "
|
479
|
+
BOX_SVG_CONNTHICKNESS_TOOLTIP = "Thickness of Connection lines, from non-existent to heavy, in exported map"
|
480
|
+
BOX_SVG_COLOURSCHEME = "Esquema de Color: "
|
481
|
+
BOX_SVG_COLOURSCHEME_TOOLTIP = "A basic Colour Scheme used for the location number, interactive\nlocation information and doors in exported map"
|
482
|
+
BOX_SVG_LOCTHICKNESS = "Location Thickness:"
|
483
|
+
BOX_SVG_LOCTHICKNESS_TOOLTIP = "Thickness of Location lines, from thin to heavy, in exported map"
|
484
|
+
BOX_SVG_COLOURSCHEME_OPTIONS = [
|
441
485
|
'Red',
|
442
486
|
'Green',
|
443
487
|
'Yellow',
|
@@ -486,6 +530,16 @@ class Room
|
|
486
530
|
'o',
|
487
531
|
'no',
|
488
532
|
]
|
533
|
+
DIRECTIONS_ENGLISH = [
|
534
|
+
'n',
|
535
|
+
'ne',
|
536
|
+
'e',
|
537
|
+
'se',
|
538
|
+
's',
|
539
|
+
'sw',
|
540
|
+
'w',
|
541
|
+
'nw',
|
542
|
+
]
|
489
543
|
end
|
490
544
|
|
491
545
|
AUTOMAP_IS_WAITING_FOR_MORE_TEXT = "Automap est� esperando m�s texto."
|
data/maps/CityOfSecrets.map
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ifmapper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Gonzalo
|
7
|
+
- Gonzalo Garramuño
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-06-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake-compiler
|
@@ -50,27 +50,47 @@ dependencies:
|
|
50
50
|
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 1.6.0
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: prawn
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - "~>"
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: 1.0.0
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 1.0.0
|
63
|
+
type: :runtime
|
64
|
+
prerelease: false
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
66
|
+
requirements:
|
67
|
+
- - "~>"
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: 1.0.0
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 1.0.0
|
53
73
|
- !ruby/object:Gem::Dependency
|
54
74
|
name: pdf-writer
|
55
75
|
requirement: !ruby/object:Gem::Requirement
|
56
76
|
requirements:
|
57
77
|
- - "~>"
|
58
78
|
- !ruby/object:Gem::Version
|
59
|
-
version: 1.
|
79
|
+
version: 1.0.0
|
60
80
|
- - ">="
|
61
81
|
- !ruby/object:Gem::Version
|
62
|
-
version: 1.
|
82
|
+
version: 1.0.0
|
63
83
|
type: :runtime
|
64
84
|
prerelease: false
|
65
85
|
version_requirements: !ruby/object:Gem::Requirement
|
66
86
|
requirements:
|
67
87
|
- - "~>"
|
68
88
|
- !ruby/object:Gem::Version
|
69
|
-
version: 1.
|
89
|
+
version: 1.0.0
|
70
90
|
- - ">="
|
71
91
|
- !ruby/object:Gem::Version
|
72
|
-
version: 1.
|
73
|
-
description: "
|
92
|
+
version: 1.0.0
|
93
|
+
description: " Interactive Fiction Mapping Tool.\n"
|
74
94
|
email: ggarra13@gmail.com
|
75
95
|
executables:
|
76
96
|
- IFMapper
|
@@ -89,6 +109,7 @@ extra_rdoc_files:
|
|
89
109
|
- docs/images/IFMapper_main.gif
|
90
110
|
- docs/images/room_description.gif
|
91
111
|
- docs/images/room_small.gif
|
112
|
+
- docs/images/svg_export.gif
|
92
113
|
files:
|
93
114
|
- HISTORY.txt
|
94
115
|
- IFMapper.gemspec
|
@@ -107,6 +128,7 @@ files:
|
|
107
128
|
- docs/images/connection_menu.gif
|
108
129
|
- docs/images/room_description.gif
|
109
130
|
- docs/images/room_small.gif
|
131
|
+
- docs/images/svg_export.gif
|
110
132
|
- icons/compass.svg
|
111
133
|
- icons/copy.png
|
112
134
|
- icons/cut.png
|
@@ -178,6 +200,7 @@ files:
|
|
178
200
|
- lib/IFMapper/PDFMapExporter_pdfwriter.rb
|
179
201
|
- lib/IFMapper/PDFMapExporter_prawn.rb
|
180
202
|
- lib/IFMapper/Room.rb
|
203
|
+
- lib/IFMapper/SVGMapAppend.rb
|
181
204
|
- lib/IFMapper/SVGMapExporter.rb
|
182
205
|
- lib/IFMapper/Section.rb
|
183
206
|
- lib/IFMapper/TADSReader.rb
|
@@ -344,8 +367,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
344
367
|
- !ruby/object:Gem::Version
|
345
368
|
version: '0'
|
346
369
|
requirements: []
|
347
|
-
|
348
|
-
rubygems_version: 2.7.6
|
370
|
+
rubygems_version: 3.1.2
|
349
371
|
signing_key:
|
350
372
|
specification_version: 4
|
351
373
|
summary: Interactive Fiction Mapping Tool.
|