3307 Commits

Author SHA1 Message Date
UnknownShadow200
c98920496c Port Game.UpdateBlock to C 2017-09-12 21:04:40 +10:00
UnknownShadow200
fccc7dad12 Port Picking to C. 2017-09-12 16:22:18 +10:00
UnknownShadow200
fb18b2fe6f Remove all static methods from C headers 2017-09-12 10:30:15 +10:00
UnknownShadow200
7757b86b0f Rewrite Options to not use a dictionary 2017-09-11 22:20:03 +10:00
UnknownShadow200
c357c15432 Port BlockModel to C. 2017-09-11 22:19:56 +10:00
UnknownShadow200
926b07b5c4 remove static methods from Block C header 2017-09-11 22:12:49 +10:00
UnknownShadow200
f5bd452765 Rewrite launcher resource fetching to avoid Dictionary 2017-09-11 17:49:27 +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
047faddb56 Fix case where entities wouldn't use proper skin 2017-09-09 12:07:46 +10:00
UnknownShadow200
a67cf0fd9f Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2017-09-07 14:15:09 +10:00
UnknownShadow200
a0a758d52d rewrite ChatScreen so it doesn't need to use chatIndices array 2017-09-07 13:34:00 +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
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
22f1fbbd79 Fix changing own skin with /skin deleting texture shared by other entities with same old skin. (Thanks Empy) 2017-09-04 15:38:28 +10:00
UnknownShadow200
4115a0d950 Finish porting Camera to C. 2017-09-04 09:45:38 +10:00
UnknownShadow200
20d7ea6dfc Implement missing methods in IModel 2017-09-04 09:32:35 +10:00
UnknownShadow200
ba34b5e8ac Survival mode: Implement food eating. 2017-09-04 08:59:02 +10:00
UnknownShadow200
4de201d635 Port interpolation entity components to C, combine a few C files together. 2017-09-03 21:36:52 +10:00
UnknownShadow200
c4c6b96419 Little bit less lambda and Dictionary usage 2017-09-03 16:51:28 +10:00
UnknownShadow200
6d21e936b2 Port ArmModel to C. (last commit should have said sittingmodel, oops) 2017-09-03 10:05:36 +10:00
UnknownShadow200
f0ce9cfbf3 Port arm and head model to C. 2017-09-03 09:34:09 +10:00
UnknownShadow200
7736873ae5 Share skins 2017-09-02 19:26:18 +10:00
UnknownShadow200
1556b71ac5 Use DateTime.UtcNow instead of Stopwatch in Launcher 2017-08-31 11:27:07 +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
ebf4d135ba remove unused Platform_NewUuid 2017-08-30 11:27:18 +10:00
UnknownShadow200
4274e04a87 HacksComponent -> HacksComp in C. 2017-08-30 11:04:53 +10:00
UnknownShadow200
be2f617d9d Mostly finish porting camera to C. 2017-08-28 19:03:40 +10:00
UnknownShadow200
e3f86de480 Fix mipmaps crashing on windows 98. 2017-08-28 12:57:17 +10:00
UnknownShadow200
a55ea3b0b7 Port mipmaps to C. 2017-08-28 09:58:55 +10:00
UnknownShadow200
f430c9508c Mipmaps work with animations now 2017-08-28 09:23:26 +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
a31de85bea OpenGL backend uses manual mipmaps too now. 2017-08-27 21:25:56 +10:00
UnknownShadow200
4a3f201657 Remember to free the memory allocated for mipmaps 2017-08-27 21:14:42 +10:00
UnknownShadow200
9cced70f2d Add mipmap LOD bias 2017-08-27 20:36:13 +10:00
UnknownShadow200
b3838e81e3 turns out the 'sleep' command is not present on all windows systems, which meant sometimes launcher wouldn't close before the update script runs. Fixes #470. (Thanks fam0r) 2017-08-27 18:48:35 +10:00
UnknownShadow200
a4b753f003 Fix last commit. 2017-08-26 20:17:36 +10:00
UnknownShadow200
9da5007969 Tidy up last commit and port to C port too. 2017-08-26 19:18:16 +10:00
Goodlyay
bcdc92f1ca Remove debug text 2017-08-26 01:47:50 -07:00
Goodlyay
48c2121f61 Add jumps= in MOTD for control over jump amount 2017-08-26 01:46:10 -07:00
UnknownShadow200
794a0709e6 Support more then two jumps in WoM style hacks. 2017-08-26 12:57:58 +10:00
UnknownShadow200
2281dffdbb More porting of Camera to C. 2017-08-25 18:58:58 +10:00
UnknownShadow200
b9eb5f976c Start porting camera to C. 2017-08-25 18:02:11 +10:00
UnknownShadow200
b181be4af0 Finish HacksComponent, integrate AutoRotate into Block header 2017-08-25 15:13:46 +10:00
UnknownShadow200
160d1874a6 Don't show 'chunks/s' in top left when 0. 2017-08-25 12:44:44 +10:00
UnknownShadow200
dffa95da28 More porting HacksComponent to C. 2017-08-25 12:39:00 +10:00
UnknownShadow200
cb076ea944 Generate better manual mipmaps by averaging pixels as pre-multiplied instead. Still to fix: need to update mipmaps with texture animations, need to make opengl backend use manual mipmaps, need to handle terrain.png with tile sizes less than 16, and need to not leak memory in mipmaps calculation 2017-08-25 01:24:59 +10:00
UnknownShadow200
0ed9c5366b Start porting HacksComponent to C. 2017-08-24 23:23:39 +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