Commit Graph

7355 Commits

Author SHA1 Message Date
Hajime Hoshi
11a9b77be3 Refactoring 2014-01-11 15:18:04 +09:00
Hajime Hoshi
ee23301538 Use signal to catch SIGINT and SIGTERM 2014-01-11 15:14:47 +09:00
Hajime Hoshi
6f1799b1c6 Bug fix: Ignore Draw when the window is closed 2014-01-11 14:48:43 +09:00
Hajime Hoshi
172dd4bca4 Refactoring 2014-01-11 11:42:23 +09:00
Hajime Hoshi
738c06c28d Add gl.go 2014-01-11 11:18:55 +09:00
Hajime Hoshi
41eb300065 Rename textureFactory -> sharedContext 2014-01-11 11:09:11 +09:00
Hajime Hoshi
96c53234e5 Hide some functions of RenderTarget 2014-01-11 09:03:00 +09:00
Hajime Hoshi
1b6bc12ead Remove Offscreen 2014-01-11 08:59:38 +09:00
Hajime Hoshi
1772d85d58 Move Clear/Fill to RenderTarget 2014-01-11 08:20:05 +09:00
Hajime Hoshi
1c10c45f69 Refactoring 2014-01-10 22:30:36 +09:00
Hajime Hoshi
29e5aa331f Refactoring 2014-01-10 00:42:42 +09:00
Hajime Hoshi
a9711cd509 Delete a texture when deleting the render target 2014-01-08 18:58:15 +09:00
Hajime Hoshi
92b2e0d948 Refactoring 2014-01-08 18:47:38 +09:00
Hajime Hoshi
cd6db439e4 Refactoring 2014-01-08 18:03:21 +09:00
Hajime Hoshi
b60db9c2f6 Make RenderTarget's fields unexported 2014-01-08 16:38:03 +09:00
Hajime Hoshi
2ed01a6232 Remove graphics/texture 2014-01-08 14:54:12 +09:00
Hajime Hoshi
05dede71e7 Refactoring 2014-01-08 01:04:14 +09:00
Hajime Hoshi
1dece94cc8 Move functions from graphics/texture to graphics 2014-01-08 00:45:53 +09:00
Hajime Hoshi
0cbf6a58aa Move texture.Quad -> graphics.TextureQuad 2014-01-07 23:33:53 +09:00
Hajime Hoshi
2b4dc28d91 go fmt 2014-01-07 23:29:24 +09:00
Hajime Hoshi
7cea6f4bc8 Remove the render target when closing the window 2014-01-07 21:58:46 +09:00
Hajime Hoshi
5d2e2476b6 Refactoring: lazy initializing the application 2014-01-07 02:14:53 +09:00
Hajime Hoshi
1f1c5cba95 Add methods to ui/cocoa/texture_factory.go 2014-01-07 00:10:46 +09:00
Hajime Hoshi
0829299fea Rename Window -> GameWindow 2014-01-04 01:47:05 +09:00
Hajime Hoshi
1a7a8b340f Rename files 2013-12-31 18:17:35 +09:00
Hajime Hoshi
cc14882cb2 Remove void* 2013-12-31 03:17:39 +09:00
Hajime Hoshi
f82241b56f Refactoring 2013-12-30 01:55:53 +09:00
Hajime Hoshi
fbd35ac6a8 Add 'release' 2013-12-30 01:36:11 +09:00
Hajime Hoshi
51fa65bf2f Flush lines 2013-12-27 00:37:36 +09:00
Hajime Hoshi
ce97070f66 Implement landing 2013-12-20 03:21:10 +09:00
Hajime Hoshi
14994d57f2 Landing a piece 2013-12-20 03:03:35 +09:00
Hajime Hoshi
2ac027c452 Drop a piece 2013-12-20 01:23:00 +09:00
Hajime Hoshi
631b226b5b Move a piece 2013-12-20 01:08:32 +09:00
Hajime Hoshi
bc7dd51adf Show a piece 2013-12-19 03:21:25 +09:00
Hajime Hoshi
71e08bca41 Add images/README.md 2013-12-18 18:09:56 +09:00
Hajime Hoshi
c35d0f85ec Title for blocks 2013-12-18 18:05:28 +09:00
Hajime Hoshi
72ce849fbd Key events 2013-12-16 10:02:15 +09:00
Hajime Hoshi
099ab48382 Bug fix: check ui.textureFactoryEvent exists 2013-12-16 09:50:56 +09:00
Hajime Hoshi
94ecfbba9c Refactoring event handling 2013-12-16 09:39:49 +09:00
Hajime Hoshi
aeab5f3437 Refactoring 2013-12-16 02:42:54 +09:00
Hajime Hoshi
b70884ca40 Added keydown/keyup 2013-12-16 01:13:18 +09:00
Hajime Hoshi
0a3ec197ff Rename InputStateUpdated -> MouseStateUpdated 2013-12-15 23:45:50 +09:00
Hajime Hoshi
f61d9280e4 Rename: Canvas -> Context 2013-12-14 06:10:24 +09:00
Hajime Hoshi
4d62fb0b01 Bug fix: parts should be copied 2013-12-14 05:55:13 +09:00
Hajime Hoshi
b1062a80bf Refactoring 2013-12-14 05:34:27 +09:00
Hajime Hoshi
5aa0b5f5c2 Avoid a busy loop 2013-12-13 01:27:02 +09:00
Hajime Hoshi
d087333e48 Refactoring 2013-12-13 00:45:24 +09:00
Hajime Hoshi
63fc25d24c Refactoring 2013-12-12 01:46:56 +09:00
Hajime Hoshi
82e8849e01 Refactoring 2013-12-11 22:31:13 +09:00
Hajime Hoshi
f4e59293fb Bug fix: we can't draw on a window after closing 2013-12-11 01:01:01 +09:00