UnknownShadow200
f645f82297
fix mistake from merge
2022-07-31 13:54:12 +10:00
UnknownShadow200
dfaa93672c
fix merge conflicts
2022-07-31 13:52:01 +10:00
UnknownShadow200
3bbe889177
Make wrong smooth lighting as wrong as it was before instead of even more wrong
2022-07-31 13:37:15 +10:00
UnknownShadow200
48bf0e3edd
Fix light top/bottom face offset calculation being different from other faces (Thanks Goodly, backport from ModernLighting branch)
2022-07-31 13:09:25 +10:00
UnknownShadow200
0f87c2f23f
Copy paste fail
2022-07-28 22:23:19 +10:00
UnknownShadow200
6a09a9c662
Android: Fix after going to server list, then going in-game, then quitting game, then going back to server list, all text in the server list is blank/empty (Thanks Action_play)
2022-07-28 22:13:40 +10:00
UnknownShadow200
626b35a993
Change Drawer2D_UNSAFE_NextPart to return color code instead of color
2022-07-28 20:05:08 +10:00
UnknownShadow200
882b437912
Web mobile: Fix test getting pasted twice (Thanks Action_play)
2022-07-27 18:49:45 +10:00
UnknownShadow200
30e27d54f1
Merge pull request #960 from Fam0r/patch-1
...
Fix .desktop file using $HOME as working directory
2022-07-24 23:16:55 +10:00
Fam0r
c9778de792
Fix .desktop file using $HOME as working directory
2022-07-24 12:32:13 +03:00
Goodlyay
ebdc42ad6b
Merge branch 'master' into ModernLighting
2022-07-18 14:59:34 -07:00
Goodlyay
357a1af3b5
Make F7 axis lines smaller and always visible in first person
2022-07-18 14:59:05 -07:00
UnknownShadow200
bd94a9a893
Stop changing working directory on linux/bsd/Haiku/Solaris
2022-07-15 08:53:30 +10:00
UnknownShadow200
f1e1a87d3d
Use better method of disabling freetype engine than just checking if __EMSCRIPTEN__ is defined
2022-07-14 22:03:53 +10:00
UnknownShadow200
23cf906203
Change InputEvents.Press to use a unicode character
2022-07-14 19:16:39 +10:00
Goodlyay
3d6a26bc04
Merge branch 'master' into ModernLighting
2022-07-13 17:34:41 -07:00
UnknownShadow200
d90fb2f092
Fix game force exiting if you attempt to add a chat message with over 511 characters (Thanks sethbatman05)
2022-07-11 07:25:12 +10:00
UnknownShadow200
cf4104bd96
Fix options not loading on web/macOS/mobile clients
...
Oversight from f75050b0c7c743ed60403a8fafbef323df31977a
2022-07-08 20:15:32 +10:00
UnknownShadow200
202947e4a7
fix ios info.plist not working with command line build
2022-07-08 07:51:02 +10:00
UnknownShadow200
dfb5679287
Minorly optimise lighting
2022-07-07 21:30:05 +10:00
UnknownShadow200
c6c0f525c6
Fix memory leak and get rid of redundant Lighting.Color_YMax_Fast function
2022-07-07 21:02:49 +10:00
UnknownShadow200
671f1a36cc
style cleanup
2022-07-07 20:36:42 +10:00
UnknownShadow200
f75050b0c7
Windows: Add option for display scaling support
2022-07-07 07:45:37 +10:00
Goodlyay
7226d49c55
Make default block light color brighter and less saturated
2022-07-06 08:07:53 -07:00
Goodlyay
25bd61db18
Make smooth modern lighting respect Blocks.LightOffset
2022-07-06 06:48:30 -07:00
Goodlyay
b2d00b0c2d
Implement smooth lighting for modern lighting
...
Also tweak default sun ramp colors
2022-07-06 06:18:39 -07:00
UnknownShadow200
f6ce731246
Make block lighting a little bit faster
2022-07-05 08:39:39 +10:00
UnknownShadow200
e8f2001054
Save/Load rest of env fields to/from .cw maps (Thanks Neonium)
2022-07-05 07:51:03 +10:00
Goodlyay
f7dbfbadcc
Merge branch 'master' into ModernLighting
2022-07-04 03:48:19 -07:00
UnknownShadow200
2a39809116
Fix mass VRAM leak from last commit
2022-07-04 19:53:30 +10:00
Goodlyay
c3593afd54
Make sun light faster*, again
...
*based on extremely scientific tests of flying around a map and observing double/triple fps while loading chunks
TODO: somehow reign in the unacceptable code duplication
2022-07-03 07:21:14 -07:00
Goodlyay
ec74342e45
Soften default transition from sun to shadow
2022-07-03 05:22:30 -07:00
Goodlyay
9ed7eec4fb
Make sunlight significantly faster
2022-07-03 04:51:48 -07:00
Goodlyay
6e868ed312
Remove unused functions
2022-07-03 03:23:20 -07:00
Goodlyay
872ba78513
Horrifically slow sunlight
2022-07-03 03:21:06 -07:00
Goodlyay
3a2613fa56
Make light occlusion take block shape and other properties into account
2022-07-02 22:22:57 -07:00
Goodlyay
e4b259aaad
Use World for chunk count and axes [...]
...
Add new LightOffset flag to denote upper-slab type block, for classic lighting
Make FACE_Y in LightOffset behave like the other axes
Make classic lighting more accurate
2022-07-02 00:23:39 -07:00
Goodlyay
5b942bf763
Merge branch 'master' into ModernLighting
2022-07-02 00:11:26 -07:00
UnknownShadow200
db97e790c3
Move chunks dimensions code from MapRenderer to World
2022-07-02 16:59:01 +10:00
Goodlyay
965f278d3a
Less broken test (Thanks UnknownShadow200)
2022-07-01 22:47:42 -07:00
Goodlyay
967aded9aa
Extremely broken lighting calculation test
2022-07-01 00:03:42 -07:00
Goodlyay
f18c28ec93
Merge branch 'master' into ModernLighting
2022-06-30 21:00:57 -07: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
Goodlyay
d819dc9d73
Fix graphics menu misaligned descs index
2022-06-28 02:14:00 -07:00