Commit graph

1683 commits

Author SHA1 Message Date
Kp 1a9e2009e3 Use sizeof to compute array extents 2012-11-24 17:35:35 +00:00
Kp 8e94b21061 Add size information to improve -fmudflap 2012-11-11 00:12:17 +00:00
Kp 5e21ee36fb Make Side_to_verts const 2013-07-14 21:47:36 +00:00
Kp 490908f530 Make various g3s_point pointers const 2013-07-14 18:54:48 +00:00
Kp 843672be06 Make zero_angles const 2013-07-14 18:04:33 +00:00
Kp 65093560b0 Mark various vector parameters as const 2012-07-01 02:27:19 +00:00
Kp 66f97d20c7 Use ubyte* for g3_poly_get_color 2012-11-24 16:18:52 +00:00
Kp be1cab6dd1 Fix -Wsign-compare warning in file_getdirlist 2013-07-07 01:51:49 +00:00
Kp 9394b366c7 Add realloc cast to file_getdirlist 2012-11-17 06:14:09 +00:00
Kp 356bf93bcd Use MALLOC in 2d/font.c 2013-07-10 21:44:39 -05:00
Kp 167fdb5832 Remove unused key_dialog_handler 2013-07-10 21:44:39 -05:00
Kp 737ac7e9cc Remove unused GetKeyCode 2013-07-10 21:44:39 -05:00
Kp 7aa4c2a55a Use MALLOC for ui_add_gadget_checkbox 2013-07-10 21:44:39 -05:00
Kp 4abda27dd8 Use MALLOC for d_strdup 2013-07-10 21:44:39 -05:00
Kp f9474ecb00 Use d_strdup consistently 2013-07-10 21:44:38 -05:00
Kp 21be722d28 Add realloc casts 2013-07-10 21:44:38 -05:00
Kp 2da501c905 Use MALLOC for hmp 2013-07-10 21:44:38 -05:00
Kp 2d14584877 Remove unused double-linked list code 2013-07-10 21:44:38 -05:00
Kp f954ebadf9 Remove unused vm_vec_imag 2013-07-10 21:44:38 -05:00
Kp cfc74ba3df Remove unused graphics code 2013-07-10 21:41:29 -05:00
Kp e9e1997729 Fix bug that prevented displaying shield conversion message 2013-07-10 21:41:29 -05:00
Kp 37f3bbb04b Remove unused gauge macros 2013-07-10 21:41:29 -05:00
Kp 24a8fe6a56 Remove unused vm_vector_2_matrix_norm 2013-07-02 02:34:19 +00:00
Kp 84ddd7fcf0 Use macros ZERO_VECTOR and IDENTITY_MATRIX for initialization 2013-07-02 02:34:19 +00:00
Kp a83ab2bb74 Use MALLOC wrapper for SDL window handling 2013-06-30 23:15:38 +00:00
Kp 0ad3bb6b4d Apply strict type checks to drawer functions 2013-06-30 22:46:16 +00:00
Kp 3dd003ac99 Use MALLOC wrapper in 2d code 2013-06-30 18:03:07 +00:00
Kp d2bbdfd058 Avoid use of C++ keyword as variable name 2013-06-30 17:59:31 +00:00
Kp 9d361db592 Support using only builtin text strings 2013-06-30 04:35:36 +00:00
Kp fac60a793f Use system assert instead of homegrown Assert 2013-06-30 04:35:36 +00:00
Kp 107b087910 Remove unused error formatting support 2013-06-30 04:35:36 +00:00
Kp 4bdb7942a7 Fix format string conversion mismatches 2013-06-29 22:19:17 +00:00
Kp 9d62cee9dc Use diagnostic_message directly 2013-06-29 22:19:17 +00:00
Kp 7a1a28cece Add editor_status_fmt for printf status messages 2013-06-29 22:19:17 +00:00
Kp 63dc72ba4a Add HUD_init_message_literal for preformatted text strings 2013-06-29 22:19:17 +00:00
Kp 5b1b870551 Make newdemo_write_string const correct 2013-06-29 22:19:17 +00:00
Kp 6aada62c4d Call HUD_init_message_va directly from powerup_basic 2013-06-29 22:19:17 +00:00
Kp 2b20eeb6e2 Work around ntpath handling of None 2013-06-28 21:26:42 +00:00
Kp 9b8831c9c5 Use program.srcdir, not self.srcdir for Win32PlatformSettings 2013-06-28 19:16:03 +00:00
Kp 5013c4d749 Make diagnostic_message forward directly to editor_status 2013-06-28 02:17:40 +00:00
Kp 100255b650 Remove unused editor functions 2013-06-28 02:17:40 +00:00
Kp b454954702 Remove unused function editor_sub_status 2013-06-28 02:17:40 +00:00
Kp fe88284700 Remove unused function print_diagnostic 2013-06-28 02:17:40 +00:00
zico de89ac6fa7 Made credits music fade respect previous music volume 2013-06-27 12:55:22 +02:00
zico 298c3c930d Correctly spply demo string to credits file and also check whether a mission has been loaded. if not, show normal credits 2013-06-27 12:48:59 +02:00
zico 4028c332bd Made hmp->tempo endian-safe 2013-06-27 12:08:58 +02:00
zico 8534b9705b fixed regression introduced in bb57521ef1 causing the game to crash when trying to incorrectly re-init SDL_mixer for change in sample rate - which isn't needed in the first place 2013-06-27 11:41:46 +02:00
Skywing 0c10c9db7f It helps to pass the right length to bind().
- Fixes a break with -DIPv6 under Win32.
2013-06-27 01:48:10 +00:00
Skywing ec709efaa3 Don't truncate callback pointer to midiStreamOpen in hmp_play().
- This is obviously busted on NT64.
2013-06-27 01:48:10 +00:00
Skywing 347292d866 Use vsnprintf instead of vsprintf in 2d\font.cpp 2013-06-27 01:48:10 +00:00