Commit graph

3479 commits

Author SHA1 Message Date
UnknownShadow200
375f1a70b1 Cleanup utf8 decoding/encoding 2018-10-26 22:51:26 +11:00
UnknownShadow200
45b4af80af Fix list page menu not being reset.
For example, if you opened font list, scrolled to page 10, then went to change texture pack, you'd be on page 10 of 3
2018-10-26 20:57:38 +11:00
UnknownShadow200
adb187588e Document Window.h and tidy it up 2018-10-26 20:52:06 +11:00
UnknownShadow200
f69ca4c919 Get dialogs showing on OSX 2018-10-26 12:25:02 +11:00
UnknownShadow200
923b87e8f0 Bunch of OSX fixes. (Thanks video_error) 2018-10-25 23:54:08 +11:00
UnknownShadow200
d382efc549 Get OSX carbon window compiling (Big thanks to video_error) 2018-10-25 18:09:40 +11:00
UnknownShadow200
33c789c691 Fix uninitialised variable usage (major oops) 2018-10-24 21:58:04 +11:00
UnknownShadow200
43d075a01e Dynamically allocate pthread_t instances, fixes crashing trying to generate multiple singleplayer maps. (Thanks csnxs, fixes #549) 2018-10-24 21:38:06 +11:00
UnknownShadow200
7d9f9a7e00 Initial work on OSX port (big thanks to video_error) 2018-10-24 21:22:43 +11:00
UnknownShadow200
09e536615b Separate Platform.c into POSIX vs linux/osx specific 2018-10-24 17:49:26 +11:00
UnknownShadow200
77f8e5c612 delete source code .zip copies (oops) 2018-10-24 16:12:24 +11:00
UnknownShadow200
52b1c52632 Don't use unnamed unions 2018-10-24 16:11:24 +11:00
UnknownShadow200
38007332ea more x2 2018-10-24 14:09:13 +11:00
UnknownShadow200
0a51bfaa1e and even more 2018-10-23 17:09:40 +11:00
UnknownShadow200
d098e7731c and more 2018-10-22 21:14:55 +11:00
UnknownShadow200
76edfee55c more rewrite to c90 2018-10-22 19:09:39 +11:00
UnknownShadow200
481b973077 more rewriting to c90 2018-10-20 12:11:45 +11:00
UnknownShadow200
ce400e6d45 more rewrite for c90 2018-10-19 15:24:19 +11:00
UnknownShadow200
870a38d008 more cleanup 2018-10-18 11:40:01 +11:00
UnknownShadow200
86a4e9d7d8 more minor code cleanup 2018-10-17 21:30:05 +11:00
UnknownShadow200
8c80948d20 Fix wrong spawnpoint being saved 2018-10-17 10:34:10 +11:00
UnknownShadow200
8e08941ece Cleanup Formats.c 2018-10-16 20:00:43 +11:00
UnknownShadow200
4e7948ed65 more of the same 2018-10-15 21:20:13 +11:00
UnknownShadow200
a483f14418 Cleanup Builder.C 2018-10-15 18:03:21 +11:00
UnknownShadow200
d769fae512 fix missing forward declaration in Window.h 2018-10-15 07:38:25 +11:00
UnknownShadow200
95f9d55d45 Call glHint(GL_FOG_HINT, GL_NICEST) to try to get pixel fog activated in more cases. (Thanks csxns, addresses #547) 2018-10-15 00:43:40 +11:00
UnknownShadow200
a146eb531c Cleanup String file, integrate DisplayDevice into Platform 2018-10-15 00:36:48 +11:00
UnknownShadow200
3d1424774f
Merge pull request #548 from igor725/master
Added Makefile for C client
2018-10-14 18:16:58 +11:00
igor725
10f1003249
Update Makefile 2018-10-14 09:54:17 +03:00
igor725
05009be057 Added Makefile for C client 2018-10-14 09:31:13 +03:00
UnknownShadow200
2c423739bd more use of const 2018-10-14 16:03:52 +11:00
UnknownShadow200
538a6166d7 more use of enums for parameters 2018-10-14 14:22:46 +11:00
UnknownShadow200
035858134d Simplify and document TexturePack.h, start rewriting String.c for pure C89 2018-10-14 08:25:33 +11:00
UnknownShadow200
74917845b0 Simplify streams slighty 2018-10-13 13:46:41 +11:00
UnknownShadow200
b0380c5994 C client: Fix immediately crashing in Release mode when compiled with MSVC 2018-10-12 20:28:59 +11:00
UnknownShadow200
3d511f7c89 C client: Minor code cleanup, start work on avoiding fopen for freetype 2018-10-12 19:25:00 +11:00
UnknownShadow200
c2c24075b1 Fix crashing when loading some .cw maps in C client 2018-10-12 19:01:22 +11:00
UnknownShadow200
8c91e51f32 C client: Fix clicking on hotbar in B menu not working. (Thanks Cheesse) 2018-10-12 14:50:32 +11:00
UnknownShadow200
3a4b10d60e C client: Implement skipping in PortionStream. Reduces I/O reads of default.zip by 150 2018-10-11 21:08:33 +11:00
UnknownShadow200
0567fec114 Cleanup Camera.c (allows for more camers to be added) 2018-10-11 19:08:23 +11:00
UnknownShadow200
c3f0585ee8 More comments 2018-10-11 18:20:10 +11:00
UnknownShadow200
427532a98a C client: Add some minimal documentation in some header files 2018-10-11 15:41:17 +11:00
UnknownShadow200
c8c22257e7 C client: Optimise screenshot saving with OpenGL 2018-10-10 20:27:58 +11:00
UnknownShadow200
8782d254ac Combine OpenGLApi/Direct3D9Api 2018-10-10 20:01:44 +11:00
UnknownShadow200
0a29a21d07 C client: Simplify commands slightly 2018-10-10 13:16:00 +11:00
UnknownShadow200
7f4c2b12d5 Fix very long urls not opening 2018-10-10 09:50:04 +11:00
UnknownShadow200
c86db5a454 Fix upper 8 bits blocks array not being freed on new map, oops. Fix turning off 'use custom blocks' then rejoining crashing the game. 2018-10-09 19:26:43 +11:00
UnknownShadow200
9730242d87
Update C-client-notes.md 2018-10-09 15:31:35 +11:00
UnknownShadow200
512c05fca7 tidy up autorotate code 2018-10-09 14:46:09 +11:00
UnknownShadow200
c0813b28f5 Fix auto rotate being stuffed 2018-10-09 11:06:05 +11:00