sabrina 0.5.5.4 → 0.5.5.5
Sign up to get free protection for your applications and to get access to all the features.
- data/{LICENSE → LICENSE.txt} +1 -0
- data/lib/sabrina/lz77.rb +24 -0
- data/lib/sabrina/meta.rb +2 -2
- data/lib/sabrina/palette.rb +24 -0
- metadata +2 -2
data/{LICENSE → LICENSE.txt}
RENAMED
data/lib/sabrina/lz77.rb
CHANGED
@@ -9,6 +9,30 @@ module Sabrina
|
|
9
9
|
#
|
10
10
|
# Credit goes to thekaratekid552, Jambo51, Shiny Quagsire,
|
11
11
|
# DoesntKnowHowToPlay, Interdpth.
|
12
|
+
#
|
13
|
+
# == License
|
14
|
+
#
|
15
|
+
# The MIT License (MIT)
|
16
|
+
#
|
17
|
+
# Copyright (c) 2014 karatekid552
|
18
|
+
#
|
19
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
20
|
+
# of this software and associated documentation files (the "Software"), to deal
|
21
|
+
# in the Software without restriction, including without limitation the rights
|
22
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
23
|
+
# copies of the Software, and to permit persons to whom the Software is
|
24
|
+
# furnished to do so, subject to the following conditions:
|
25
|
+
#
|
26
|
+
# The above copyright notice and this permission notice shall be included in
|
27
|
+
# all copies or substantial portions of the Software.
|
28
|
+
#
|
29
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
30
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
31
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
32
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
33
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
34
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
35
|
+
# THE SOFTWARE.
|
12
36
|
module Lz77
|
13
37
|
class << self
|
14
38
|
# Decompresses data from +offset+ in the ROM file as Lz77. This returns a
|
data/lib/sabrina/meta.rb
CHANGED
data/lib/sabrina/palette.rb
CHANGED
@@ -13,6 +13,30 @@ module Sabrina
|
|
13
13
|
# {https://github.com/thekaratekid552/Secret-Tool Gen III Hacking Suite}
|
14
14
|
# by thekaratekid552.
|
15
15
|
#
|
16
|
+
# == Original code license
|
17
|
+
#
|
18
|
+
# The MIT License (MIT)
|
19
|
+
#
|
20
|
+
# Copyright (c) 2014 karatekid552
|
21
|
+
#
|
22
|
+
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
23
|
+
# of this software and associated documentation files (the "Software"), to deal
|
24
|
+
# in the Software without restriction, including without limitation the rights
|
25
|
+
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
26
|
+
# copies of the Software, and to permit persons to whom the Software is
|
27
|
+
# furnished to do so, subject to the following conditions:
|
28
|
+
#
|
29
|
+
# The above copyright notice and this permission notice shall be included in
|
30
|
+
# all copies or substantial portions of the Software.
|
31
|
+
#
|
32
|
+
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
33
|
+
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
34
|
+
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
35
|
+
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
36
|
+
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
37
|
+
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
38
|
+
# THE SOFTWARE.
|
39
|
+
#
|
16
40
|
# @see Sprite#set_palette
|
17
41
|
class Palette < Bytestream
|
18
42
|
class << self
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sabrina
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.5.
|
4
|
+
version: 0.5.5.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -75,7 +75,7 @@ files:
|
|
75
75
|
- lib/sabrina/rom.rb
|
76
76
|
- lib/sabrina/sprite.rb
|
77
77
|
- lib/sabrina.rb
|
78
|
-
- LICENSE
|
78
|
+
- LICENSE.txt
|
79
79
|
- README.rdoc
|
80
80
|
homepage: https://github.com/Winterbraid/sabrina_gba
|
81
81
|
licenses:
|