rpg-maker-rgss3 1.02.0

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.
Files changed (71) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +162 -0
  3. data/Gemfile +4 -0
  4. data/README.md +34 -0
  5. data/Rakefile +3 -0
  6. data/lib/audio.rb +61 -0
  7. data/lib/bitmap.rb +81 -0
  8. data/lib/color.rb +19 -0
  9. data/lib/font.rb +46 -0
  10. data/lib/functions.rb +28 -0
  11. data/lib/graphics.rb +59 -0
  12. data/lib/input.rb +70 -0
  13. data/lib/plane.rb +39 -0
  14. data/lib/rect.rb +23 -0
  15. data/lib/rgss_error.rb +2 -0
  16. data/lib/rgss_reset.rb +2 -0
  17. data/lib/rpg.rb +48 -0
  18. data/lib/rpg/actor.rb +25 -0
  19. data/lib/rpg/animation.rb +29 -0
  20. data/lib/rpg/animation/frame.rb +12 -0
  21. data/lib/rpg/animation/timing.rb +19 -0
  22. data/lib/rpg/armor.rb +14 -0
  23. data/lib/rpg/audio_file.rb +12 -0
  24. data/lib/rpg/base_item.rb +18 -0
  25. data/lib/rpg/base_item/feature.rb +14 -0
  26. data/lib/rpg/bgm.rb +30 -0
  27. data/lib/rpg/bgs.rb +30 -0
  28. data/lib/rpg/class.rb +35 -0
  29. data/lib/rpg/class/learning.rb +14 -0
  30. data/lib/rpg/common_event.rb +22 -0
  31. data/lib/rpg/enemy.rb +24 -0
  32. data/lib/rpg/enemy/action.rb +19 -0
  33. data/lib/rpg/enemy/drop_item.rb +14 -0
  34. data/lib/rpg/equip_item.rb +13 -0
  35. data/lib/rpg/event.rb +16 -0
  36. data/lib/rpg/event/page.rb +34 -0
  37. data/lib/rpg/event/page/condition.rb +36 -0
  38. data/lib/rpg/event/page/graphic.rb +20 -0
  39. data/lib/rpg/event_command.rb +12 -0
  40. data/lib/rpg/item.rb +17 -0
  41. data/lib/rpg/map.rb +54 -0
  42. data/lib/rpg/map/encounter.rb +14 -0
  43. data/lib/rpg/map_info.rb +18 -0
  44. data/lib/rpg/me.rb +17 -0
  45. data/lib/rpg/move_command.rb +10 -0
  46. data/lib/rpg/move_route.rb +14 -0
  47. data/lib/rpg/se.rb +12 -0
  48. data/lib/rpg/skill.rb +22 -0
  49. data/lib/rpg/state.rb +37 -0
  50. data/lib/rpg/system.rb +88 -0
  51. data/lib/rpg/system/terms.rb +16 -0
  52. data/lib/rpg/system/test_battler.rb +14 -0
  53. data/lib/rpg/system/vehicle.rb +20 -0
  54. data/lib/rpg/tileset.rb +21 -0
  55. data/lib/rpg/troop.rb +14 -0
  56. data/lib/rpg/troop/member.rb +16 -0
  57. data/lib/rpg/troop/page.rb +14 -0
  58. data/lib/rpg/troop/page/condition.rb +34 -0
  59. data/lib/rpg/usable_item.rb +69 -0
  60. data/lib/rpg/usable_item/damage.rb +39 -0
  61. data/lib/rpg/usable_item/effect.rb +16 -0
  62. data/lib/rpg/weapon.rb +16 -0
  63. data/lib/rpg_maker_rgss3.rb +25 -0
  64. data/lib/sprite.rb +79 -0
  65. data/lib/table.rb +31 -0
  66. data/lib/tilemap.rb +35 -0
  67. data/lib/tone.rb +19 -0
  68. data/lib/viewport.rb +37 -0
  69. data/lib/window.rb +75 -0
  70. data/rpg-maker-rgss3.gemspec +21 -0
  71. metadata +146 -0
@@ -0,0 +1,25 @@
1
+ # Built-in functions
2
+ require_relative 'functions'
3
+
4
+ # Built-in classes
5
+ require_relative 'bitmap'
6
+ require_relative 'color'
7
+ require_relative 'font'
8
+ require_relative 'plane'
9
+ require_relative 'rect'
10
+ require_relative 'sprite'
11
+ require_relative 'table'
12
+ require_relative 'tilemap'
13
+ require_relative 'tone'
14
+ require_relative 'viewport'
15
+ require_relative 'window'
16
+ require_relative 'rgss_error'
17
+ require_relative 'rgss_reset'
18
+
19
+ # Built-in modules
20
+ require_relative 'audio'
21
+ require_relative 'graphics'
22
+ require_relative 'input'
23
+
24
+ # RPG VX Ace data structures
25
+ require_relative 'rpg'
@@ -0,0 +1,79 @@
1
+ class Sprite
2
+
3
+ def initialize(viewport = nil)
4
+ fail NotImplementedError
5
+ end
6
+
7
+ def dispose
8
+ fail NotImplementedError
9
+ end
10
+
11
+ def disposed?
12
+ fail NotImplementedError
13
+ end
14
+
15
+ def flash(color, duration)
16
+ fail NotImplementedError
17
+ end
18
+
19
+ def update
20
+ fail NotImplementedError
21
+ end
22
+
23
+ def width
24
+ fail NotImplementedError
25
+ end
26
+
27
+ def height
28
+ fail NotImplementedError
29
+ end
30
+
31
+ attr_accessor :bitmap
32
+
33
+ attr_accessor :src_rect
34
+
35
+ attr_accessor :viewport
36
+
37
+ attr_accessor :visible
38
+
39
+ attr_accessor :visible
40
+
41
+ attr_accessor :x
42
+
43
+ attr_accessor :y
44
+
45
+ attr_accessor :z
46
+
47
+ attr_accessor :ox
48
+
49
+ attr_accessor :oy
50
+
51
+ attr_accessor :zoom_x
52
+
53
+ attr_accessor :zoom_y
54
+
55
+ attr_accessor :angle
56
+
57
+ attr_accessor :wave_amp
58
+
59
+ attr_accessor :wave_length
60
+
61
+ attr_accessor :wave_speed
62
+
63
+ attr_accessor :wave_phase
64
+
65
+ attr_accessor :mirror
66
+
67
+ attr_accessor :bush_depth
68
+
69
+ attr_accessor :bush_opacity
70
+
71
+ attr_accessor :opacity
72
+
73
+ attr_accessor :blend_type
74
+
75
+ attr_accessor :color
76
+
77
+ attr_accessor :tone
78
+
79
+ end
@@ -0,0 +1,31 @@
1
+ class Table
2
+
3
+ def initialize(xsize, ysize = 1, zsize = 1)
4
+ fail NotImplementedError
5
+ end
6
+
7
+ def resize(xsize, ysize = nil, zsize = nil)
8
+ fail NotImplementedError
9
+ end
10
+
11
+ def xsize
12
+ fail NotImplementedError
13
+ end
14
+
15
+ def ysize
16
+ fail NotImplementedError
17
+ end
18
+
19
+ def zsize
20
+ fail NotImplementedError
21
+ end
22
+
23
+ def [](x, y = 0, z = 0)
24
+ fail NotImplementedError
25
+ end
26
+
27
+ def []=(x, y = 0, z = 0, value = nil)
28
+ fail NotImplementedError
29
+ end
30
+
31
+ end
@@ -0,0 +1,35 @@
1
+ class Tilemap
2
+
3
+ def initialize(viewport = nil)
4
+ fail NotImplementedError
5
+ end
6
+
7
+ def dispose
8
+ fail NotImplementedError
9
+ end
10
+
11
+ def disposed?
12
+ fail NotImplementedError
13
+ end
14
+
15
+ def update
16
+ fail NotImplementedError
17
+ end
18
+
19
+ attr_accessor :bitmaps
20
+
21
+ attr_accessor :map_data
22
+
23
+ attr_accessor :flash_data
24
+
25
+ attr_accessor :flags
26
+
27
+ attr_accessor :viewport
28
+
29
+ attr_accessor :visible
30
+
31
+ attr_accessor :ox
32
+
33
+ attr_accessor :oy
34
+
35
+ end
@@ -0,0 +1,19 @@
1
+ class Tone
2
+
3
+ def initialize(red = 0, green = 0, blue = 0, gray = 0)
4
+ fail NotImplementedError
5
+ end
6
+
7
+ def set(arg1, green = nil, blue = nil, gray = nil)
8
+ fail NotImplementedError
9
+ end
10
+
11
+ attr_accessor :red
12
+
13
+ attr_accessor :green
14
+
15
+ attr_accessor :blue
16
+
17
+ attr_accessor :gray
18
+
19
+ end
@@ -0,0 +1,37 @@
1
+ class Viewport
2
+
3
+ def initialize(arg1 = nil, y = nil, width = nil, height = nil)
4
+ fail NotImplementedError
5
+ end
6
+
7
+ def dispose
8
+ fail NotImplementedError
9
+ end
10
+
11
+ def disposed?
12
+ fail NotImplementedError
13
+ end
14
+
15
+ def flash(color, duration)
16
+ fail NotImplementedError
17
+ end
18
+
19
+ def update
20
+ fail NotImplementedError
21
+ end
22
+
23
+ attr_accessor :rect
24
+
25
+ attr_accessor :visible
26
+
27
+ attr_accessor :z
28
+
29
+ attr_accessor :ox
30
+
31
+ attr_accessor :oy
32
+
33
+ attr_accessor :color
34
+
35
+ attr_accessor :tone
36
+
37
+ end
@@ -0,0 +1,75 @@
1
+ class Window
2
+
3
+ def initialize(x = nil, y = nil, width = nil, height = nil)
4
+ fail NotImplementedError
5
+ end
6
+
7
+ def dispose
8
+ fail NotImplementedError
9
+ end
10
+
11
+ def disposed?
12
+ fail NotImplementedError
13
+ end
14
+
15
+ def update
16
+ fail NotImplementedError
17
+ end
18
+
19
+ def move(x, y, width, height)
20
+ fail NotImplementedError
21
+ end
22
+
23
+ def open?
24
+ fail NotImplementedError
25
+ end
26
+
27
+ def close?
28
+ fail NotImplementedError
29
+ end
30
+
31
+ attr_accessor :windowskin
32
+
33
+ attr_accessor :contents
34
+
35
+ attr_accessor :cursor_rect
36
+
37
+ attr_accessor :viewport
38
+
39
+ attr_accessor :active
40
+
41
+ attr_accessor :visible
42
+
43
+ attr_accessor :arrows_visible
44
+
45
+ attr_accessor :pause
46
+
47
+ attr_accessor :x
48
+
49
+ attr_accessor :y
50
+
51
+ attr_accessor :width
52
+
53
+ attr_accessor :height
54
+
55
+ attr_accessor :z
56
+
57
+ attr_accessor :ox
58
+
59
+ attr_accessor :oy
60
+
61
+ attr_accessor :padding
62
+
63
+ attr_accessor :padding_bottom
64
+
65
+ attr_accessor :opacity
66
+
67
+ attr_accessor :back_opacity
68
+
69
+ attr_accessor :contents_opacity
70
+
71
+ attr_accessor :openness
72
+
73
+ attr_accessor :tone
74
+
75
+ end
@@ -0,0 +1,21 @@
1
+ # coding: utf-8
2
+ Gem::Specification.new do |spec|
3
+ spec.name = 'rpg-maker-rgss3'
4
+ spec.version = '1.02.0'
5
+ spec.authors = ['Enterbrain', 'Michael Miller']
6
+ spec.email = ['bluepixelmike@gmail.com']
7
+ spec.summary = %q{Gem containing the built-in classes and modules provided by RGSS3 for RPG Maker VX (Ace).}
8
+ spec.description = %q{Contains the skeleton for RGSS3 used by RPG Maker VX (Ace).
9
+ The purpose of this gem is provide documentation and code completion reference for external IDEs.
10
+ All credit and ownership for the original code goes to Enterbrain - the creators of RPG Maker.}
11
+ spec.homepage = 'https://github.com/bluepixelmike/rpg-maker-rgss3'
12
+ # TODO: spec.license
13
+
14
+ spec.files = `git ls-files -z`.split("\x0")
15
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
16
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
17
+ spec.require_paths = ['lib']
18
+
19
+ spec.add_development_dependency 'bundler', '~> 1.7'
20
+ spec.add_development_dependency 'rake', '~> 10.0'
21
+ end
metadata ADDED
@@ -0,0 +1,146 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rpg-maker-rgss3
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.02.0
5
+ platform: ruby
6
+ authors:
7
+ - Enterbrain
8
+ - Michael Miller
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2015-09-16 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bundler
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ~>
19
+ - !ruby/object:Gem::Version
20
+ version: '1.7'
21
+ type: :development
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ~>
26
+ - !ruby/object:Gem::Version
27
+ version: '1.7'
28
+ - !ruby/object:Gem::Dependency
29
+ name: rake
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ~>
33
+ - !ruby/object:Gem::Version
34
+ version: '10.0'
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ~>
40
+ - !ruby/object:Gem::Version
41
+ version: '10.0'
42
+ description: |-
43
+ Contains the skeleton for RGSS3 used by RPG Maker VX (Ace).
44
+ The purpose of this gem is provide documentation and code completion reference for external IDEs.
45
+ All credit and ownership for the original code goes to Enterbrain - the creators of RPG Maker.
46
+ email:
47
+ - bluepixelmike@gmail.com
48
+ executables: []
49
+ extensions: []
50
+ extra_rdoc_files: []
51
+ files:
52
+ - .gitignore
53
+ - Gemfile
54
+ - README.md
55
+ - Rakefile
56
+ - lib/audio.rb
57
+ - lib/bitmap.rb
58
+ - lib/color.rb
59
+ - lib/font.rb
60
+ - lib/functions.rb
61
+ - lib/graphics.rb
62
+ - lib/input.rb
63
+ - lib/plane.rb
64
+ - lib/rect.rb
65
+ - lib/rgss_error.rb
66
+ - lib/rgss_reset.rb
67
+ - lib/rpg.rb
68
+ - lib/rpg/actor.rb
69
+ - lib/rpg/animation.rb
70
+ - lib/rpg/animation/frame.rb
71
+ - lib/rpg/animation/timing.rb
72
+ - lib/rpg/armor.rb
73
+ - lib/rpg/audio_file.rb
74
+ - lib/rpg/base_item.rb
75
+ - lib/rpg/base_item/feature.rb
76
+ - lib/rpg/bgm.rb
77
+ - lib/rpg/bgs.rb
78
+ - lib/rpg/class.rb
79
+ - lib/rpg/class/learning.rb
80
+ - lib/rpg/common_event.rb
81
+ - lib/rpg/enemy.rb
82
+ - lib/rpg/enemy/action.rb
83
+ - lib/rpg/enemy/drop_item.rb
84
+ - lib/rpg/equip_item.rb
85
+ - lib/rpg/event.rb
86
+ - lib/rpg/event/page.rb
87
+ - lib/rpg/event/page/condition.rb
88
+ - lib/rpg/event/page/graphic.rb
89
+ - lib/rpg/event_command.rb
90
+ - lib/rpg/item.rb
91
+ - lib/rpg/map.rb
92
+ - lib/rpg/map/encounter.rb
93
+ - lib/rpg/map_info.rb
94
+ - lib/rpg/me.rb
95
+ - lib/rpg/move_command.rb
96
+ - lib/rpg/move_route.rb
97
+ - lib/rpg/se.rb
98
+ - lib/rpg/skill.rb
99
+ - lib/rpg/state.rb
100
+ - lib/rpg/system.rb
101
+ - lib/rpg/system/terms.rb
102
+ - lib/rpg/system/test_battler.rb
103
+ - lib/rpg/system/vehicle.rb
104
+ - lib/rpg/tileset.rb
105
+ - lib/rpg/troop.rb
106
+ - lib/rpg/troop/member.rb
107
+ - lib/rpg/troop/page.rb
108
+ - lib/rpg/troop/page/condition.rb
109
+ - lib/rpg/usable_item.rb
110
+ - lib/rpg/usable_item/damage.rb
111
+ - lib/rpg/usable_item/effect.rb
112
+ - lib/rpg/weapon.rb
113
+ - lib/rpg_maker_rgss3.rb
114
+ - lib/sprite.rb
115
+ - lib/table.rb
116
+ - lib/tilemap.rb
117
+ - lib/tone.rb
118
+ - lib/viewport.rb
119
+ - lib/window.rb
120
+ - rpg-maker-rgss3.gemspec
121
+ homepage: https://github.com/bluepixelmike/rpg-maker-rgss3
122
+ licenses: []
123
+ metadata: {}
124
+ post_install_message:
125
+ rdoc_options: []
126
+ require_paths:
127
+ - lib
128
+ required_ruby_version: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - '>='
131
+ - !ruby/object:Gem::Version
132
+ version: '0'
133
+ required_rubygems_version: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - '>='
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ requirements: []
139
+ rubyforge_project:
140
+ rubygems_version: 2.0.14
141
+ signing_key:
142
+ specification_version: 4
143
+ summary: Gem containing the built-in classes and modules provided by RGSS3 for RPG
144
+ Maker VX (Ace).
145
+ test_files: []
146
+ has_rdoc: