210 Commits

Author SHA1 Message Date
UnknownShadow200
fc17dd184c Add dejavu sans book as a default font
Attempts to fix a crash on systems with very few fonts
2019-04-16 23:36:30 +10:00
UnknownShadow200
48f861515a fix http debug messages having garbage elapsed timestamps 2019-03-07 00:10:01 +11:00
UnknownShadow200
73b90a2cc8 add default fonts for solaris 2019-01-25 23:58:52 +11:00
UnknownShadow200
ed509392fb test build 2019-01-20 18:45:42 +11:00
UnknownShadow200
f889ae6223 Make launcher look closer to C# one
also offset text shadows slightly more for system fonts
2019-01-08 19:10:27 +11:00
UnknownShadow200
6fbe7e161a Combine various block properties into one global struct 2019-01-02 18:01:08 +11:00
UnknownShadow200
84578127fa Fix urls also being italicised
Also make 'underline' a flag instead of a separate style
2018-12-31 20:15:21 +11:00
UnknownShadow200
219d8cd7ca Download and display flags in launcher.
Also fix status message still showing when going back to main menu
2018-12-30 14:48:12 +11:00
UnknownShadow200
a89acea84d Improve event API 2018-12-27 08:36:50 +11:00
UnknownShadow200
23772e1962 Fallback to displaying errors in message box if can't show in chat 2018-12-23 21:55:58 +11:00
UnknownShadow200
6c577dee6d fix crashing on arch 2018-12-17 09:50:08 +11:00
UnknownShadow200
c148df9959 Better default system font checking, fix some issues compiling on OSX. 2018-12-17 09:39:38 +11:00
UnknownShadow200
dc58379697 Move stuff out of Game.c and general cleanup 2018-12-13 21:51:42 +11:00
UnknownShadow200
55d402e7cf document drawer2D 2018-12-13 10:54:54 +11:00
UnknownShadow200
b297fc44e4 allow measuring just text width and font height in drawer2D 2018-12-13 08:20:12 +11:00
UnknownShadow200
777f4fa88e get basic table to draw 2018-12-12 23:16:03 +11:00
UnknownShadow200
251fd578ac const everywhere 2018-12-12 12:35:51 +11:00
UnknownShadow200
9b20a73d88 Fix text not getting properly clipped, fix keys getting stuck when focus lost on linux 2018-12-09 13:46:30 +11:00
UnknownShadow200
9c67b48372 Now resizing works 2018-12-08 13:15:24 +11:00
UnknownShadow200
31864f17f2 now actually get the code to compile 2018-12-07 22:16:21 +11:00
UnknownShadow200
397f0f872a Fix old default.png getting used when changing texture pack 2018-12-05 18:18:05 +11:00
UnknownShadow200
7482123873 only alpha 0 should be used for measuring default.png character widths, not alpha < 127 2018-12-04 23:05:28 +11:00
UnknownShadow200
a3b8cd48c2 Fix crash if opening audio device fails, more work on porting launcher to C 2018-12-02 02:48:28 +11:00
UnknownShadow200
39d9e40b68 Port some drawing functions from launcher 2018-11-29 00:11:16 +11:00
UnknownShadow200
0ace7afa1e make variables extern 2018-11-26 22:47:41 +11:00
UnknownShadow200
41f68cc323 More usage of components 2018-11-26 18:32:18 +11:00
UnknownShadow200
cd2d70bd8c Combine Graphics/GraphicsCommon 2018-11-24 11:45:02 +11:00
UnknownShadow200
c5e5cb3b2b Make models/textures list a linked list, instead of hardcoding fixed maximum number. 2018-11-23 13:59:11 +11:00
UnknownShadow200
02c114db35 Fix 1/2/4 bit grayscale pngs being incorrectly decoded 2018-11-16 17:54:47 +11:00
UnknownShadow200
e7738b50fa use more efficient bitmapcol 2018-11-16 15:05:51 +11:00
UnknownShadow200
7013769090 Fix using ice block for borders of map, not having ice collision behaviour on bottom border 2018-11-15 17:47:27 +11:00
UnknownShadow200
caddf623b7 attempt to fix again, make lots of variables static to reduce size of linux executable 2018-11-09 15:39:46 +11:00
UnknownShadow200
52b1c52632 Don't use unnamed unions 2018-10-24 16:11:24 +11:00
UnknownShadow200
d098e7731c and more 2018-10-22 21:14:55 +11:00
UnknownShadow200
870a38d008 more cleanup 2018-10-18 11:40:01 +11:00
UnknownShadow200
a146eb531c Cleanup String file, integrate DisplayDevice into Platform 2018-10-15 00:36:48 +11:00
UnknownShadow200
2c423739bd more use of const 2018-10-14 16:03:52 +11:00
UnknownShadow200
8782d254ac Combine OpenGLApi/Direct3D9Api 2018-10-10 20:01:44 +11:00
UnknownShadow200
c434fe4c64 minor cleanup, zzzz 2018-10-09 00:15:43 +11:00
UnknownShadow200
b2dccae86e remove some ugly == NULL 2018-10-08 23:57:47 +11:00
UnknownShadow200
43b44a5325 Int32/UInt32 -> int32_t/uint32_t 2018-10-07 17:24:31 +11:00
UnknownShadow200
28e1a2378d replace some usages of uint16/uint32 with just int 2018-10-07 15:03:30 +11:00
UnknownShadow200
f9eea60daf UInt8 -> uint8_t 2018-10-07 14:25:06 +11:00
UnknownShadow200
ad8f49c289 uint16 -> uint16_t 2018-10-07 13:35:31 +11:00
UnknownShadow200
0aed43d82d Use int instead of Int32 in most places 2018-10-07 10:28:56 +11:00
UnknownShadow200
62ecad77ad Move to using #ifdef instead of #if 2018-10-07 08:01:53 +11:00
UnknownShadow200
bdc8ba1441 move stuff around 2018-10-06 17:55:10 +10:00
UnknownShadow200
e8048ded6b C client: Implement underline for system fonts 2018-10-06 16:27:09 +10:00
UnknownShadow200
a40d9d1b8b C client: Now system font isn't a complete mess 2018-09-30 19:55:11 +10:00
UnknownShadow200
be6ec666a7 C client: Initial implementation of system fonts, still has some major issues 2018-09-30 17:56:50 +10:00