Commit Graph

306 Commits

Author SHA1 Message Date
Hajime Hoshi
cf8aa0a7b2 ebiten: Fix old and wrong comments 2021-07-24 15:47:11 +09:00
Hajime Hoshi
52567c459f ebiten: Remove unnecessary casts 2021-07-23 00:57:17 +09:00
Hajime Hoshi
2503323557 internal/driver: Add FPSMode
Updates #1556
2021-07-23 00:47:09 +09:00
Hajime Hoshi
c28bcc26fc internal/clock: Rename UncappedTPS -> SyncWithFPS
Closes #1726
2021-07-22 22:46:24 +09:00
Hajime Hoshi
da2db2f54e ebiten: Add comments about SetCursorShape / CursorShape 2021-07-22 19:17:14 +09:00
Hajime Hoshi
1c3eaba6e3 ebiten: Fix wrong comments 2021-07-22 19:15:11 +09:00
Hajime Hoshi
12960a31ab ebiten: Refactoring: Move RunWithoutMainLoop to another file 2021-07-04 04:23:41 +09:00
Hajime Hoshi
b51c692e50 ebiten: Fix a comment 2021-05-29 14:35:28 +09:00
Tom Lister
5d3a76cbe6
internal/uidriver/js: Implement {Set,}Fullscreen for browsers (#1623)
Closes #1611
2021-04-27 23:58:32 +09:00
Hajime Hoshi
c4c331b0d5 Fix misspellings 2021-04-21 22:50:00 +09:00
Hajime Hoshi
78732d93f6 internal/uidriver/glfw: Bug fix: Crash on some operations on native fullscreen mode (macOS)
This change forbids some operations when the wiindow is natively
fullscreened on macOS in order to avoid crashes.

Closes #1578
2021-04-18 18:11:33 +09:00
Hajime Hoshi
2661c769ef ebiten: Update comments 2021-04-17 22:22:51 +09:00
Hajime Hoshi
150b780ebe ebiten: Add comments about #1575
Updates #1575
2021-04-17 17:33:33 +09:00
Hajime Hoshi
54ac6bed1e ebiten: Refactoring 2021-04-17 17:30:48 +09:00
Hajime Hoshi
5255a54e20 ebiten: Fix the comment about SetCursorMode (again)
Updates #1572
2021-04-16 11:57:53 +09:00
Hajime Hoshi
ad8830d2b7 ebiten: Fix the comment about SetCursorMode
Updates #1572
2021-04-16 03:27:52 +09:00
Hajime Hoshi
d00d0c8556 ebiten: Add CursorShape/SetCursorShape/CursorShapeType
This change adds APIs to enable to use system cursor shapes other
than the default shape (an arrow).

This change doesn't add these cursors since they seem a little
different on macOS from the other platforms.

 * GLFW_HRESIZE_CURSOR
 * GLFW_VRESIZE_CURSOR

Closes #995
2021-04-16 01:09:19 +09:00
Hajime Hoshi
5c8d8ab2eb ebiten: Make NewImage/NewImageFromImage panic when RunGame finishes
Closes #1149
2021-04-03 18:44:43 +09:00
Hajime Hoshi
d6ee55cb22 ebiten: Update comments 2021-04-03 18:05:36 +09:00
Hajime Hoshi
8d951ea024 ebiten: Update comments 2021-04-03 17:56:34 +09:00
Hajime Hoshi
160441bb07 ebiten: Bug fix: Wrong documentation about SetScreenClearedEveryFrame
Closes #1555
2021-03-30 00:32:17 +09:00
Hajime Hoshi
ce24640da8 ebiten: Ensure that Layout is called before Update in the first frame 2020-12-20 21:10:47 +09:00
Hajime Hoshi
eedb947471 Update comments 2020-10-21 03:17:40 +09:00
Hajime Hoshi
2b7362a66b ebiten: Fix comments 2020-10-18 01:29:35 +09:00
Hajime Hoshi
294f4364da ebiten: Rename imageDumperGameWithDraw -> imageDumperGame 2020-10-17 18:16:20 +09:00
Hajime Hoshi
d49d8db15d ebiten: Refactoring: Remove scaleForWindow 2020-10-15 02:29:04 +09:00
Hajime Hoshi
00f3d83d4c Remove supporting GopherJS
Fixes #1129
2020-10-07 01:10:09 +09:00
Hajime Hoshi
41cf90a321 ebiten: Change the default value of IsRunningOnUnfocused to be true
Fixes #1180
2020-10-07 00:30:49 +09:00
Hajime Hoshi
83ead375a4 ebiten: Update comments 2020-10-05 02:00:50 +09:00
Hajime Hoshi
8f00c8fbf5 ebiten: Remove the argument from Update
Fixes #1260
2020-10-04 19:33:10 +09:00
Hajime Hoshi
81f336ac46 ebiten: Remove IsDrawingSkipped
Fixes #1127
2020-10-04 17:21:44 +09:00
Hajime Hoshi
ad07e31727 ebiten: Add Draw function to Game interface
Fixes #1368
2020-10-04 17:13:51 +09:00
Hajime Hoshi
1d4ff9a906 ebiten: Remove the deprecated functions and constants
Updates #1127
2020-10-04 04:47:24 +09:00
Hajime Hoshi
bf515bb594 Update version to v2.0.0-alpha 2020-10-04 04:30:40 +09:00
Bui Quoc Trong
0d29979296
Fix the comment style cause heading in pkgsite (#1369) 2020-09-29 16:55:39 +09:00
Hajime Hoshi
77fa0cb9ef ui: Add SetInitFocused
Fixes #769
2020-08-23 02:19:09 +09:00
Tom Lister
65d5b64d29
ebiten: Rename SetClearingScreenSkipped/IsClearingScreenSkipped functions (#1317)
Fixes #1315
2020-08-20 17:12:22 +09:00
Hajime Hoshi
7ec63acd1d ebiten: Bug fix: Set the state of being volatile on SetClearingScreenSkipped
Fixes #1309
2020-08-19 01:23:30 +09:00
Tom Lister
e96a1fb1c7
ebiten: Implement SetClearingScreenSkipped/IsClearingScreenSkipped (#1302)
Fixes #1132
2020-08-13 18:19:56 +09:00
Hajime Hoshi
afef032acc ebiten: Deprecate Run
Fixes #1184
2020-06-22 03:45:19 +09:00
Marios Nikolaou
ee8d0c3479
ebiten: Correct spelling of game in function comment (#1203) 2020-06-19 21:12:02 +09:00
Hajime Hoshi
a1ac574a60 docs: Use 'Deprecated:' annotation
Fixes #1160
2020-05-19 01:50:55 +09:00
Hajime Hoshi
b519ad2853 ebiten: Update comments
Updates #1155
2020-05-15 04:07:23 +09:00
Hajime Hoshi
f7f507e912 ebiten: Ensure that Update is called at least once before Draw in the first frame
Fixes #1155
2020-05-15 04:04:29 +09:00
Hajime Hoshi
41213108ba docs: Improve comments about Game 2020-04-01 14:44:56 +09:00
Hajime Hoshi
6429c7aee0 docs: Fix wrong comments about RunGame 2020-04-01 14:40:43 +09:00
Hajime Hoshi
a0b9df7f4e docs: Improve the comments about Game 2020-04-01 14:35:21 +09:00
Hajime Hoshi
de786035c7 docs: Draw function's signature was wrong 2020-04-01 04:23:55 +09:00
Hajime Hoshi
5300b0f498 docs: Draw function definition was ommitted on godoc.org 2020-04-01 04:22:38 +09:00
Hajime Hoshi
35eb9e77a0 ui: Improve comments about Game interface
This change also fixes comments in uiConttext, which seems pretty
old.
2020-03-31 02:04:27 +09:00