449 Commits

Author SHA1 Message Date
UnknownShadow200
acd19ceda2 get rid of generics usage in multiple places 2017-09-21 23:03:58 +10:00
UnknownShadow200
85bd926105 less usage of C# generics 2017-09-21 22:04:51 +10:00
UnknownShadow200
39fa4279d3 Fix client not compiling when using 16 bit block ids 2017-09-20 09:59:06 +10:00
UnknownShadow200
92664c258a Add +/-push to disallow player pushing in MOTD. 2017-09-18 14:02:26 +10:00
UnknownShadow200
d27aba4c70 Obsolete MakeBool ButtonWidget maker 2017-09-16 21:35:23 +10:00
UnknownShadow200
39aa37a83d Port more of Entity to C. 2017-09-16 20:14:20 +10:00
UnknownShadow200
4413fc69e6 Get rid of nearly all lambda usage 2017-09-15 10:10:49 +10:00
UnknownShadow200
c98920496c Port Game.UpdateBlock to C 2017-09-12 21:04:40 +10:00
UnknownShadow200
a67cf0fd9f Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2017-09-07 14:15:09 +10:00
UnknownShadow200
75169baada Get rid of GuiElement.Metadata 2017-09-07 12:32:48 +10:00
UnknownShadow200
f986d5254e get rid of implicit matrix operator usage to avoid a copy 2017-09-07 10:18:54 +10:00
UnknownShadow200
ba34b5e8ac Survival mode: Implement food eating. 2017-09-04 08:59:02 +10:00
UnknownShadow200
4006e127e1 Use simple static fields instead of ugly Dictionary<string, Dictionary<string, object>> for storing persistent data across gui screen changes in the launcher. 2017-08-31 11:00:40 +10:00
UnknownShadow200
7ca611c978 Combine Entity.cs and Entity.Bounds.cs, eliminate all of the hidden delegate allocations for the condition argument to TouchesAny 2017-08-24 15:08:15 +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
5b73327a86 Better names in nostalgia options 2017-08-20 18:24:58 +10:00
UnknownShadow200
dfc5380757 Refactor overlays 2017-08-20 17:13:35 +10:00
UnknownShadow200
bd3d92a541 Quick fix for blocks that were pushed out being duplicated in inventory after doing /reload 2017-08-19 23:28:24 +10:00
UnknownShadow200
c80278857b Add 'classic arm model' as an option. (Thanks Daeslender) 2017-08-19 20:37:27 +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
083316bd66 Finish porting MouseDevice to C. 2017-08-17 10:35:02 +10:00
UnknownShadow200
96c11b3206 If we try to set inventory slot to already used slot, push the old block to the free IDs. 2017-08-16 20:45:08 +10:00
UnknownShadow200
42e1fdc3d1 Implement InventoryOrder CPE extension. 2017-08-16 11:06:26 +10:00
UnknownShadow200
99ca17407d Use precise mouse wheel delta everywhere. 2017-08-15 23:27:23 +10:00
UnknownShadow200
8f0ba399cd Implement pressing G to replace selected block in inventory with air. Partially addresses #465. (Thanks hellosammu / goodlyay) 2017-08-15 13:27:55 +10:00
UnknownShadow200
5a03fda9bd Get rid of InventoryPermissions and just use bool array instead 2017-08-14 09:54:42 +10:00
UnknownShadow200
c23ba90c1f Make BlockInfo class static and break all plugins in the process. 2017-08-14 09:33:21 +10:00
UnknownShadow200
78a4765142 Make inventory slot -> Block mapping publicly accessible 2017-08-13 23:04:37 +10:00
UnknownShadow200
62fc09a53f Names shouldn't be affected by fog colour. Fixes #462. 2017-08-11 22:56:16 +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
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
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
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
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
Goodlyay
f7e0a00e1a Add smooth camera option 2017-06-27 01:40:37 -07: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
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
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
e34847a4ba Fix disconnect screen flickering issues when texture pack had a skybox 2017-06-13 13:13:21 +10:00
UnknownShadow200
b34b627916 Fix mistakes in OpenGL func pointers, modularise IGraphicsApi.CreateDefaultIb 2017-06-12 18:37:18 +10:00
UnknownShadow200
e5b42b0c5b Fix texture pack with different skin type (e.g. 64x32 to 64x64), not correcting setting skin type for players without custom skins. 2017-06-09 08:45:57 +10:00
UnknownShadow200
673ae93b0c Replace properties with fields in 2D classes, remove unused 2D classes methods. 2017-05-28 14:52:19 +10:00
UnknownShadow200
4268d7c7c1 Launcher is now capable of running without ClassicalSharp.exe 2017-05-23 10:04:18 +10:00
UnknownShadow200
34f84ef280 simplify a bit 2017-05-07 16:42:14 +10:00