2233 Commits

Author SHA1 Message Date
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
UnknownShadow200
8f8cfa7189 Always reset map sides/edge block changes, instead of just when fullbright of map sides/edge block changes. Fixes #449. 2017-06-25 11:52:13 +10:00
UnknownShadow200
58db2f667a Fix sounds/music volume not saving, partially addresses #448. 2017-06-25 09:10:09 +10:00
UnknownShadow200
eadac08d0a Sounds/music volume is configurable between 0-100, instead of just ON/OFF. Fixes #320 and addresses #446 2017-06-24 21:30:30 +10:00
UnknownShadow200
64d68829e4 fix crashing on servers that don't support two way ping oops 2017-06-24 10:07:20 +10:00
UnknownShadow200
559d2645ff Actually send and process client->server ping packets 2017-06-23 21:14:55 +10:00
UnknownShadow200
f94dc9b9f5 Implement PingList class for storing data for client->server pings 2017-06-23 20:52:00 +10:00
Goodlyay
297f21b183 Merge branch 'master' of https://github.com/UnknownShadow200/ClassicalSharp 2017-06-22 17:41:20 -07:00
Goodlyay
2dd0c39df1 Names mode should be HoveredOnly by default
To match the original
2017-06-22 17:41:17 -07:00
UnknownShadow200
2f5e2d2bbe Add more methods to C string. 2017-06-23 09:19:59 +10:00
UnknownShadow200
c4ba902141 fix starting with half instead of full health 2017-06-23 08:42:25 +10:00
UnknownShadow200
46fa9eb12b Initial implementation of TwoWayPing CPE extension.
Port CreeperModel to C.
2017-06-21 22:24:26 +10:00
UnknownShadow200
7c0bec9bf2 Fix wrong name offset if two entities both had block models, but of differeing height 2017-06-18 15:10:17 +10:00
UnknownShadow200
cbaca0c922 Port most of IModel to C. 2017-06-18 12:19:13 +10:00
UnknownShadow200
f081fffdf0 Port ModelCache to C. 2017-06-17 23:07:30 +10:00
UnknownShadow200
b835f4ffe7 Add STRING_TRANSIENT and STRING_REFERENCE defines, to annotate whether a reference to the buffer in a string is retained after the function's completion. 2017-06-17 18:19:43 +10:00
UnknownShadow200
2af0c76b4a Create IModel struct. 2017-06-17 18:07:14 +10:00
UnknownShadow200
39ad2de811 Finish porting ModelBuilder to C. 2017-06-17 10:57:37 +10:00
UnknownShadow200
58b979a81a forgot to zero PartsBuffer after malloc, oops 2017-06-17 00:07:10 +10:00
UnknownShadow200
1fb65fd1de Start porting ModelBuilder to C. 2017-06-17 00:01:42 +10:00
UnknownShadow200
5f5dd498e9 Remove pointless unused methods from Model classes. 2017-06-16 22:48:45 +10:00
UnknownShadow200
9016dc1e33 Port AABB to C. 2017-06-16 22:21:55 +10:00
UnknownShadow200
7740aeba1b Implement more of ChunkUpdater in C. 2017-06-16 21:05:54 +10:00