51 Commits

Author SHA1 Message Date
UnknownShadow200
a3c87467ab Minorly optimise model rendering. 2016-04-29 12:25:03 +10:00
UnknownShadow200
544f80a2f5 Client now rescales non-power of two skins, fixes crashing and closes #177. (Thanks MarsBarsFood) 2016-04-27 18:17:03 +10:00
UnknownShadow200
c4834cc392 Inline performance hotspots. 2016-04-26 23:08:28 +10:00
UnknownShadow200
69a0b146b6 Active option should be in yellow-ish text, also make 'done' buttons bigger in classic mode. (Thanks FrostFox) 2016-04-16 22:56:31 +10:00
UnknownShadow200
96d435edfc Optimise entity rendering, improves FPS when you have 100-200 models rendering. 2016-04-14 16:21:13 +10:00
UnknownShadow200
bdbe0e0337 Modularise out model building code. 2016-04-14 14:56:54 +10:00
UnknownShadow200
2a67f8f698 Remove Pack=1 arguments which were causing runtime errors on specific mono versions, partially addresses #93. (Thanks Jjp137) 2016-03-30 15:59:55 +11:00
UnknownShadow200
3865bc6888 Rename vertices structs to a more concise one, also fix issue with progress bar very very rarely overflowing when the server overflows on computing the progress value, by instead computing it client-side. (Thanks 123DontMessWitMe) 2016-03-29 20:45:52 +11:00
UnknownShadow200
7a2e5d6049 Organise most things into namespaces. 2016-03-27 09:33:51 +11:00
UnknownShadow200
4e9f92d378 Add giant model. (Thanks tornato) 2016-03-26 16:14:12 +11:00
UnknownShadow200
95447bbe25 Mirrored this time proeprly for sure. 2016-03-26 14:37:04 +11:00
UnknownShadow200
c1abb51dbc Fix bottom face of 64x64 skins being wrongly mirrored. (Thanks goodlyay) 2016-03-26 14:06:22 +11:00
UnknownShadow200
a78205c45a Add copyright notices to every source file. 2016-03-26 13:51:42 +11:00
UnknownShadow200
1c219447e5 Fix mirroring and thin arms on 64x64 skins. (Thanks goodlyay) 2016-03-24 18:31:28 +11:00
UnknownShadow200
f6002ffa0b Start work on new humanoidmodel code (Big thanks to goodlyay). 2016-03-24 16:14:13 +11:00
UnknownShadow200
ae55a133ee Update all other models to use SetRotOrigin method. 2016-03-22 20:41:39 +11:00
UnknownShadow200
0a7d368c53 Move rotation origin setting to part definitions, not at draw method. 2016-03-22 19:14:04 +11:00
UnknownShadow200
04ade22693 Make Chibi's model more consistent with the other models, also make set its name height to be just above the head. 2016-02-29 08:46:02 +11:00
UnknownShadow200
5f00aad7be Fix alex skin detection for non 64x64 skins. 2016-02-22 22:14:28 +11:00
UnknownShadow200
2cb3322c34 Modularise Entity and Player class more. 2016-02-16 23:58:17 +11:00
UnknownShadow200
eb3bbc168a Separate player logic into separate component classes. 2016-02-16 23:37:18 +11:00
UnknownShadow200
ff64b2c23e Fix head yaw rotating incorrectly compared to yaw. (Thanks goodlyay) 2016-02-09 22:23:43 +11:00
UnknownShadow200
bbe3820e95 Initial implementation of head vs body yaw roation, also use default.png in more places instead of always hardcoding arial. (Thanks Vladcosmonaut) 2016-01-12 21:32:31 +11:00
UnknownShadow200
11b2230b63 Animate spider legs. 2015-12-15 17:16:53 +11:00
UnknownShadow200
30c4384d66 Refactor block models - they rotate and use shading, also orient sprite block models correctly. Add slight bobbing up/down of in-game entities. 2015-11-24 09:17:16 +11:00
UnknownShadow200
83c8495340 Only convert full black/white pixels to transparent for fully opaque hats, use shading for skins. 2015-11-23 17:04:50 +11:00
UnknownShadow200
078b7b2747 Cleanup entity rendering, fix own skin changes not being shown and disable alpha testing for humanoid models (Thanks 123DMWM) 2015-11-11 14:48:26 +11:00
UnknownShadow200
c8061b64fd Cleanup SelectionManager, don't show all 64 spaces in ChatInputWidget. 2015-11-08 16:32:08 +11:00
UnknownShadow200
1873fedfb4 Last model cleanup. 2015-11-05 13:49:23 +11:00
UnknownShadow200
0a05980ad6 General cleanup in all model classes, default texture pack should be the last one chosen by the user, not just 'default.zip' 2015-11-05 11:53:23 +11:00
UnknownShadow200
476def4c41 Fix partial messages being word wrapped when LongerMessages is supported, fix left/right shift key being 'stuck' due to WM_SYSKEYUP message only being sent once, start work on refactoring models. 2015-11-05 09:05:58 +11:00
UnknownShadow200
928ab17ec2 More comments. 2015-11-03 16:26:15 +11:00
UnknownShadow200
6f8a4be44d Use /client gpuinfo and log gpu info when an unhandled exception occurs, rather than always displaying it at startup. 2015-10-26 20:51:55 +11:00
UnknownShadow200
f63d1e35e1 Begin to phase out usage of LogX/Y/Z calls, see issue #108 for why this is being done 2015-10-26 19:55:16 +11:00
UnknownShadow200
0d255b4586 More cleanup, fix map side textures being upside down. 2015-10-25 15:36:40 +11:00
UnknownShadow200
6c7fca02ef Hopefully fix UV issues with blocks and models on AMD cards. 2015-10-21 11:24:07 +11:00
UnknownShadow200
e81bbc13ae Reduce model vertices size, reduce complexity of TextInputWidget significantly, add basis for a save level screen. 2015-09-27 20:29:31 +10:00
UnknownShadow200
8a076102f4 BlockModel shouldn't always use LocalPlayer's modelname, fixes #82. 2015-09-21 12:06:51 +10:00
UnknownShadow200
105496e9f8 Eye position should reflect model height. 2015-09-19 17:32:37 +10:00
UnknownShadow200
c88348c6d8 Fix rotation of models, use nicer constants in Model classes. 2015-09-13 12:17:34 +10:00
UnknownShadow200
5a8ec25957 Add ability to change entity textures with local texture packs. 2015-09-12 09:29:33 +10:00
UnknownShadow200
1ec491d2a1 Entities should use map sunlight and shadowlight colours, camera should use old camer's delta and previous mouse position. Fixes #66, fixes #67. 2015-09-11 18:11:10 +10:00
UnknownShadow200
875ec23b5b Add proper brightness to entities, closes #45. (Thanks Goodlyay) 2015-09-03 20:14:10 +10:00
UnknownShadow200
9a69dba8c5 And get player animations working again. 2015-09-03 20:06:30 +10:00
UnknownShadow200
60c753a2fd Make entity models dynamic in preparation for #45, also means we make a lot less matrix multiplications. Still broken! 2015-09-03 19:20:08 +10:00
UnknownShadow200
ad18567f69 Fix bug with StringBuffer/UnsafeString being drawn way too wide on some Windows versions, fixes #46. (Thanks Cheesse) 2015-09-03 18:40:25 +10:00
UnknownShadow200
4e34637a05 Minor code cleanup. 2015-08-15 13:51:22 +10:00
UnknownShadow200
8e19e6d2fc Models now use indexed drawing. 2015-08-04 11:43:19 +10:00
UnknownShadow200
96b508a2ce Optimise even further, fix bug with sky drawing with OpenGL api. 2015-08-04 11:35:57 +10:00
UnknownShadow200
749a1b0436 Simplify API further. 2015-08-04 07:03:20 +10:00