71 Commits

Author SHA1 Message Date
UnknownShadow200
98d435b110 fix licensing 2017-01-20 09:12:04 +11:00
UnknownShadow200
1aef52fab2 Use standard indentation for everything. 2016-11-27 14:47:09 +11:00
UnknownShadow200
5591f0a40e Gfx: Remove unnecessary CreateIb code. 2016-10-17 21:34:55 +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
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
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
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
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
da8ebc61b1 Fix last compile errors for android backend. 2016-09-11 12:45:23 +10:00
UnknownShadow200
38be2f192e Make ticking tasks code more extensible. 2016-08-06 15:06:20 +10:00
UnknownShadow200
db86bee196 Fix error screen losing colour after context is lost. 2016-07-16 23:30:57 +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
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
UnknownShadow200
333d7cef53 Reduce Texture struct size by 4 bytes, also fix issue with Control+Backspace. (Thanks FabTheZen) 2016-07-08 12:29:55 +10:00
UnknownShadow200
f960043a08 Colour held block, more work on dig anim. 2016-06-25 13:48:12 +10:00
UnknownShadow200
11f2695771 Make bottom right text group same location as normal chat group, reduce code duplication. 2016-06-20 20:21:07 +10:00
UnknownShadow200
f15f0134c1 Use the original classic inventory table colours. 2016-05-26 17:03:05 +10:00
UnknownShadow200
4c0b6ea1d6 Use safer method of incrementing pointers. 2016-05-25 22:16:38 +10:00
UnknownShadow200
b9368a8a62 Make GenerateLevel menu description widgets match indention. 2016-04-19 11:54:46 +10:00
UnknownShadow200
e51aefe4d7 Fix padding issues, also be more helpful when using 'OpenGL build with Intel GPU on windows.' 2016-04-19 10:17:24 +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
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
a78205c45a Add copyright notices to every source file. 2016-03-26 13:51:42 +11:00
UnknownShadow200
17b695845a Fix entity shadows on Direct3D9 backend. (Thanks goodlyay) 2016-02-18 23:13:19 +11:00
UnknownShadow200
bfe9e287c6 Less popping in of chunks on fog border (Thanks MrGoober), also can press F8 to show a shadow above the block you are standing on. (Thanks MrGoober) 2016-02-05 00:10:01 +11:00
UnknownShadow200
7427d399c5 Particles now use the 1D texture atlas arrays. This means we no longer need a copy of the 2D terrain atlas in vram. 2016-01-31 23:54:45 +11:00
UnknownShadow200
be005c791f Abstract away platform specific window/input handling. 2016-01-21 21:09:41 +11:00
UnknownShadow200
b79de4c457 Create and implement the CpeTextColours extension. 2016-01-10 21:05:46 +11:00
UnknownShadow200
101cbc5f06 Add more methods for android, add platform class to abstract away some platform differences. 2016-01-07 22:29:40 +11:00
UnknownShadow200
c8061b64fd Cleanup SelectionManager, don't show all 64 spaces in ChatInputWidget. 2015-11-08 16:32:08 +11:00
UnknownShadow200
8130d91fc3 Bold selected name, some minor cleanup. 2015-11-04 20:36:01 +11:00
UnknownShadow200
928ab17ec2 More comments. 2015-11-03 16:26:15 +11:00
UnknownShadow200
c2bd4c7971 Store last entered text in new launcher, more comments in new launcher, don't scroll past last server unless the launcher can show all servers in the table. 2015-10-29 20:41:18 +11:00
UnknownShadow200
bc92278291 More comments in IGraphicsAPI. 2015-10-29 06:58:11 +11:00
UnknownShadow200
59aa0a1c07 Remove console window from default builds. 2015-10-27 07:08:46 +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
e83957c685 More code commenting and cleanup. 2015-10-25 20:34:47 +11:00
UnknownShadow200
7cf129963d More comments, new launcher works on linux. 2015-10-21 18:30:18 +11:00
UnknownShadow200
b39d2764bc More work on occlusion culling (still doesn't work properly in same cases), fix issues with HoldThis packet, fixes #100. 2015-10-13 16:59:21 +11:00
UnknownShadow200
59990d2899 More comments, improve gui: Autohide chat when input bar isn't in use, hide selection box when gui is hidden. 2015-10-11 20:22:20 +11:00
UnknownShadow200
f99a01cba9 Refactor physics some more, also fix bug with terrain atlas sometimes causing crash. More work on occlusion, still broken. 2015-10-10 10:17:13 +11:00
UnknownShadow200
1f54263749 Fix sprites not being full bright if they should, overhaul fps screen to also display current position and hack states. FPS can be hidden with option 'Show FPS' now. 2015-10-08 19:39:27 +11:00
UnknownShadow200
d084385215 Fix 2D gui being affected by fog when in lava, optimise IsometricBlockDrawer by avoiding redundant calculations. 2015-10-08 16:47:53 +11:00
UnknownShadow200
b000dcd543 Add functionality for isometric block drawing for gui, simplify and arrange graphics api info, add warning for intel graphics cards users that they should use Direct3D build because of the lousy OpenGL implementation. 2015-10-06 20:15:48 +11:00