6131 Commits

Author SHA1 Message Date
UnknownShadow200
be5a3e0e2e Update Despair3D9 debugging branch to latest code 2022-07-04 19:41:04 +10:00
UnknownShadow200
db97e790c3 Move chunks dimensions code from MapRenderer to World 2022-07-02 16:59:01 +10:00
UnknownShadow200
033560a773 Launcher input widget border now bases itself on current theme button highlight color, fies #956 (Thanks TheAwesome98) 2022-07-01 12:06:33 +10:00
UnknownShadow200
8ac52ed497 WIP on making input widget used theme colors instead of hardcoded purple colors, addresses #956 (Thanks TheAwesome98)
Also add new BitmapColor_RGB macro which implicitly sets A to 255, partially addresses #955
2022-07-01 08:55:08 +10:00
UnknownShadow200
57504bf22e Windows: Fix when running in VirtualBox with mouse integration, the game did not respond to cursor movement at all (Thanks LeoKids) 2022-06-30 23:42:24 +10:00
UnknownShadow200
c5298b508c iOS: Fix screen showing partial garbage when rotating device when rendering game, make home swipe bar more difficult to trigger (Thanks Pear) 2022-06-30 21:47:07 +10:00
UnknownShadow200
f2978e2368 iOS: Fix can't see input widget text in dark mode, implement proper fullscreen support, improve view background switching color to use launcher theme background instead of just blue (Thanks Pear) 2022-06-30 20:51:40 +10:00
UnknownShadow200
7d793da679 iOS: WIP on app display name and icon 2022-06-30 18:37:53 +10:00
UnknownShadow200
17740f8664 Fix window showing garbage when resizing on 64 bit macOS (Thanks popdymc, fixes #957). Also change .vcxproj so that you show no longer need to change SDK version/platform toolset when compiling on a platform that isn't Windows 7 + VS 2015
The issue happened because
a) when resizing the window, cocoa runs in the blocking resizing window event loop (i.e. effectively pauses/suspends the launcher's event loop)
b) due to recent changes to the launcher content drawing until absolutely necessary, the contents would only get redrawn when LBackend_Tick was called

However because of a), this meant that although resize events were delivered to the game which hence reallocated the framebuffer, the framebuffer did not actually get drawn to because LBackend_Tick never got called - hence why garbage appeared on screen
2022-06-30 17:14:45 +10:00
UnknownShadow200
d3d31a874c iOS: Add xcode project and WIP CoreText text rendering backend 2022-06-24 08:12:55 +10:00
UnknownShadow200
57a8699152 OpenBSD: Fix being unable to start due to unable being able to find a supported font (Thanks zielony12, addresses #954) 2022-06-21 21:17:22 +10:00
UnknownShadow200
c3b10668ff NetBSD: Fix libcurl and libopenal not being found, addresses #953 2022-06-21 20:11:45 +10:00
UnknownShadow200
9d7acd034d
Merge pull request #952 from UnknownShadow200/Context2D
Refactor 2D drawing to take Context2D instead of just plain Bitmap
2022-06-20 20:31:33 +10:00
UnknownShadow200
1ae86627b8 Refactor font code to move font_candidates into just CC_BUILD_FREETYPE backend 2022-06-20 19:23:29 +10:00
UnknownShadow200
e2ed4884ba Fix iOS compilation issues 2022-06-19 17:13:13 +10:00
UnknownShadow200
548924c854 Move must previous usages of Bitmap to newer Context2D 2022-06-19 13:39:26 +10:00
UnknownShadow200
e45fad71cd Start moving Drawer2D functions to Context2D which takes Context2D* instead of just Bitmap* 2022-06-18 11:10:40 +10:00
UnknownShadow200
af8106c97a whoops 2022-06-17 11:57:51 +10:00
UnknownShadow200
bc91ddaae4 Rename font related functions in Drawer2D.h 2022-06-17 11:47:49 +10:00
UnknownShadow200
fa1350b1f7 Fix last commit 2022-06-16 22:31:44 +10:00
UnknownShadow200
bf6a3d83cd Fix install-desktop-entry requiring root to run 2022-06-16 22:21:30 +10:00
UnknownShadow200
ec2d69a6d9 Update some headers to 2022 and improve their comments 2022-06-14 21:13:23 +10:00
UnknownShadow200
2ee4a911d0 Some minor optimisations 2022-06-13 21:45:07 +10:00
UnknownShadow200
1fa0e789c0 Part 1 of lighting refactor 2022-06-13 19:04:36 +10:00
UnknownShadow200
726a75c0a0 Add desktop entry generator for Linux 2022-06-13 00:15:32 +10:00
UnknownShadow200
18ead3861d Chat_LogTimes doesn't need to be a dynamic array, only needs to be a fixed size array of around GUI_MAX_CHATLINES in length 2022-06-10 23:10:07 +10:00
UnknownShadow200
3671c1578c iOS: Fix launcher checkboxes not appearing enabled, WIP on landscape locking and updating game window size upon device rotation 2022-06-09 22:26:00 +10:00
UnknownShadow200
526955a025 iOS: Fix can't activate camera with touch 2022-06-09 20:46:05 +10:00
UnknownShadow200
92c1e8e3cd iOS: Switch to NSLog instead of writing directly to STDOUT for logging, also WIP on 'open file dialog' support using UIDocumentPickerViewController 2022-06-08 23:49:11 +10:00
UnknownShadow200
4e12d1ba45 Android: Support old devices whose GPUs only support a 16 bit depth buffer (Thanks popdymc) 2022-06-04 11:55:29 +10:00
UnknownShadow200
a2dfd26bbd Rewrite .cw exporter to be much less hacky 2022-06-03 21:02:57 +10:00
UnknownShadow200
cb3d8db550 iOS: Fix some input widgets being shifted offscreen
Android: Attempt to show error dialog when EGL context creation fails
Windows: Remove unnecessary Direct3D9Ex S_PRESENT_OCCLUDED result check
2022-06-01 20:18:42 +10:00
UnknownShadow200
5b27d4fc37 Windows: Stop setting working directory/current directory to directory of .exe path
I found a way to set the default working directory when running from visual studio debugger to the output directory, so this code is unnecessary now
2022-05-31 23:16:18 +10:00
UnknownShadow200
271b5faa4a Save level name now defaults to name of last map loaded in singleplayer or saved (Thanks Neonium)
Whenever a new level is generated or loaded in multiplayer, this is reset back to empty string
2022-05-31 20:46:14 +10:00
UnknownShadow200
63280b8519 copy paste fail 2022-05-31 00:17:37 +10:00
UnknownShadow200
e5a414736f Android: Log working directory if fail to set it 2022-05-31 00:05:53 +10:00
UnknownShadow200
f68ce27372 Fix crashing when server supports ExtendedBlocks extension and sends both lower and upper 8 bit block arrays, but doesn't support FastMap extension (Thanks rdebath, fixes #950) 2022-05-30 21:51:01 +10:00
UnknownShadow200
d62b387363 un-un-un-un-re-enable ModernGL build
Also slightly improve raspberry pi builds by adding 64 bit build and using 'OpenGL ES' instead of 'OpenGL'
2022-05-27 19:02:50 +10:00
UnknownShadow200
8db639020e Release 1.3.2 1.3.2 2022-05-27 08:43:35 +10:00
UnknownShadow200
e3392a5083 un-un-un-re-enable ModernGL build 2022-05-27 08:33:08 +10:00
UnknownShadow200
fcbd6d77f3 iOS: Implement improved handling for onscreen keyboard appearing/disappearing, fix 'send/done' soft keyboard button doing nothing for in-game text input widgets 2022-05-23 21:40:09 +10:00
UnknownShadow200
be26750b64 iOS: Now typing in onscreen keyboard for game widgets at least actually updates the in-game widget text 2022-05-22 23:11:15 +10:00
UnknownShadow200
dac033e00b iOS: Fix not storing data in application support directory, fix texture pack only loading on subsequent runs and not first
Previously the iOS app wrote to the bundle directory, which while that worked on the simulator, wouldn't work on an actual device since the directory was readonly
2022-05-21 22:46:04 +10:00
UnknownShadow200
8de57e42e9 iOS: Fix no audio plays, WIP on resizing views to fit keyboard 2022-05-21 16:16:43 +10:00
UnknownShadow200
ac730d1a17 iOS: Support device rotation in launcher 2022-05-19 21:35:07 +10:00
UnknownShadow200
68c198f933 iOS: Add/Remove views when menu changes, instead of caching the views forever 2022-05-19 18:39:23 +10:00
UnknownShadow200
11846d8ac8 Don't show entering reduced performance mode in regular chat, move it to topright status 2022-05-18 22:17:45 +10:00
UnknownShadow200
5a0f83c650 Add 64 bit raspberry pi build 2022-05-17 20:41:12 +10:00
UnknownShadow200
22b232940e
Merge pull request #942 from Goodlyay/master
Minor fix for advanced lighting
2022-05-15 14:10:57 +10:00
UnknownShadow200
a318d9ed98 Attempt to workaround rare crash that would happen when IDirect3DDevice9_Reset returns D3DERR_NOTAVAILABLE 2022-05-14 18:49:13 +10:00