327 Commits

Author SHA1 Message Date
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
1839da07b4 Client: Reduce code duplication in Picking.cs 2016-09-22 15:50:45 +10:00
UnknownShadow200
cb7aba8e9e Make lava animation web scalable. (16x,32x,64x) 2016-09-22 12:42:33 +10:00
UnknownShadow200
ac65ac2ee9 Client: Roughly approximate block density fog in fast mode. 2016-09-15 17:00:51 +10:00
UnknownShadow200
7ff1575eff Android: don't bother compiling hotkeys code. 2016-09-15 12:15:58 +10:00
UnknownShadow200
49d16aa701 Style: Modularise protocol functions. 2016-09-15 12:02:19 +10:00
UnknownShadow200
d8f3458282 Client: Now show message when turning on/off axis lines since some people seem to be confused about it. 2016-09-13 23:46:41 +10:00
UnknownShadow200
0ab5ef4434 Rename INetworkProcessor to the more descriptive IServerConnection, since it does not necessarily actually use the network. 2016-09-11 12:52:00 +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
a8f7e2b0a7 In SinglePlayer, you should be able to use commands without /client. (E.g. /cuboid will act the same as /client cuboid) 2016-09-09 09:07:27 +10:00
UnknownShadow200
43b3d5e921 Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-08-30 12:50:09 +10:00
UnknownShadow200
d837e52724 Better indentation 2016-08-30 12:49:24 +10:00
UnknownShadow200
e28b391105 and fix the last commit to work after client restart. 2016-08-28 13:51:59 +10:00
UnknownShadow200
83aaf4091d Should be using the 'lastmodified' provided for our own 'if modified since' header, fixes texture packs from some web servers always being redownloaded. (Thanks CookieNetwork) 2016-08-28 13:45:25 +10:00
UnknownShadow200
8c52ada595 Use named StringLength constant instead of hardcoding 64 everywhere, replace StringBuilder with StringBuffer. 2016-08-15 18:33:37 +10:00
UnknownShadow200
ff4b1eb723 Avoid foreach wherever possible. 2016-08-15 12:57:25 +10:00
UnknownShadow200
a8b73a0e46 Switching to classic/classic+hax mode should not reset your 'use classic background' option. (Thanks JPlaysClassic) 2016-08-13 08:48:06 +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
4ffa029fa9 Start on (non-working) player push. 2016-07-25 13:03:29 +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
f227bbfbbf Modularise animation part of held block into a separate file. 2016-07-08 22:06:35 +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
1578bac6bc Make held block and dig animations more accurate. 2016-07-07 15:21:51 +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
bf31645e6b Hopefully fix issues with falling through when pillaring. (Thanks classic1234) 2016-06-26 23:38:51 +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
UnknownShadow200
635aa4d348 Fix map border blocks not being at correct height, draw translucent blocks before map water when underwater for proper alpha blending. 2016-06-22 18:50:47 +10:00
UnknownShadow200
18c5785ace Fix respawning/spawning not resetting velocity to zero (matches vanilla classic behaviour, thanks goodlyay), fix local player variables not being reset on reconnect (thanks AndrewPH), closes #208. 2016-06-12 10:16:23 +10:00
UnknownShadow200
1e2cd769fe Consistently use 'block' instead of 'tile'. 2016-06-11 18:38:20 +10:00
UnknownShadow200
d6266ed61e Normalise line endings to end this madness. (Thanks Jjp137) 2016-06-11 17:56:37 +10:00
UnknownShadow200
b2c642b8af Remove Block enum. 2016-06-11 15:29:45 +10:00