8094 Commits

Author SHA1 Message Date
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
25215c4b60 Client: Fix custom sprite blocks from last commit. 2016-10-05 11:14:14 +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
5fdfba9d1b Client: Move more stuff to DefaultSet 2016-10-04 10:19:13 +11:00
UnknownShadow200
be619e29f0 Client: Start moving stuff into separate DefaultSet class for block properties. 2016-10-04 09:34:21 +11:00
UnknownShadow200
b299a48fcc Gfx: Add definition for glGetTexImage. (It will all make sense soon) 2016-10-04 07:28:50 +11:00
UnknownShadow200
6aefaec83e Gfx: Unload far away chunks that we can't see to reduce video memory usage on low fog distances. 2016-10-03 21:55:56 +11:00
UnknownShadow200
ac13fa78ca Gfx: Use Default instead of Managed pool on Direct3D 9 backendfor vertex buffers, typically halfs memory usage.
Managed pool places data in both video and system memory. By only using the default pool, we only store data in video memory (at the cost of needing to recreate vertex buffers whenever the context is lost). This also means the client will crash whenever it runs out of video memory.. but really if that happens, you are likely stuffed anyway. I think the tradeoff is worth it. I'll also unload far away chunks to reduce video memory usage.
2016-10-03 21:23:18 +11:00
UnknownShadow200
c6f3ef0569 Client: Log http status code when failing to download from a url. 2016-10-01 20:10:26 +10: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
eeec71ed1f Client: Fix memory leak of default.png after switching texture packs. 2016-10-01 14:19:53 +10:00
UnknownShadow200
ab1fec4b05 Launcher: Fix crash when default.png in selected texture pack is not 32bpp. (Thanks WeeblyDood) 2016-09-30 20:02:55 +10:00
UnknownShadow200
c5cd193566 Launcher: Fix tab being broken from a few commits ago 2016-09-27 10:22:52 +10:00
UnknownShadow200
f6f7b307c1 Launcher: Allow other widgets to be tab selectqable. 2016-09-27 10:09:14 +10:00
UnknownShadow200
2c5aa39274 Client: Fix memory leak with animations.png. (Thanks 123DMWM) 2016-09-27 08:37:36 +10:00
UnknownShadow200
3c02541e0e Style: Get rid of Launcher prefix for gui classes in launcher. 2016-09-26 18:39:27 +10:00
UnknownShadow200
e20f57dcb5 Style: Namespace everything. 2016-09-26 18:33:05 +10:00
UnknownShadow200
6fe3d9650e Launcher: Allow darkening inactive label widgets. 2016-09-26 18:24:22 +10:00
UnknownShadow200
25a376dee4 Launcher: Move resources screen layout code into ResourcesView. 2016-09-25 22:16:12 +10:00
UnknownShadow200
541162331f Core: Fix particles from last commit. (Thanks goodlyay) 2016-09-25 14:53:09 +10:00
UnknownShadow200
ac886fae3c Tidy up last commit. 2016-09-25 10:55:50 +10:00
UnknownShadow200
db870feb2a Merge pull request #236 from Goodlyay/master
Client: Improve block breaking particles.
2016-09-25 10:00:01 +10:00
Goodlyay
deb56eed86 Client: Improve block breaking particles.
Particles now only appear from within the block's bounds. They also
explode nicer.
2016-09-24 13:52:59 -07:00
UnknownShadow200
2a04ed7692 Launcher: Reduce code duplication, make all widgets have a visible field. 2016-09-24 13:36:09 +10:00
UnknownShadow200
3995bc6416 Launcher: Make ResourcesView use slider widget, instead of hardcoding it. 2016-09-23 19:27:30 +10:00
UnknownShadow200
9e1246e371 Launcher: Add Slider widget constructor, rename UpdateLocation to SetLocation. 2016-09-23 15:30:13 +10:00
UnknownShadow200
8a6e94ce0c Launcher: Finish cleanup. 2016-09-23 15:20:10 +10:00
UnknownShadow200
caec0f2408 Launcher: Part 1 of cleanup. 2016-09-23 14:34:28 +10:00
UnknownShadow200
aaaabda217 Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-09-23 11:02:40 +10:00
UnknownShadow200
cfefe43a32 Launcher: Create slider widget
Also default names mode should be Hovered. (Thanks goodlyay)
2016-09-23 10:41:18 +10:00
UnknownShadow200
ab5ffd15de Client: Fix third person camera clipping to wrong place when standing next to a non-full cube block (Thanks Cheesse).
This also fixes a similiar issue with being unable to pick when standing next to a non-full cube block (Thanks goodlyay).
2016-09-22 17:02:25 +10:00
UnknownShadow200
1839da07b4 Client: Reduce code duplication in Picking.cs 2016-09-22 15:50:45 +10:00
UnknownShadow200
49a99f1a30 Client: Remove unused code. 2016-09-22 15:26:54 +10:00
UnknownShadow200
77c3ce331f Client: Microoptimisations for lava animation. 2016-09-22 13:07:39 +10:00
UnknownShadow200
cb7aba8e9e Make lava animation web scalable. (16x,32x,64x) 2016-09-22 12:42:33 +10:00
UnknownShadow200
8043d156ef Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-09-20 18:42:22 +10:00
UnknownShadow200
9854f9287f Client: Fix a very rare crahs (Thanks Daeslender)
This could be caused by having the link directly underneath the 'yes' button, then repeatedly spam clicking the 'yes' button, as the link underneath would constantly activate then hide the screen.
2016-09-20 18:40:41 +10:00
UnknownShadow200
c755a35f29 Fix last commit (thanks goodlyay) 2016-09-16 19:44:04 +10:00
UnknownShadow200
db31519f0e Client: Fix default.png larger than default size (thanks goodlyay). 2016-09-16 18:24:34 +10:00
UnknownShadow200
3c01fe191a Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-09-15 23:29:20 +10:00
UnknownShadow200
2836aaa8b6 Launcher: Get rid of unnecessary font variables in LauncherInputScreen. 2016-09-15 23:28:38 +10:00
UnknownShadow200
ac65ac2ee9 Client: Roughly approximate block density fog in fast mode. 2016-09-15 17:00:51 +10:00
UnknownShadow200
2ca63e97d1 Client: Use better fog colour when in fast render mode. 2016-09-15 16:40:09 +10:00
UnknownShadow200
67f98eb825 Client: Don't show water/lava on vertical bit of borders (thanks tornato). Also offset horizon blocks properly. 2016-09-15 15:11:27 +10:00
UnknownShadow200
7c9a45eac8 Merge branch 'master' of github.com:UnknownShadow200/ClassicalSharp 2016-09-15 12:28:52 +10:00
UnknownShadow200
7ff1575eff Android: don't bother compiling hotkeys code. 2016-09-15 12:15:58 +10:00
UnknownShadow200
a5df8cdbec Client: Don't accept CPE packets at all when CPE mode is disabled. 2016-09-15 12:09:18 +10:00
UnknownShadow200
49d16aa701 Style: Modularise protocol functions. 2016-09-15 12:02:19 +10:00
UnknownShadow200
f399c838f2 Client: Keep track of edge level in mesh builder. 2016-09-15 10:56:32 +10:00