Commit graph

353 commits

Author SHA1 Message Date
UnknownShadow200
20e9adbd24 Port SoundsComponent to C 2018-04-20 09:36:57 +10:00
UnknownShadow200
bfe4bc05e0 Mostly port entity components to C. 2018-04-19 21:52:16 +10:00
UnknownShadow200
d11a36a30f more work 2018-04-18 21:43:55 +10:00
UnknownShadow200
ad75bf435e Port EditHotkeyScreen to C 2018-04-08 09:18:38 +10:00
UnknownShadow200
30f5ae7947 avoid blocks2 allocation in some cases 2018-04-06 12:07:02 +10:00
UnknownShadow200
4151381ac2 move CloudsTex into EnvRenderer.cs 2018-04-02 08:53:30 +10:00
UnknownShadow200
76d2196464 fix maxx/maxy/maxz not being reset after world reset 2018-03-31 15:29:46 +11:00
UnknownShadow200
2676ea8b75 Simplify ClickableScreen 2018-03-31 10:10:03 +11:00
UnknownShadow200
261f259277 remove some redundant code 2018-03-30 14:47:49 +11:00
UnknownShadow200
fbf8b3d66e Combine EnvRenderer/StandardEnvRenderer classes 2018-03-29 15:56:34 +11:00
UnknownShadow200
d71a925d28 Few less compile errors 2018-03-25 17:00:57 +11:00
UnknownShadow200
30937e92f5 little bit less hardcoding 2018-03-20 16:54:48 +11:00
UnknownShadow200
68b861f6c8 little bit less hardcoding 2018-03-19 22:07:26 +11:00
UnknownShadow200
20433f97ab Make TerrainAtlas and TerrainAtlas1D static for very minor performance increase 2018-03-15 21:04:21 +11:00
UnknownShadow200
e54475e09f Port HeldBlockRenderer to C 2018-03-11 15:22:14 +11:00
UnknownShadow200
c61f3cb326 Allow turning off individual channels in gfx api 2018-03-10 17:07:38 +11:00
UnknownShadow200
4bf1754843 minor code cleanup 2018-03-05 07:53:19 +11:00
UnknownShadow200
bc90eb9d52 Fix external plugins changing game.Graphics causing issues 2018-03-04 19:44:03 +11:00
UnknownShadow200
e4310342bb Port player list widget to C. 2018-01-21 22:17:06 +11:00
UnknownShadow200
fd5427edb4 don't use d3d9 managed pool for map border and sides textures 2018-01-16 20:44:23 +11:00
UnknownShadow200
4a332f80ac Increase default max chunks built per frame from 20 to 30, also add undocumented option to increase that even more. 2018-01-15 11:37:02 +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
3bb02e56b8 gfx api can override perspective matrix calculation, partially port Player to C. 2017-12-14 11:01:07 +11:00
UnknownShadow200
96d01f101f Fix snow/rain not rendering properly over map bedrock borders, when border height is > height of map. 2017-12-09 08:54:46 +11:00
UnknownShadow200
b2cacf6dc0 Fix incorrect rendering when chunk had over 65,536 vertices. (Thanks Empy) 2017-12-07 19:24:53 +11:00
UnknownShadow200
71a21714a0 Port InventoryScreen to C. 2017-11-29 10:58:52 +11:00
UnknownShadow200
ac971a1c5b Fix arm not rendering properly with non power of two skin (thanks masoncb) 2017-11-23 09:32:23 +11:00
UnknownShadow200
caf6de6792 Fix block break animation only beginning to play after switching back to first person camera, if block was broken with third person camera. (Thanks Cybertoon) 2017-11-22 22:25:57 +11:00
UnknownShadow200
3dfe3847b9 Add DrawText/MeasureText to C platform API 2017-10-28 21:15:29 +11:00
UnknownShadow200
3049822462 Fix height of gas block affecting the position of arm. (Thanks kingoscargames1) 2017-10-19 22:14:07 +11:00
UnknownShadow200
9556b1a384 If 'useclouds' is in the texture pack zip, then both the skybox and clouds render. 2017-09-28 12:23:45 +10:00
UnknownShadow200
b85afc73f9 Add ability to rotate skybox 2017-09-27 10:12:05 +10:00
UnknownShadow200
7a77a34b14 Little bit less use of generics 2017-09-19 23:11:59 +10:00
UnknownShadow200
7d9dd4ec1e For consistency, always use verticesCount in 3D graphics APIs, instead of mixing vertices and indices count 2017-09-16 20:30:05 +10:00
UnknownShadow200
cf8812a03c Port Options.Set to C. 2017-09-15 22:19:44 +10:00
UnknownShadow200
3c6bf3624c Further reduce size of IL code 2017-09-13 23:09:10 +10:00
UnknownShadow200
a14492daa8 Begin porting Options to C. 2017-09-13 18:23:24 +10:00
UnknownShadow200
9dd16baf47 ChunkPartInfo is now 12 bytes less in size 2017-09-13 14:20:11 +10:00
UnknownShadow200
0d95ec7787 Reduce IL size of SkyboxRenderer.MakeVb() by 214 bytes 2017-09-13 10:49:57 +10:00
UnknownShadow200
f986d5254e get rid of implicit matrix operator usage to avoid a copy 2017-09-07 10:18:54 +10:00
UnknownShadow200
ffcd5d2d58 Optimise Entity.TransformMatrix, prefer 32 to 64 bit usages in places, start work on parsing C string to 32 bit number. 2017-08-23 12:43:36 +10:00
UnknownShadow200
3a7cc8924b Implement mipmaps with direct3d9 backend too. Fixes #214. 2017-08-22 23:47:00 +10:00
UnknownShadow200
ff177cd023 Start work on mipmaps support, fix plugin warning crashing client 2017-08-22 20:38:19 +10:00
UnknownShadow200
cade919527 Fix some minor issues with held block. 2017-08-19 16:38:23 +10:00
UnknownShadow200
0cf4e91888 Implement nicer dig animation, see https://github.com/UnknownShadow200/ClassicalSharp/wiki/Dig-animation-details (Thanks goodlyay) 2017-08-18 21:00:57 +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
dd08385fdc Fix WeatherRenderer in C. 2017-08-04 12:32:24 +10:00
UnknownShadow200
446afae0bd Finish porting EnvRenderer to C. 2017-08-04 12:26:52 +10:00
UnknownShadow200
9172afcfc9 Combine MinimalEnvRenderer and StandardEnvRenderer, remove a bunch of yucky 'if X is Y', casts, game.ReplaceComponent 2017-08-04 11:36:51 +10:00