130 Commits

Author SHA1 Message Date
UnknownShadow200
fbf8b3d66e Combine EnvRenderer/StandardEnvRenderer classes 2018-03-29 15:56:34 +11:00
UnknownShadow200
30937e92f5 little bit less hardcoding 2018-03-20 16:54:48 +11:00
UnknownShadow200
20433f97ab Make TerrainAtlas and TerrainAtlas1D static for very minor performance increase 2018-03-15 21:04:21 +11:00
UnknownShadow200
bc90eb9d52 Fix external plugins changing game.Graphics causing issues 2018-03-04 19:44:03 +11:00
UnknownShadow200
368da8ac29 Fix skeleton model not being able to jump up one block into a two block gap, fix zoom fov potentially being larger than max configured FOV. (Thanks kingoscargames1) 2018-02-06 23:23:26 +11:00
UnknownShadow200
8c25212e0b Port corpse model to C client too, fixup corpse model code a bit. 2018-01-11 12:46:23 +11:00
Goodlyay
9ad661fafa Add corpse model 2018-01-10 13:41:28 -08:00
UnknownShadow200
3df7f2d689 Fix sprite block models not being tinted, fixes #503 (Thanks kingoscargames1) 2018-01-01 00:24:10 +11:00
UnknownShadow200
0ee7101a55 Fix rare crashing when minimised on some GPUs, fixes #489.
Also redesign matrix setting architecture to completely eliminate matrix push/pop stack usage.
2017-12-18 21:27:44 +11:00
UnknownShadow200
bd04b98508 Revert "Remove /client commands (pointless when you can just do /client), have all commands enabled in both multiplayer and singleplayer modes. (But singleplayer only commands will show 'disabled' in multiplayer)"
This reverts commit 1e46e4ad96c3399fc4fb857d60613826f7cc06eb.
2017-11-25 18:30:41 +11:00
UnknownShadow200
1e46e4ad96 Remove /client commands (pointless when you can just do /client), have all commands enabled in both multiplayer and singleplayer modes. (But singleplayer only commands will show 'disabled' in multiplayer) 2017-11-25 15:47:04 +11:00
UnknownShadow200
39c4142637 Head model shouldn't push you. 2017-09-17 19:58:24 +10:00
UnknownShadow200
d27aba4c70 Obsolete MakeBool ButtonWidget maker 2017-09-16 21:35:23 +10:00
UnknownShadow200
c357c15432 Port BlockModel to C. 2017-09-11 22:19:56 +10:00
UnknownShadow200
09e584b61c Minorly optimise BlockModel, fix name tag above sprite block models being too high 2017-09-11 17:49:22 +10:00
UnknownShadow200
7cb8e414df Fix skin appearing wrongly for very short time, after changing your own skin with /skin 2017-09-06 16:33:57 +10:00
UnknownShadow200
20d7ea6dfc Implement missing methods in IModel 2017-09-04 09:32:35 +10:00
UnknownShadow200
e28d029e39 Fix mipmaps with terrain.png less than 16x16, give arm model a collision size. 2017-08-28 08:51:40 +10:00
UnknownShadow200
160d1874a6 Don't show 'chunks/s' in top left when 0. 2017-08-25 12:44:44 +10:00
UnknownShadow200
84b8e2048c Combine and enable various C files. 2017-08-24 19:45:43 +10:00
UnknownShadow200
53180c0f87 Optimise Entity.TouchesAny and simplify a bunch of other things 2017-08-24 18:24:21 +10:00
UnknownShadow200
0de32793c0 Fix some things in survival mode.
Not showing actual score at death screen, being able to pick entities past reach distance, and make 'score' earned by killing an entity configurable.
2017-08-22 10:22:04 +10:00
UnknownShadow200
ace18e8705 Port HumanoidModel to C. 2017-08-22 09:18:02 +10:00
UnknownShadow200
117c4b680a Fix head model rotation. 2017-08-20 10:33:40 +10:00
UnknownShadow200
62cd4d94b0 Fix 'classic arms model' not saving, and not updating translation matrix when changed in-game. 2017-08-20 08:45:46 +10:00
UnknownShadow200
0193c04363 Fix arm in hand with second layer arm, fixes #468. (Thanks Daeslender) 2017-08-19 20:47:20 +10:00
UnknownShadow200
c80278857b Add 'classic arm model' as an option. (Thanks Daeslender) 2017-08-19 20:37:27 +10:00
UnknownShadow200
7627f5efaf Better arm model. (Thanks goodlyay) 2017-08-19 16:49:14 +10:00
UnknownShadow200
44ec23c931 Fix arm being backface culled when in hand, fix arm rotation in hand. 2017-08-19 11:06:23 +10:00
UnknownShadow200
345426107a Forgot to port previous changes to C. 2017-08-19 09:47:19 +10:00
UnknownShadow200
7ace31ee78 Get rid of hardcoding of last two vertices having max UV coords for model rendering. 2017-08-19 09:39:02 +10:00
UnknownShadow200
c5704840cb Revert "Get rid of hardcoding of last two vertices having max UV coords for model rendering."
This reverts commit c0a4ad0ba40d80bc0f9fc43c74800ac253adab0f.
2017-08-19 09:28:13 +10:00
UnknownShadow200
c0a4ad0ba4 Get rid of hardcoding of last two vertices having max UV coords for model rendering. 2017-08-18 23:42:23 +10:00
UnknownShadow200
44df2f1a83 Fix rotated position of arm 2017-08-18 17:28:32 +10:00
UnknownShadow200
86b3f59603 Fix arm model position, more porting of WinGLNAtive to C. 2017-08-18 17:11:53 +10:00
UnknownShadow200
d3fbfb1040 Make some IModel fields static 2017-08-18 14:22:00 +10:00
UnknownShadow200
32e24eb914 Initial work on arm in hand.
Based on https://github.com/UnknownShadow200/ClassicalSharp/wiki/Position-of-the-player%27s-arm-in-1st-person%2C-from-Survival-Test, thanks goodlyay
2017-08-18 14:04:37 +10:00
UnknownShadow200
c23ba90c1f Make BlockInfo class static and break all plugins in the process. 2017-08-14 09:33:21 +10:00
UnknownShadow200
08fd0b19a2 Fix sitting model not having skin cleared. 2017-08-03 14:53:57 +10:00
UnknownShadow200
a49fda440f Remove the yucky 'is entity FakePlayer', instead store ModelBlock as a field. 2017-08-03 14:53:34 +10:00
UnknownShadow200
8113246985 allow changing scaling of each axis of model independently. 2017-07-30 10:05:05 +10:00
UnknownShadow200
bf846b80c0 Remove DrawMode/DrawVb/DrawIndexedVb, just provide DrawVb_Lines and DrawVb_IndexedTris 2017-07-03 23:56:05 +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
UnknownShadow200
59673aba3a Initial implementation 2017-06-25 17:07:12 +10:00
UnknownShadow200
9d5f378be8 Don't render backfaces of held block. Fixes #443. 2017-06-25 14:49: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
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
1fb65fd1de Start porting ModelBuilder to C. 2017-06-17 00:01:42 +10:00