2355 Commits

Author SHA1 Message Date
UnknownShadow200
d005e0aca9 Also remember to update lighting, if when a custom block is removed, its 'blockslight' was not the same as the core block's 'blockslight' 2017-07-21 19:11:28 +10:00
UnknownShadow200
769c95116e If map has -hax in MOTD, you shouldn't be able to see all names 2017-07-20 23:47:41 +10:00
UnknownShadow200
3f044fcf07 x 2017-07-19 16:05:16 +10:00
UnknownShadow200
ab809a5c05 Add a 'draw all names unscaled' mode, redesign how name modes work. (Thanks 123DMWM) 2017-07-19 16:03:57 +10:00
UnknownShadow200
0307059be4 Increase max jump height from 1023 to 2047 for the heck of it 2017-07-19 15:23:50 +10:00
UnknownShadow200
c1c6f51768 Remove pointless getter/setter in DisplayDevice 2017-07-18 00:21:52 +10:00
UnknownShadow200
1f0b34317f Implement ChunkUpdater_TerrainAtlasChanged 2017-07-17 23:33:23 +10:00
UnknownShadow200
c6fa1582e6 Change from .dll to .exe 2017-07-17 23:33:22 +10:00
UnknownShadow200
89814ca859 Entity now has an AnimatedComponent field, fixes a number of compile errors. 2017-07-17 23:33:21 +10:00
UnknownShadow200
d1b2a1ca39 Mostly port TiltComponent to C. 2017-07-17 23:33:20 +10:00
UnknownShadow200
b5fa22125e Mostly port AnimatedComponent to C. 2017-07-17 23:33:19 +10:00
UnknownShadow200
34201e9f4d Mostly port AutoRotate to C. 2017-07-17 23:33:18 +10:00
UnknownShadow200
249d2e8961 suffix all struct names with _ 2017-07-17 23:33:17 +10:00
UnknownShadow200
2d09c2d0b8 Fix mistake in AABB.c (Thanks dzidq) 2017-07-17 23:31:54 +10:00
UnknownShadow200
c05d6ee882 Fix blocks not being tinted in singleplayer. (Thanks Kingoscargames1) 2017-07-11 23:57:34 +10:00
UnknownShadow200
3249b7c682 Add zoom scroll as a keybind in controls (Thanks goodlyay) 2017-07-11 19:49:03 +10:00
UnknownShadow200
8b8fa40548 Fix skybox being clipped by near plane with 150 FOV, fixes #457. (Thanks goodlyay) 2017-07-11 17:23:28 +10:00
UnknownShadow200
0278345018 Move MessageBox.Show call out of Program.CheckFilesExist, partially fixes being unable to run launcher when system.windows.forms dll is missing 2017-07-09 00:13:52 +10:00
UnknownShadow200
a5cb7bb1d7 Fix a missing space in a comment. 2017-07-08 23:52:18 +10:00
UnknownShadow200
715011fa98 Offset vertices instead of indices in the OpenGL backend.
This fixes issues when using mesa and the i915 dri backend (tested on lubuntu, may affect other distributions), specifically for the 945GM and related gpus. This fixes issues such as parts of the map being invisible, blocks in the inventory being invisible depending on the number of sprite and non-sprite blocks in the inventory, position text becoming invisible depending on your location in the world, axis lines sometimes being invisible, entity models sometimes being invisible, particles sometimes being visibile or invisible depending on the frame, which had different invisibility behaviour every time the client was run.
2017-07-06 11:52:58 +10:00
UnknownShadow200
d82cfe2cbe For maximum performance, provide an overload of DrawTris that does not take a startIndex as a parameter 2017-07-06 11:29:51 +10:00
UnknownShadow200
61d8b7c99c Remove a line of unused code. 2017-07-05 21:19:58 +10:00
UnknownShadow200
bf846b80c0 Remove DrawMode/DrawVb/DrawIndexedVb, just provide DrawVb_Lines and DrawVb_IndexedTris 2017-07-03 23:56:05 +10:00
UnknownShadow200
7f81de5ca6 Fix most of the issues with pre opengl 1.2 backend, except for map rendering 2017-07-03 23:33:53 +10:00
UnknownShadow200
00ebd7db8e If GPU doesn't support vbos, or you specify force-oldgl=true in options.txt, use the ancient OpenGL backend 2017-07-03 23:21:59 +10:00
UnknownShadow200
69f27c750b fix light leaking from outside map (when should be shadow) with adv lighting mesh builder 2017-07-03 22:33:11 +10:00
UnknownShadow200
014959ca7a 1 line fix for most of the rendering issues with pre 1.2 opengl backend 2017-07-02 23:45:42 +10:00
UnknownShadow200
a98f668e5d Fix launcher crashing when your selected server is the very bottom entry in the list, you refresh the list, and the very last server disappears from it 2017-07-02 21:20:20 +10:00
UnknownShadow200
5adf0890fc Get gui and most things rendering with pre opengl 1.2 backend 2017-07-02 19:49:19 +10:00
UnknownShadow200
b448f8a38b Initial work on OpenGL backend that only uses display lists, to support pre 2005 GPUs 2017-07-02 19:40:20 +10:00
UnknownShadow200
eef4167ac9 Renderers should use the generic Gfx_DrawIndexedVb, only MapRenderer should use Gfx_DrawIndexedVb_TrisT2fC4b 2017-07-02 18:44:05 +10:00
UnknownShadow200
843138aed7 Make speedX/speedY static. This means the smooth rotation of the camera persists between the camera types.
Otherwise, if you say rotate a lot, switch to third person, then later go back to first person, you still continue rotating in first person, which is not the desired behaviour.
2017-06-27 19:03:26 +10:00
UnknownShadow200
49d50cdf7f consistent code style 2017-06-27 18:56:05 +10:00
UnknownShadow200
e757e63e19 remove 'toggle' from auto-rotate/smooth camera in controls menu
Since pressing the button says you can press the button again to toggle it on or off anyways
2017-06-27 18:46:29 +10:00
Goodlyay
f7e0a00e1a Add smooth camera option 2017-06-27 01:40:37 -07:00
UnknownShadow200
662810e2e0 Make sure to set modified datetime when writing .zip file entries.
This fixes the issue on windows 10 where extracting files from the zip, then attempting to put them into the zip again or into another zip, would show a 'File not found or no read permission' message box.
2017-06-27 15:48:10 +10:00
UnknownShadow200
f626084eff remove some whitespace to force build-bot to rebuild releases 2017-06-26 22:34:08 +10:00
UnknownShadow200
eb95315ac4 Release 0.99.9.1 0.99.9.1 2017-06-26 22:04:06 +10:00
UnknownShadow200
a31b21ad6e Rememeber to delete the old option line for usesound/usemusic.
Otherwise they interfere with the soundvolume/musicvolume lines
2017-06-26 19:46:39 +10:00
UnknownShadow200
3d01dbab20 Remove unused code 2017-06-25 20:32:42 +10:00
UnknownShadow200
1f45428ec7 Revert "Merge remote-tracking branch 'refs/remotes/origin/Snowy'"
This reverts commit 300df2ff60efe8385ebba8b05ce1992d9f254f67, reversing
changes made to 652e697bf8f1ea3598e10bddc026578a05c3fc0e.
2017-06-25 17:54:02 +10:00
Goodlyay
300df2ff60 Merge remote-tracking branch 'refs/remotes/origin/Snowy' 2017-06-25 00:22:41 -07:00
UnknownShadow200
59673aba3a Initial implementation 2017-06-25 17:07:12 +10:00
UnknownShadow200
652e697bf8 Don't bother allocating a vertex buffer when map sides/edges is a gas draw type block such as air. Fixes #406 2017-06-25 15:24:29 +10:00
UnknownShadow200
ddac95104c Show average ping in status in top left. Fixes #444 2017-06-25 14:54:06 +10:00
UnknownShadow200
9d5f378be8 Don't render backfaces of held block. Fixes #443. 2017-06-25 14:49:17 +10:00
UnknownShadow200
757d18c4d8 Fix mistake with negative ping, rename FPSScreen to more accurate StatusScreen 2017-06-25 14:17:03 +10:00
UnknownShadow200
942ecfef6b Tick network reading 60 instead of 20 times a second. 2017-06-25 13:43:13 +10:00
UnknownShadow200
adc4f60fdf Play walk sounds at half volume of place/dig sounds. Fixes #446. 2017-06-25 13:20:33 +10:00
UnknownShadow200
a3a08d8ccc Implement per-stream volume mixing for WinMm backend, as waveOutSetVolume changes per-process volume level.
This fixes sound/music volume interfering with each other, fixes issue #448.
2017-06-25 12:19:57 +10:00