|
b455fb9e15
|
load GL buffers
|
2014-07-26 11:16:35 -04:00 |
|
|
5c52ed0c4d
|
Font: compute baseline_offset
|
2014-07-26 11:02:37 -04:00 |
|
|
de5b4e7413
|
Font: preload some glyphs, add advance and line_height Ruby attributes
|
2014-07-26 09:25:44 -04:00 |
|
|
b7ad236b7b
|
convert Font to Ruby class
|
2014-07-25 23:31:29 -04:00 |
|
|
8d8c9adcb3
|
clean up allocated memory properly when raising Ruby exceptions upon object creation
|
2014-07-25 16:29:19 -04:00 |
|
|
9203a94a71
|
remove FontManager module
|
2014-07-24 21:15:25 -04:00 |
|
|
40719e085a
|
add Init_FreeType() in Font.cc
|
2014-07-24 21:14:29 -04:00 |
|
|
abf21b4b73
|
mark main() as extern "C"
|
2014-07-24 15:08:45 -04:00 |
|
|
b908c98c8c
|
record all Windows, add Window.event_loop
|
2014-07-23 22:21:59 -04:00 |
|
|
8604d6d5ad
|
load shaders from Ruby on Window creation
|
2014-07-23 16:36:40 -04:00 |
|
|
d85a0de9df
|
fill in GLProgram#initialize
|
2014-07-23 15:33:39 -04:00 |
|
|
2ae76e55f1
|
add Runtime.read
|
2014-07-23 15:17:41 -04:00 |
|
|
41855c4e89
|
add GLProgram#link
|
2014-07-23 15:14:02 -04:00 |
|
|
43487eb415
|
finish off GLShader_new()
|
2014-07-22 20:24:24 -04:00 |
|
|
864c5c2930
|
add GLProgram#bind_attribute
|
2014-07-22 18:59:46 -04:00 |
|
|
6a22ae4ad4
|
GLProgram: define initialize in ruby, allow attaching shaders
|
2014-07-22 18:59:01 -04:00 |
|
|
bd188f9e83
|
add GLShader_id()
|
2014-07-22 18:51:38 -04:00 |
|
|
6aef5dab75
|
begin on GLProgram
|
2014-07-22 18:36:16 -04:00 |
|
|
bf15a702ab
|
convert GLShader to a Ruby class
|
2014-07-19 13:17:23 -04:00 |
|
|
c3b4c33304
|
remove "namespace jes" wrapper around C++ content
|
2014-07-19 12:42:29 -04:00 |
|
|
b6c5e9e1d7
|
break up Init_Graphics() into Init_SDL() and Init_OpenGL() since they need to be called at separate times
|
2014-07-19 12:34:25 -04:00 |
|
|
b559ef1be0
|
add Window module
|
2014-07-19 09:24:55 -04:00 |
|
|
6ec0383392
|
remove Core c++ module
|
2014-07-18 20:29:45 -04:00 |
|
|
2f2cec509e
|
remove Runtime c++ class
|
2014-07-18 20:28:40 -04:00 |
|
|
447e4279e7
|
Runtime: locate font files
|
2014-07-15 16:54:12 -04:00 |
|
|
4431cf4b29
|
optimize Runtime.default_paths slightly
|
2014-07-15 16:19:41 -04:00 |
|
|
5c9cc2223e
|
set up Ruby load path for runtime modules; add runtime.rb
|
2014-07-15 15:26:35 -04:00 |
|
|
71578566fe
|
link with static libgcc and libstdc++ on Windows
|
2014-07-15 12:05:32 -04:00 |
|
|
4d515297e6
|
rework Rakefile.rb to allow cross-compiling from cygwin
|
2014-07-15 11:56:34 -04:00 |
|
|
d5e7774e3c
|
rename runtime/fonts/freefont -> runtime/fonts/freefont-ttf-20120503
|
2014-07-15 10:32:25 -04:00 |
|
|
ece813da21
|
add dejavu-fonts-ttf-2.34 fonts to runtime
|
2014-07-15 10:31:57 -04:00 |
|
|
17bce5caed
|
move JES_O_BINARY to FileReader.cc
|
2014-07-12 11:23:11 -04:00 |
|
|
a3326b099b
|
print exceptions like MRI
|
2014-07-12 11:12:21 -04:00 |
|
|
2d7d3d14ab
|
pass ARGV to main.rb; catch bootstrapping exceptions
|
2014-07-12 10:30:02 -04:00 |
|
|
f0db52e3d7
|
embed a Ruby; load runtime/main.rb
|
2014-07-12 10:09:24 -04:00 |
|
|
a717ed4a38
|
fix unit tests for reorganized codebase
|
2014-07-12 09:46:32 -04:00 |
|
|
e1c5d0f0f4
|
remove library/gui source trees, put everything under src/
|
2014-07-12 09:46:32 -04:00 |
|
|
45d86d1e35
|
determine baseline offset based on descender for "g" glyph
|
2014-06-26 14:09:02 -04:00 |
|
|
dd5b7bf8fd
|
GUI: add load_buffers(), draw_rect()
|
2014-06-26 12:50:48 -04:00 |
|
|
7c9c176c90
|
add GLBuffer class
|
2014-06-26 12:49:40 -04:00 |
|
|
2f7bac1d75
|
update shaders to #version 410
|
2014-06-26 12:00:04 -04:00 |
|
|
3c22fed1fe
|
GUI: add resize() and draw()
|
2014-06-26 11:15:34 -04:00 |
|
|
23a24e4af4
|
GUI: load GL shaders/programs
|
2014-06-26 10:47:46 -04:00 |
|
|
c5de5ae479
|
rework text shader, add basic and rect shaders
|
2014-06-26 10:47:45 -04:00 |
|
|
7623a85e4e
|
make GUI resizable
|
2014-06-24 21:40:56 -04:00 |
|
|
da2bf02922
|
include string.h in GLTexture.cc
|
2014-06-24 18:31:24 -04:00 |
|
|
33242af038
|
Font: fix glyph vertex and texture coordinates
|
2014-06-24 09:29:28 -04:00 |
|
|
4ef71dae79
|
fix text vertex shader coordinate mapping
|
2014-06-24 09:28:20 -04:00 |
|
|
eb72558cf7
|
add GLTexture class; use from Font::Glyph
|
2014-06-24 09:18:13 -04:00 |
|
|
89849c561a
|
Font::render(): bind buffer before setting vertex attribute pointer
|
2014-06-24 08:40:27 -04:00 |
|