253 Commits

Author SHA1 Message Date
UnknownShadow200
946e5075ac More fixes II 2017-02-11 17:39:27 +11:00
UnknownShadow200
20b3b6fe5c Don't accept terrain.png if too large, fixes #256 2017-02-11 12:49:27 +11:00
UnknownShadow200
99b3b4be7b don't tie mouse updates to 60 FPS 2017-02-07 20:23:21 +11:00
UnknownShadow200
69d6bd228e make sure input bitmaps are 32bpp everywhere 2017-01-24 09:11:47 +11:00
UnknownShadow200
98d435b110 fix licensing 2017-01-20 09:12:04 +11:00
UnknownShadow200
61705d548a Add Disconnected event 2016-12-31 11:40:30 +11:00
UnknownShadow200
e33d39685c Style: Make more code available to external plugins. 2016-12-03 19:26:38 +11:00
UnknownShadow200
9e7334fec7 Core: fix crashing if texture is not power of two dimensions (Thanks Joshim4). 2016-12-02 21:33:56 +11:00
UnknownShadow200
2986773b51 Abstract block lighting 2016-11-29 21:01:18 +11:00
UnknownShadow200
6ec9c2d4b8 Client: also allow using shift and control to scroll hotbar when B menu is open. (Thanks goodlyay) 2016-11-27 22:02:30 +11:00
UnknownShadow200
250ab7f417 Do same for launcher 2016-11-27 14:50:45 +11:00
UnknownShadow200
1aef52fab2 Use standard indentation for everything. 2016-11-27 14:47:09 +11:00
UnknownShadow200
2fa379746a Style: Finish simplifying BlockInfo 2016-10-29 13:49:33 +11:00
UnknownShadow200
00f28e2039 Style: Start simplifying BlockInfo 2016-10-29 13:15:00 +11:00
UnknownShadow200
f0047be63c Style: Remove CommandReader class, move stuff from ClassicalSharp.TexturePack to ClassicalSharp.Textures 2016-10-17 17:15:24 +11:00
UnknownShadow200
6912b7a75c Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-10-17 09:48:32 +11:00
UnknownShadow200
fcc443fbcf Style: reduce hardcoding 2016-10-17 09:47:55 +11:00
UnknownShadow200
1342b92d8b Style: Allow adding more Camera classes. 2016-10-17 09:37:41 +11:00
UnknownShadow200
8d994e7c08 Core: Chunks should unload/load based on user's view distance, not map fog. 2016-10-16 14:09:15 +11:00
UnknownShadow200
b576506b86 Gfx: add bool indicating whether texture should use managed or default pool. 2016-10-06 10:54:17 +11:00
UnknownShadow200
febe31b904 Style: Split IGraphicsAPI into IGraphicsAPI and IGraphicsAPI.Core, don't catch NotSupportException for invalid bitmap. 2016-10-05 18:25:21 +11:00
UnknownShadow200
ac1a6442a7 Core: Now resetting a custom block that overwrote a core block works properly now. Also fix texture pack not being reset in singleplayer when loading a level without one. 2016-10-04 14:09:20 +11:00
UnknownShadow200
d74d78df0d Core: Rewrite camera class to have less code duplication. 2016-10-01 18:21:49 +10:00
UnknownShadow200
64cb13d0a6 Gfx: DeleteVb should reset the id too. 2016-10-01 17:45:17 +10:00
UnknownShadow200
e20f57dcb5 Style: Namespace everything. 2016-09-26 18:33:05 +10:00
UnknownShadow200
ac65ac2ee9 Client: Roughly approximate block density fog in fast mode. 2016-09-15 17:00:51 +10:00
UnknownShadow200
da8ebc61b1 Fix last compile errors for android backend. 2016-09-11 12:45:23 +10:00
UnknownShadow200
8be566b75d Avoid dictionary usage. 2016-09-11 11:14:54 +10:00
UnknownShadow200
ff4b1eb723 Avoid foreach wherever possible. 2016-08-15 12:57:25 +10:00
UnknownShadow200
38be2f192e Make ticking tasks code more extensible. 2016-08-06 15:06:20 +10:00
UnknownShadow200
ae5f379438 Fix client crash when using normalfast mode and on Intel OpenGL build. 2016-08-06 09:15:54 +10:00
UnknownShadow200
cc92a2794e oldWidth/oldHeight is never used in the gui code, removed it. 2016-07-25 12:24:57 +10:00
UnknownShadow200
3fdda6ab92 Make TexturePackExtractor less hardcoded. 2016-07-25 12:22:10 +10:00
UnknownShadow200
7432413a77 Move gui code to a separate class. 2016-07-25 12:11:55 +10:00
UnknownShadow200
309ba45a5d Fix skybox orientation in forward third person camera (Thanks goodlyay). 2016-07-14 16:15:36 +10:00
UnknownShadow200
7be81bea37 Fix most of remaining compilation errors on android project type. 2016-07-14 11:29:54 +10:00
UnknownShadow200
0da70b91eb Use android-compatible 'is 32bpp bitmap' test. 2016-07-14 00:15:25 +10:00
UnknownShadow200
3ffb85b2cb Merge pull request #226 from Goodlyay/master
Add unfinished smooth lighting as an option (Thanks UnknownShadow200!)
2016-07-09 18:55:10 +10:00
UnknownShadow200
de89dc891e Cache native window width and height. 2016-07-09 18:43:07 +10:00
UnknownShadow200
4281dead19 Allow switching between normal / smooth lighting mesh building at runtime. 2016-07-09 16:10:32 +10:00
UnknownShadow200
a4eb33dbfd Fix skybox (and other textures) being lost after clicking 'try to reconnect'. (Thanks 123DMWM) 2016-07-07 23:10:44 +10:00
UnknownShadow200
1dd58bf874 Fix selection outline writing to depth buffer when it should not be. 2016-07-07 22:59:52 +10:00
UnknownShadow200
b732b8a58a Fix receiving handshake packet settings 'receivedFirstPosition' to false (thanks again opticalza), optimise skybox rendering to avoid unnecessary clear call. 2016-07-07 00:09:52 +10:00
UnknownShadow200
7fa3fb5ca1 Error screen is same colour as classic, minor performance optimisations for mesh building. 2016-07-06 23:47:48 +10:00
UnknownShadow200
b2d0737b18 RenderType command should save between sessions. (Thanks classic1234) 2016-06-26 22:36:49 +10:00
Goodlyay
ce2e297551 Add velocity based tilt to view bobbing. 2016-06-25 02:48:35 -07:00
UnknownShadow200
d3a0cb69c7 Use rewrited view bobbing by goodlyay. (Much much thanks) 2016-06-25 16:13:45 +10:00
UnknownShadow200
f960043a08 Colour held block, more work on dig anim. 2016-06-25 13:48:12 +10:00
UnknownShadow200
ed6e4463c1 First part of heldblock rewrite. (Thanks goodlyay) 2016-06-24 20:53:22 +10:00
UnknownShadow200
df12571d96 Don't load a texture if it is bigger than gpu's max supported size. 2016-06-23 10:50:51 +10:00