LiteRGSS 0.1.3

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 (68) hide show
  1. checksums.yaml +7 -0
  2. data/ext/LiteRGSS/Bitmap.cpp +316 -0
  3. data/ext/LiteRGSS/Bitmap.h +24 -0
  4. data/ext/LiteRGSS/BlendMode.cpp +202 -0
  5. data/ext/LiteRGSS/BlendMode.h +20 -0
  6. data/ext/LiteRGSS/CBitmap_Element.cpp +50 -0
  7. data/ext/LiteRGSS/CBitmap_Element.h +17 -0
  8. data/ext/LiteRGSS/CDrawable_Element.cpp +38 -0
  9. data/ext/LiteRGSS/CDrawable_Element.h +30 -0
  10. data/ext/LiteRGSS/CRect_Element.h +15 -0
  11. data/ext/LiteRGSS/CShaderSprite_Element.cpp +17 -0
  12. data/ext/LiteRGSS/CShaderSprite_Element.h +17 -0
  13. data/ext/LiteRGSS/CSprite_Element.cpp +15 -0
  14. data/ext/LiteRGSS/CSprite_Element.h +36 -0
  15. data/ext/LiteRGSS/CText_Element.cpp +12 -0
  16. data/ext/LiteRGSS/CText_Element.h +29 -0
  17. data/ext/LiteRGSS/CTone_Element.h +17 -0
  18. data/ext/LiteRGSS/CViewport_Element.cpp +224 -0
  19. data/ext/LiteRGSS/CViewport_Element.h +57 -0
  20. data/ext/LiteRGSS/Color.cpp +200 -0
  21. data/ext/LiteRGSS/Color.h +22 -0
  22. data/ext/LiteRGSS/Fonts.cpp +126 -0
  23. data/ext/LiteRGSS/Fonts.h +20 -0
  24. data/ext/LiteRGSS/Graphics.cpp +314 -0
  25. data/ext/LiteRGSS/Graphics.h +31 -0
  26. data/ext/LiteRGSS/Graphics.local.cpp +365 -0
  27. data/ext/LiteRGSS/Graphics.local.h +37 -0
  28. data/ext/LiteRGSS/Image.cpp +460 -0
  29. data/ext/LiteRGSS/Image.h +32 -0
  30. data/ext/LiteRGSS/Input.cpp +664 -0
  31. data/ext/LiteRGSS/Input.h +38 -0
  32. data/ext/LiteRGSS/LiteRGSS.cpp +34 -0
  33. data/ext/LiteRGSS/LiteRGSS.h +113 -0
  34. data/ext/LiteRGSS/Rect.cpp +324 -0
  35. data/ext/LiteRGSS/Rect.h +24 -0
  36. data/ext/LiteRGSS/Shader.cpp +279 -0
  37. data/ext/LiteRGSS/Shader.h +13 -0
  38. data/ext/LiteRGSS/ShaderSprite.cpp +78 -0
  39. data/ext/LiteRGSS/ShaderSprite.h +8 -0
  40. data/ext/LiteRGSS/Sprite.cpp +495 -0
  41. data/ext/LiteRGSS/Sprite.h +43 -0
  42. data/ext/LiteRGSS/Table.cpp +228 -0
  43. data/ext/LiteRGSS/Table.h +29 -0
  44. data/ext/LiteRGSS/Table32.cpp +228 -0
  45. data/ext/LiteRGSS/Table32.h +29 -0
  46. data/ext/LiteRGSS/Text.cpp +574 -0
  47. data/ext/LiteRGSS/Text.h +52 -0
  48. data/ext/LiteRGSS/Texture.hpp +735 -0
  49. data/ext/LiteRGSS/Tone.cpp +228 -0
  50. data/ext/LiteRGSS/Tone.h +22 -0
  51. data/ext/LiteRGSS/Viewport.cpp +491 -0
  52. data/ext/LiteRGSS/Viewport.h +33 -0
  53. data/ext/LiteRGSS/Yuki.cpp +29 -0
  54. data/ext/LiteRGSS/Yuki.h +8 -0
  55. data/ext/LiteRGSS/Yuki_Gif.cpp +218 -0
  56. data/ext/LiteRGSS/Yuki_Gif.h +25 -0
  57. data/ext/LiteRGSS/extconf.rb +8 -0
  58. data/ext/LiteRGSS/libnsgif.c +1169 -0
  59. data/ext/LiteRGSS/libnsgif.h +183 -0
  60. data/ext/LiteRGSS/libnsgif.hpp +184 -0
  61. data/ext/LiteRGSS/lodepng.cpp +6245 -0
  62. data/ext/LiteRGSS/lodepng.h +1769 -0
  63. data/ext/LiteRGSS/lzw.c +377 -0
  64. data/ext/LiteRGSS/lzw.h +105 -0
  65. data/ext/LiteRGSS/sf_Text2.cpp +690 -0
  66. data/ext/LiteRGSS/sf_Text2.hpp +549 -0
  67. data/ext/LiteRGSS/utils/log.h +21 -0
  68. metadata +112 -0
@@ -0,0 +1,21 @@
1
+ /*
2
+ * Copyright 2003 James Bursa <bursa@users.sourceforge.net>
3
+ * Copyright 2004 John Tytgat <John.Tytgat@aaug.net>
4
+ *
5
+ * This file is part of NetSurf, http://www.netsurf-browser.org/
6
+ * Licenced under the MIT License,
7
+ * http://www.opensource.org/licenses/mit-license.php
8
+ */
9
+
10
+ #include <stdio.h>
11
+
12
+ #ifndef _LIBNSGIF_LOG_H_
13
+ #define _LIBNSGIF_LOG_H_
14
+
15
+ #ifdef NDEBUG
16
+ # define LOG(x) ((void) 0)
17
+ #else
18
+ # define LOG(x) do { fprintf(stderr, x), fputc('\n', stderr); } while (0)
19
+ #endif /* NDEBUG */
20
+
21
+ #endif /* _LIBNSGIF_LOG_H_ */
metadata ADDED
@@ -0,0 +1,112 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: LiteRGSS
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.3
5
+ platform: ruby
6
+ authors:
7
+ - Nuri Yuri
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-09-15 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: LiteRGSS is a Game library that allows you to easly make Games with Ruby.
14
+ LiteRGSS uses SFML to get Inputs and to display Graphics.
15
+ email:
16
+ executables: []
17
+ extensions:
18
+ - ext/LiteRGSS/extconf.rb
19
+ extra_rdoc_files: []
20
+ files:
21
+ - ext/LiteRGSS/Bitmap.cpp
22
+ - ext/LiteRGSS/Bitmap.h
23
+ - ext/LiteRGSS/BlendMode.cpp
24
+ - ext/LiteRGSS/BlendMode.h
25
+ - ext/LiteRGSS/CBitmap_Element.cpp
26
+ - ext/LiteRGSS/CBitmap_Element.h
27
+ - ext/LiteRGSS/CDrawable_Element.cpp
28
+ - ext/LiteRGSS/CDrawable_Element.h
29
+ - ext/LiteRGSS/CRect_Element.h
30
+ - ext/LiteRGSS/CShaderSprite_Element.cpp
31
+ - ext/LiteRGSS/CShaderSprite_Element.h
32
+ - ext/LiteRGSS/CSprite_Element.cpp
33
+ - ext/LiteRGSS/CSprite_Element.h
34
+ - ext/LiteRGSS/CText_Element.cpp
35
+ - ext/LiteRGSS/CText_Element.h
36
+ - ext/LiteRGSS/CTone_Element.h
37
+ - ext/LiteRGSS/CViewport_Element.cpp
38
+ - ext/LiteRGSS/CViewport_Element.h
39
+ - ext/LiteRGSS/Color.cpp
40
+ - ext/LiteRGSS/Color.h
41
+ - ext/LiteRGSS/Fonts.cpp
42
+ - ext/LiteRGSS/Fonts.h
43
+ - ext/LiteRGSS/Graphics.cpp
44
+ - ext/LiteRGSS/Graphics.h
45
+ - ext/LiteRGSS/Graphics.local.cpp
46
+ - ext/LiteRGSS/Graphics.local.h
47
+ - ext/LiteRGSS/Image.cpp
48
+ - ext/LiteRGSS/Image.h
49
+ - ext/LiteRGSS/Input.cpp
50
+ - ext/LiteRGSS/Input.h
51
+ - ext/LiteRGSS/LiteRGSS.cpp
52
+ - ext/LiteRGSS/LiteRGSS.h
53
+ - ext/LiteRGSS/Rect.cpp
54
+ - ext/LiteRGSS/Rect.h
55
+ - ext/LiteRGSS/Shader.cpp
56
+ - ext/LiteRGSS/Shader.h
57
+ - ext/LiteRGSS/ShaderSprite.cpp
58
+ - ext/LiteRGSS/ShaderSprite.h
59
+ - ext/LiteRGSS/Sprite.cpp
60
+ - ext/LiteRGSS/Sprite.h
61
+ - ext/LiteRGSS/Table.cpp
62
+ - ext/LiteRGSS/Table.h
63
+ - ext/LiteRGSS/Table32.cpp
64
+ - ext/LiteRGSS/Table32.h
65
+ - ext/LiteRGSS/Text.cpp
66
+ - ext/LiteRGSS/Text.h
67
+ - ext/LiteRGSS/Texture.hpp
68
+ - ext/LiteRGSS/Tone.cpp
69
+ - ext/LiteRGSS/Tone.h
70
+ - ext/LiteRGSS/Viewport.cpp
71
+ - ext/LiteRGSS/Viewport.h
72
+ - ext/LiteRGSS/Yuki.cpp
73
+ - ext/LiteRGSS/Yuki.h
74
+ - ext/LiteRGSS/Yuki_Gif.cpp
75
+ - ext/LiteRGSS/Yuki_Gif.h
76
+ - ext/LiteRGSS/extconf.rb
77
+ - ext/LiteRGSS/libnsgif.c
78
+ - ext/LiteRGSS/libnsgif.h
79
+ - ext/LiteRGSS/libnsgif.hpp
80
+ - ext/LiteRGSS/lodepng.cpp
81
+ - ext/LiteRGSS/lodepng.h
82
+ - ext/LiteRGSS/lzw.c
83
+ - ext/LiteRGSS/lzw.h
84
+ - ext/LiteRGSS/sf_Text2.cpp
85
+ - ext/LiteRGSS/sf_Text2.hpp
86
+ - ext/LiteRGSS/utils/log.h
87
+ homepage: https://psdk.pokemonworkshop.fr/litergss
88
+ licenses: []
89
+ metadata:
90
+ source_code_uri: https://github.com/NuriYuri/LiteRGSS
91
+ documentation_uri: https://psdk.pokemonworkshop.fr/litergss
92
+ post_install_message:
93
+ rdoc_options: []
94
+ require_paths:
95
+ - lib
96
+ required_ruby_version: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: 2.5.0
101
+ required_rubygems_version: !ruby/object:Gem::Requirement
102
+ requirements:
103
+ - - ">="
104
+ - !ruby/object:Gem::Version
105
+ version: '0'
106
+ requirements: []
107
+ rubyforge_project:
108
+ rubygems_version: 2.7.3
109
+ signing_key:
110
+ specification_version: 4
111
+ summary: LiteRGSS library, make Game with ruby easily
112
+ test_files: []