510 Commits

Author SHA1 Message Date
UnknownShadow200
5c71517f1d Client: Fix text scaling from few commits ago 2016-10-18 10:00:32 +11:00
UnknownShadow200
a69309e12d Client: Fix backspacing of colour codes not working properly (Thanks FabTheZen).
Launcher: Move options button to bottom, clicking on a mode sends you back to the main screen.
2016-10-18 08:40:01 +11:00
UnknownShadow200
a64c3a6075 Client: Don't recreate the HudScreen when resizing the window. 2016-10-18 08:15:48 +11:00
UnknownShadow200
eea433b7e3 Style: Use less modern syntactic shortcuts. 2016-10-17 23:48:18 +11:00
UnknownShadow200
3078d63667 Style: Use less modern syntactic shortcuts. 2016-10-17 23:22:06 +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
d24a929267 Core: Allow building up to 16 chunks per frame. 2016-10-17 16:42:38 +11:00
UnknownShadow200
d1d31e8db1 Style: Reduce parameters in WarningScreen 2016-10-17 16:17:07 +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
0b7b5e3a83 Core: Fix model scale not working when computer is set to a language that doesn't use . as its decimal point. (Thanks Daeslender) 2016-10-15 10:25:25 +11:00
UnknownShadow200
7f92161077 Gfx: IGraphicsApi is no longer responsible for managing dynamic vertex buffers. Simplify dynamic vertex buffer code. 2016-10-12 19:28:00 +11:00
UnknownShadow200
2452cc93a7 Style: Use gfx consistently everywhere, instead of mixing api and graphics. 2016-10-12 12:25:12 +11:00
UnknownShadow200
603cb9fdce Gui: Reduce code duplication in NostalgiaScreen 2016-10-10 15:30:28 +11:00
UnknownShadow200
273b3b32e2 Gfx: Remove unnecessary parameter from UpdateDynamicIndexedVb 2016-10-10 09:13:32 +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
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
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
e20f57dcb5 Style: Namespace everything. 2016-09-26 18:33:05 +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
7ff1575eff Android: don't bother compiling hotkeys code. 2016-09-15 12:15:58 +10:00
UnknownShadow200
2f3cd027ff Client: allow inputting ampersand since it's converted to a percentage symbol anyways. 2016-09-13 22:40:09 +10:00
UnknownShadow200
4c8e5078e0 Better comments for launcher widgets. 2016-09-12 15:44:48 +10:00
UnknownShadow200
77d404674d Fix nostalgia options going back to main instead of options menu. 2016-09-12 09:07:14 +10:00
UnknownShadow200
7d2c9b0829 Fixes messages to the server including trailing spaces at the end of the chat input. 2016-09-11 13:02:35 +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
59ee780aca Fix some of compile errors for android target. 2016-09-11 11:58:59 +10:00
UnknownShadow200
d837e52724 Better indentation 2016-08-30 12:49:24 +10:00
UnknownShadow200
fd879b0b00 Fix HackControl resetting jump height to default of 1.2 blocks, not user's jump height on non -hax maps. 2016-08-26 16:53:04 +10:00
UnknownShadow200
f5a016fce0 Fix disconnected screen flickering on OpenGL backend. 2016-08-18 23:51:00 +10:00
UnknownShadow200
e39be25b3f Fix minor issue with ErrorScreen unnecessarily redrawing the button. 2016-08-16 12:14:43 +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
b2ff1bb70e Fix being unable to use function keys in error screen. (Thanks WolfGangNS) 2016-08-14 10:00:49 +10:00
UnknownShadow200
11a75d0231 Minorly optimise GdiPlusDrawer2D's string measuring function. 2016-08-06 17:47:44 +10:00
UnknownShadow200
a73630432e Don't centre cursor when window is not focused.
Fixes cursor being moved to centre of client's window, when you are interacting with another application, and you finish joining another map.
2016-08-03 14:57:50 +10:00
UnknownShadow200
cc92a2794e oldWidth/oldHeight is never used in the gui code, removed it. 2016-07-25 12:24:57 +10:00
UnknownShadow200
7432413a77 Move gui code to a separate class. 2016-07-25 12:11:55 +10:00
UnknownShadow200
db86bee196 Fix error screen losing colour after context is lost. 2016-07-16 23:30:57 +10:00
UnknownShadow200
b86dd00e13 Fix F9 clock showing 0 mins when played for exactly 1h0m. (Thanks KawaiiCube) 2016-07-16 08:30:35 +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
719d741a9b More fixups for android backend. 2016-07-13 22:48:28 +10:00
UnknownShadow200
02fc19e1e7 Fixup OpenGLES api for IGraphicsApi changes. 2016-07-13 22:26:43 +10:00
UnknownShadow200
c724ba8437 Implement proper face order for advanced lighting. 2016-07-12 20:46:08 +10:00
UnknownShadow200
ea12b5a428 Also add very simple dynamic lighting. 2016-07-12 19:54:34 +10:00
UnknownShadow200
8c292d92e3 Use packed ints instead of 4 byte fields in vertex structs. 2016-07-10 11:23:20 +10:00