Commit Graph

1836 Commits

Author SHA1 Message Date
Hajime Hoshi
941c24e9fd examples/2048: Pop animation 2016-07-31 17:43:46 +09:00
Hajime Hoshi
c44f2819af examples/2048: Refactoring 2016-07-31 14:57:42 +09:00
Hajime Hoshi
b59649336a examples/2048: Refactoring: Don't animate when all tiles are not to move 2016-07-31 04:25:57 +09:00
Hajime Hoshi
3153720e9a examples/2048: Bug fix: animate tiles correctly 2016-07-31 03:42:59 +09:00
Hajime Hoshi
bdf2919ed0 examples/2048: Animate tiles 2016-07-31 02:49:28 +09:00
Hajime Hoshi
0ec07420f4 examples/2048: Introduce TileData 2016-07-31 01:03:14 +09:00
Hajime Hoshi
3ce0572a81 examples/2048: Add Tile.Draw 2016-07-30 18:15:38 +09:00
Hajime Hoshi
ba8138f69b examples/2048: Refactoring 2016-07-30 17:31:26 +09:00
Hajime Hoshi
ef61e7a568 examples/2048: Bug fix: Should not add a new tile when no tiles are moved 2016-07-29 03:41:55 +09:00
Hajime Hoshi
399d29b1a0 examples/2048: Draw texts 2016-07-29 01:52:21 +09:00
Hajime Hoshi
90b6e3871a examples/2048: Draw colored tiles 2016-07-29 01:26:44 +09:00
Hajime Hoshi
d9ee460b20 examples/2048: Add tests 2016-07-29 00:00:12 +09:00
Hajime Hoshi
0a04ed1c22 examples/2048: Refactoring 2016-07-28 22:34:20 +09:00
Hajime Hoshi
30a16cbcbe examples/2048: Implement the rule 2016-07-28 12:36:31 +09:00
Hajime Hoshi
8daa246da4 Add examples/2048 (#181) 2016-07-28 04:30:10 +09:00
Hajime Hoshi
8855df40e4 gprahics: Bug fix: Check if an image is disposed before resetting pixels (examples/windowsize crashes) 2016-07-28 01:17:57 +09:00
Hajime Hoshi
5e1ed99e2e Use files in examples (#243) 2016-07-28 01:10:40 +09:00
Hajime Hoshi
4ad5c65efe graphics: Rename s/ensure/resolveStale/ 2016-07-27 23:08:28 +09:00
Hajime Hoshi
9b6b5372ef pixels: Remove image member 2016-07-27 12:24:30 +09:00
Hajime Hoshi
3bc2239a3b pixels: Bug fix: Update image member when creating a new image 2016-07-27 12:13:54 +09:00
Hajime Hoshi
b901d2acb1 graphics: Avoid ReadPixels when the image is volatile 2016-07-27 03:09:56 +09:00
Hajime Hoshi
3724815f21 pixels: Rename functions 2016-07-27 02:50:53 +09:00
Hajime Hoshi
459046f52a pixels: Ensure pixels is not stale when restoring 2016-07-27 02:25:08 +09:00
Hajime Hoshi
e0894879f1 pixels: Remove IsStale 2016-07-27 02:20:42 +09:00
Hajime Hoshi
56732d9a23 pixels: Add 'stale' member 2016-07-27 02:17:27 +09:00
Hajime Hoshi
c18756352d pixels: Refactoring 2016-07-27 01:54:23 +09:00
Hajime Hoshi
5c56058d6e pixels Rename s/history/dependency/ 2016-07-27 01:28:16 +09:00
Hajime Hoshi
eff0ec8e11 graphics: Remove unneeded calls ReplacePixels 2016-07-26 12:47:45 +09:00
Hajime Hoshi
c5f3eaf925 graphics: Refactoring 2016-07-26 12:28:05 +09:00
Hajime Hoshi
2e0b7da614 grahics: Add comments 2016-07-26 12:24:07 +09:00
Hajime Hoshi
40427b6263 pixels: Bug fix: Reset pixels correctly 2016-07-26 11:40:41 +09:00
Hajime Hoshi
0fc61ed568 pixels: Rename fuctions 2016-07-26 10:51:48 +09:00
Hajime Hoshi
558f559323 graphics: Remove pixels when inconsistent 2016-07-26 10:35:24 +09:00
Hajime Hoshi
1ec503e1b5 pixels: Add comments 2016-07-25 10:38:41 +09:00
Hajime Hoshi
939284820c pixels: Bug fix: Remove IsCleared: pixels state might not match with actual state 2016-07-25 10:22:37 +09:00
Hajime Hoshi
c0eb01d69e pixels: Rename s/flush/reset/ 2016-07-25 09:10:51 +09:00
Hajime Hoshi
95dae4ad45 pixels: Remove 'inconsistent' property 2016-07-25 09:01:00 +09:00
Hajime Hoshi
931e60902f graphics: Refactoring 2016-07-25 08:48:58 +09:00
Hajime Hoshi
f6be72fba2 Add internal/pixels 2016-07-25 02:28:59 +09:00
Hajime Hoshi
000958df56 Remove imageForPixels 2016-07-25 02:07:39 +09:00
Hajime Hoshi
62acfb5b0a graphics: Don't use GeoM/ColorM in pixels. Use graphics.Matrix instead 2016-07-24 06:46:47 +09:00
Hajime Hoshi
3ea6033c3d graphics: Don't ref *Image in pixels. Ref *graphics.Image instead 2016-07-24 06:22:33 +09:00
Hajime Hoshi
9bbd5e89c3 graphics: Bug fix: GL context is not available until graphics context is initialized 2016-07-24 06:02:04 +09:00
Hajime Hoshi
e118a755f5 ui: Bug fix: Sizing also calls GLContext 2016-07-24 05:29:47 +09:00
Hajime Hoshi
efe64d56f4 ui: Bug fix: Avoid dead lock 2016-07-24 04:32:12 +09:00
Hajime Hoshi
b5f51dbccc graphics: imageImpl has pixels as a pointer 2016-07-24 03:39:25 +09:00
Hajime Hoshi
7649236712 graphics: Add pixels.makeInconsistent 2016-07-24 02:53:33 +09:00
Hajime Hoshi
b3aa567f38 graphics: Add imageForPixels 2016-07-24 01:50:22 +09:00
Hajime Hoshi
8d074ecc20 graphics: Add Pixel's 'inconsistent' state 2016-07-24 01:28:39 +09:00
Hajime Hoshi
75916490b7 graphics: Better name functions 2016-07-24 00:46:24 +09:00