Commit Graph

2135 Commits

Author SHA1 Message Date
Hajime Hoshi
2c5ee99769 Simplify internal API not to return errors 2017-03-04 01:00:18 +09:00
Hajime Hoshi
7ba18a5d0d graphics: Image.Clear/Fill now always return nil (#331) 2017-03-04 00:53:49 +09:00
Hajime Hoshi
1c7ce07edf Simplify internal API not to return errors 2017-03-04 00:44:41 +09:00
Hajime Hoshi
33ff25cc40 gofmt -s -w 2017-03-04 00:00:04 +09:00
Hajime Hoshi
147798e14d Simplify internal API not to return errors 2017-03-03 23:59:44 +09:00
Hajime Hoshi
cad051437d ui: Refactoring 2017-03-03 11:15:07 +09:00
Hajime Hoshi
e11bc62059 ui: SetScreenSize/Scale no longer returns error 2017-03-03 10:58:29 +09:00
Hajime Hoshi
b6b61fc003 ui: setScreenSize in ui_glfw.go no longer returns error 2017-03-03 10:50:47 +09:00
Hajime Hoshi
0ba28d1183 ui: Remove unused function 2017-03-03 02:27:39 +09:00
Hajime Hoshi
2b1dc69497 graphics: Document bug fix: DrawImage 2017-02-27 23:53:21 +09:00
Hajime Hoshi
ae378dc7f5 input: Extend number of gamepad buttons from 16 to 32 (for PS4) 2017-02-25 22:49:17 +09:00
Hajime Hoshi
bc29a6a355 doc: Add explanation of errors from Run (#327) 2017-02-22 23:25:46 +09:00
Hajime Hoshi
acc488b980 graphics: Bug fix: Wrong palette usage when the palette is big 2017-02-19 02:56:20 +09:00
Hajime Hoshi
5466ac504f Update Go version in .travis.yml (#325) 2017-02-18 22:29:58 +09:00
Hajime Hoshi
5da58fc949 audio: Fix comment 2017-02-18 15:48:31 +09:00
Hajime Hoshi
8bfcea8f42 audio: Fix compile error on macOS (#324) 2017-02-18 15:42:35 +09:00
Hajime Hoshi
fcbfb52191 doc: s/Mac OS X/macOS/ 2017-02-17 03:19:52 +09:00
Hajime Hoshi
2358143eea graphics: Give up to pass all tests on TravisCI 2017-02-11 04:15:14 +09:00
Hajime Hoshi
249b359e29 graphics: Try to make CI happy (3) 2017-02-11 04:04:51 +09:00
Hajime Hoshi
b8456094f2 graphics: Try to make CI happy (2) 2017-02-11 03:51:20 +09:00
Hajime Hoshi
9748b28c0e graphics: Try to make CI happy 2017-02-11 03:44:33 +09:00
Hajime Hoshi
6ccd27ee67 graphics: Add TestImageEdge and remove examples/edge instead 2017-02-11 03:32:51 +09:00
Hajime Hoshi
9634794e7e ui: Use GetWindowThreadProcessId to check who created the console (#304, #318) 2017-02-09 03:49:45 +09:00
Hajime Hoshi
bd1a486b3a Bug fix: gopherjs build failed on Windows 2017-02-09 02:37:40 +09:00
Hajime Hoshi
93684d5df3 ui: Hide console window by checking the parent process (#304, #318) 2017-02-09 02:01:03 +09:00
Hajime Hoshi
1265eaaf90 Fix AUTHORS 2017-02-08 02:58:28 +09:00
Hajime Hoshi
e071e36e65 Stop using lgtm.co 2017-02-08 02:56:06 +09:00
Hajime Hoshi
9185d729d4 docs: Add gonutz to AUTHORS 2017-02-07 20:52:50 +09:00
gonutz
112654995f Hide console window on Windows (#318)
* Hide console only if double-clicking Windows exe

When building on Windows the console window is hidden on start-up if
double-clicking the executable but not if running the program from the
command line (as a developer).
See the code comments for an explanation of the used heuristic.
2017-02-07 20:44:10 +09:00
Hajime Hoshi
06394680c1 graphics: Better texels adjusting for small textures (#317) 2017-02-06 10:35:51 +09:00
Hajime Hoshi
bb993a481b graphics: Bug fix: Outside texels are used (#317) 2017-02-06 09:10:44 +09:00
Hajime Hoshi
d216a04cb6 examples/edge: Update to use ImageParts 2017-02-06 07:58:14 +09:00
Hajime Hoshi
6929c70c06 examples/edge: Update 2017-02-05 16:05:32 +09:00
Hajime Hoshi
98054928ac graphics: Update TestImageScale 2017-02-05 16:05:19 +09:00
Hajime Hoshi
4f45c0361d graphics: Add TestImageScale 2017-02-05 06:15:51 +09:00
Hajime Hoshi
6d2692b0db Add examples/edge to check #315 2017-02-05 05:19:14 +09:00
Hajime Hoshi
0967df7f5e graphics: Fix TestImagePixels to check out-of-range pixels 2017-02-05 04:24:07 +09:00
Hajime Hoshi
91681bdc25 graphics: Bug fix: ReplacePixels must reset pixels out of range (#316) 2017-02-05 04:16:09 +09:00
Hajime Hoshi
d7f1165aa3 graphics: Avoid calling ReplacePixels unnecessarily 2017-02-05 02:19:30 +09:00
Hajime Hoshi
dfa9eef753 graphics: Add TestImage90DegreeRotate 2017-02-04 21:41:00 +09:00
Hajime Hoshi
c00a4985d4 Adjust LICENSE file 2017-01-30 18:57:49 +09:00
Hajime Hoshi
0ef1e61d55 mobile: Fix iOS tag usages (#310) 2017-01-26 01:32:33 +09:00
Hajime Hoshi
8c2064c8b7 audio: Apply delaying when initializing 2017-01-22 19:43:03 +09:00
Hajime Hoshi
7201015d02 audio: Bug fix: Noise on Safari because of performance issue (#307) 2017-01-22 19:19:24 +09:00
Hajime Hoshi
6e897d1479 graphcis: Bug fix: Can't dispose textures/framebuffers after the context is lost (fixing #305) 2017-01-22 01:37:08 +09:00
Hajime Hoshi
d3e1f91511 graphis: Bug fix: blurred screen after restoring the context (#306) 2017-01-21 15:16:47 +09:00
Hajime Hoshi
a1885458fb graphics: imageImpl.restorable might be nil when restoring 2017-01-21 05:10:10 +09:00
Hajime Hoshi
53952100d3 restorable: Bug fix: graphics.Image can be recreated and must not be used for restoring 2017-01-21 04:24:39 +09:00
Hajime Hoshi
50b50effc0 graphics: Bug fix: Can't delete object after GL context is restored 2017-01-21 03:05:21 +09:00
Hajime Hoshi
bccf76867e graphics: Try to restore the context on browsers (WIP) 2017-01-21 02:56:26 +09:00