Commit Graph

1083 Commits

Author SHA1 Message Date
Hajime Hoshi
f8e984a62a audio/vorbis: Fix error messages 2016-03-27 16:31:28 +09:00
Hajime Hoshi
3b35e6c253 audio/vorbis: Remove Stream interface 2016-03-27 01:15:28 +09:00
Hajime Hoshi
a3b5b283e4 ui: Bug fix: assigning a run context was not goroutine-safe 2016-03-26 19:16:57 +09:00
Hajime Hoshi
fc3dcd4a6b ui: Make UI functions goroutine-safe 2016-03-26 18:46:07 +09:00
Hajime Hoshi
1934ab0893 ui: Add *runContext.updateScreenSize 2016-03-26 18:17:06 +09:00
Hajime Hoshi
5a8f5ffe87 ui: Remove running member 2016-03-26 17:59:36 +09:00
Hajime Hoshi
30d4437e97 ui: Add runContext struct 2016-03-26 17:50:00 +09:00
Hajime Hoshi
75ef9a6d47 ui: Add read-write lock 2016-03-26 17:24:40 +09:00
Hajime Hoshi
4a60343fe6 ui: Don't use currentUI directly 2016-03-26 15:17:01 +09:00
Hajime Hoshi
f58a253631 graphics: Fix comments 2016-03-26 04:27:07 +09:00
Hajime Hoshi
95485441f4 ui: Remove dataset attributes 2016-03-25 01:15:47 +09:00
Hajime Hoshi
fb3bf4e3b4 ui: Add CurrentUI() 2016-03-25 00:38:30 +09:00
Hajime Hoshi
6ac6b8e7c0 input: Make functions goroutine-safe (#192) 2016-03-24 23:51:20 +09:00
Hajime Hoshi
6efead974f ui: Rename ActualScale -> ActualScreenScale 2016-03-23 01:14:28 +09:00
Hajime Hoshi
2beba60530 examples/windowsize: Bug fix: screen size must be positive 2016-03-23 00:45:58 +09:00
Hajime Hoshi
62dffe5405 Add ebiten.ScreenScale() (#191) 2016-03-23 00:44:16 +09:00
Hajime Hoshi
2157061479 ui: Use actualScale to calc minimum window size 2016-03-22 12:01:53 +09:00
Hajime Hoshi
993a55abde ui: Set window width limitation for Windows (#165) 2016-03-22 11:56:40 +09:00
Hajime Hoshi
4bf3b4e44e examples/windowsize: Use the screen's Size() 2016-03-22 01:36:04 +09:00
Hajime Hoshi
1b86bb9889 examples/font: Add an English sentence 2016-03-21 23:25:17 +09:00
Hajime Hoshi
deabfa5e15 graphics: Clear the default render target just after initializing 2016-03-21 23:24:30 +09:00
Hajime Hoshi
dc933b88f8 Add examples/font (#77) 2016-03-21 21:09:31 +09:00
Hajime Hoshi
8086afb6b5 examples/audio: Toggle play/pause 2016-03-21 01:38:15 +09:00
Hajime Hoshi
82788c45b0 audio/vorbis: Enable to decode parallelly in JavaScript 2016-03-20 04:33:59 +09:00
Hajime Hoshi
3acb3e08ce audio/vorbis: Bug fix: Set sample rate in JavaScript 2016-03-20 04:12:02 +09:00
Hajime Hoshi
11c9ab3fbf examples/audio: Refactoring: Introduce Player struct 2016-03-20 04:02:51 +09:00
Hajime Hoshi
4a4621a126 examples/audio: Implement seeking 2016-03-20 01:40:10 +09:00
Hajime Hoshi
0fb5dffbf5 examples/audio: Add the player bar 2016-03-19 23:45:36 +09:00
Hajime Hoshi
eb0d650612 tmp 2016-03-18 02:42:47 +09:00
Hajime Hoshi
79e1d1b1f7 audio/vorbis: Add Stream interface 2016-03-18 02:42:47 +09:00
Hajime Hoshi
ff2882799c graphics: Add uv (optimization) 2016-03-18 02:41:00 +09:00
Hajime Hoshi
15d0ec3775 graphics: Reduce int16 converting 2016-03-18 01:52:46 +09:00
Hajime Hoshi
b02df7b542 graphics: Bug fix #186 by clearing non-black-or-white color 2016-03-17 03:31:12 +09:00
Hajime Hoshi
6c78837d06 test: Split util_test into readfile_test and readfile_js_test 2016-03-17 00:11:40 +09:00
Hajime Hoshi
c100ff7989 audio: Refactoring 2016-03-16 03:02:54 +09:00
Hajime Hoshi
3bf9334a80 audio: Bug fix: a buffer size passed to OpenAL must be a multiple of 4 (#187) 2016-03-16 02:58:33 +09:00
Hajime Hoshi
8f15978c83 ui: Bug fix: Quit soon after the window is closed (#185) 2016-03-15 00:32:06 +09:00
Hajime Hoshi
1bb8a8b4bf audio: time.Sleep for Windows 2016-03-14 01:13:11 +09:00
Hajime Hoshi
d397842ada audio: More sleeping (#183) 2016-03-14 01:03:52 +09:00
Hajime Hoshi
681b8ef933 audio: time.Sleep to avoid busy loop 2016-03-14 00:07:31 +09:00
Hajime Hoshi
f07702746c audio: Reduce 'make' for performance (#183) 2016-03-13 23:13:50 +09:00
Hajime Hoshi
8b8eb855a7 audio: Avoid busy loops (#183) 2016-03-13 22:39:03 +09:00
Hajime Hoshi
b1f856a0e0 Add FPS const 2016-03-13 04:57:31 +09:00
Hajime Hoshi
305016f636 audio: Reduce magic numbers 2016-03-13 03:59:57 +09:00
Hajime Hoshi
8c065a28e1 audio/vorbis: Hide Stream struct 2016-03-13 03:15:19 +09:00
Hajime Hoshi
bc49108c40 audio: Move VorbisStream to a new package 2016-03-13 03:00:05 +09:00
Hajime Hoshi
71312ba26f audio: Add AudioContext.Update (#177) 2016-03-12 23:40:11 +09:00
Hajime Hoshi
77b62615b2 audio: Adjust buffer size to reduce noise 2016-03-11 13:03:45 +09:00
Hajime Hoshi
f2173f8f75 audio: Bug fix: Adjust stream position (#180) 2016-03-11 12:01:48 +09:00
Hajime Hoshi
bcd7bfc74e audio: Bug fix: mixedPlayersStream.Read must return 0 when nothing plays (#180) 2016-03-11 04:21:27 +09:00