File: general.rsd

package info (click to toggle)
ruby-sdl 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, stretch
  • size: 1,544 kB
  • ctags: 1,359
  • sloc: cpp: 7,598; ansic: 4,498; ruby: 2,246; makefile: 106; sh: 102
file content (57 lines) | stat: -rw-r--r-- 1,848 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
= Contents
* ((<"Ruby/SDL Outline">))
* ((<Initialize>))
* ((<Video>))
* ((<OpenGL>))
* ((<Window Management>))
* ((<Event>))
* ((<Joystick>))
* ((<CD-ROM>))
* ((<Audio>))
* ((<Time>))
* ((<Font>))
* ((<Collision Detection>))
* ((<SDLSKK>))
* ((<MPEG playback>))

= Ruby/SDL Outline
Ruby/SDL is Ruby extension library for
((<SDL|URL:http://www.libsdl.org/>)).
This library enables you to create games, demo, or so on.

Ruby/SDL has following functions.
* ((<access to 2D video framebuffer|Video>))
* Access ((<Keyboard and mouse|Event>)), ((<Joystick>)) input
* ((<Audio Playback|Audio>)) with ((<SDL_mixer|URL:http://www.libsdl.org/projects/SDL_mixer/index.html>))
* ((<Control CD-ROM|CD-ROM>))
* ((<Font drawing |Font>)) with ((<SDL_ttf|URL:http://www.libsdl.org/projects/SDL_ttf/index.html>)),
  ((<SDL_kanji|URL:http://shinh.skr.jp/sdlkanji/>)) and
  ((<SGE|URL:http://www.etek.chalmers.se/~e8cal1/sge/index.html>))
* ((<Using OpenGL|OpenGL>)) via ((<OpenGL Interface|URL:http://www2.giganet.net/~yoshi/>))
* ((<Dealing with time|Time>))
* ((<SKK like Japanese input|SDLSKK>)) with ((<SDLSKK|URL:http://www.kmc.gr.jp/~ohai/sdlskk.html>))
* ((<MPEG playback>)) with ((<SMPGE|URL:http://www.icculus.org/smpeg/>))
* ((<Window Management>)) and ((<Collision Detection>))

= m17n on Ruby 1.9
On ruby 1.9, strings have encoding information
but many methods of Ruby/SDL ignore this information
since SDL doesn't define the treatment of multibyte 
encodings. 
Only some methods use encoding information such as
@[WM.set_caption] and @[Kanji#put].

Please see items in this reference for more details.

You can enable/disable Ruby/SDL m17n support 
to use --enable-m17n/--disable-m17n when you
run extconf.rb.

== SDL::Error
A Exception class for SDL specific errors.
This class is subclass of StandardError.

== SDL::VERSION
Ruby/SDL version string.