2368 Commits

Author SHA1 Message Date
UnknownShadow200
86c6cc3921 Survival: Implement basic game-over screen 2017-07-25 13:44:27 +10:00
UnknownShadow200
22a14a0f5a Survival: Implement rudimentary fall damage 2017-07-25 13:39:20 +10:00
UnknownShadow200
a89485a960 Survival: Add BeginFrame/EndFrame methods 2017-07-25 13:25:17 +10:00
UnknownShadow200
17f0b5e8c7 Port PigModel to C. 2017-07-25 08:12:53 +10:00
UnknownShadow200
ec36158d4b Fix incorrect hresult declaration 2017-07-24 14:45:22 +10:00
UnknownShadow200
30264bce80 Port ZombieModel to C. 2017-07-24 14:22:54 +10:00
UnknownShadow200
c82e1e91c1 Port skeleton model to C. 2017-07-24 11:00:01 +10:00
UnknownShadow200
15a6cdb31b Change from 'using nolimit mode is discouraged for general usage' to 'using nolimit mode is discouraged' 2017-07-23 11:01:06 +10:00
Goodlyay
9425feb440 Merge branch 'master' of https://github.com/UnknownShadow200/ClassicalSharp 2017-07-21 23:13:06 -07:00
UnknownShadow200
daf7b95203 X 2017-07-22 16:12:47 +10:00
Goodlyay
1594008dab Make DrawSprite virtual void
So both Adv and normal MeshBuilders can override it.
2017-07-21 23:07:57 -07:00
UnknownShadow200
e18da6a308 Fix issues with cached terrain.png not being updated when entry at same url is changed 2017-07-22 15:56:46 +10:00
UnknownShadow200
1d00da8381 Fix water modified to be a non-full block still always stretching top face of water. (Thanks VenkSociety) 2017-07-22 12:54:16 +10:00
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