Commit graph

1094 commits

Author SHA1 Message Date
zicodxx fa3a0c60fc Patch by A Future Pilot to hopefully fix bug which prevented building source within MinGW if Visual Studio installed 2013-01-08 17:53:12 +01:00
zicodxx 714bebe8c3 Added option to hide mouse cursor (without disabling the mouse completely) 2013-01-08 17:47:03 +01:00
zicodxx cb2429a860 Disable fullscreen toggling via ALT+ENTER if Game_wind is on top so toggling cannot be done accidentially ingame 2013-01-08 17:29:23 +01:00
zicodxx 9f2e3dac7f Defer free of kmatrix data until window is fully gone - patch by Kp 2013-01-08 12:08:08 +01:00
zicodxx 9d16bf74d3 Fixed some minor HUD-text related issues: For team assignment messages, joining player name would appear; team color assignment in netgame info screen could be wrong due to wrong syntax handling; when rewrapping text messages to specific player, game would not add space behind colon 2013-01-08 11:42:10 +01:00
zicodxx a43f76e7ac Use proper width in format specifier - patch by Kp 2013-01-03 17:34:15 +01:00
zicodxx 66668712bf Removed obsolete HUD cleaning code - patch by Kp 2013-01-03 17:33:07 +01:00
zicodxx f4ab2e63af Added dummy %s to prevent formatting untrusted literals - patch by Kp 2013-01-03 17:30:42 +01:00
zicodxx 1c261a137f Converted gr_printf to gr_string where needed - patch by Kp 2013-01-03 17:23:24 +01:00
zicodxx d6f96ff0e1 Moved screenshot message formating to HUD_init_message - patch by Kp (and me for non-OGL code ;)) 2013-01-03 17:10:56 +01:00
zicodxx 9e9476e89f Fixed argument specifier mismatches flagged by -Wformat - patch by Kp 2013-01-03 17:05:10 +01:00
zicodxx b0393f5ef3 medrobot: avoid needless name copy - patch by Kp 2013-01-03 17:02:22 +01:00
zicodxx a6dead2a51 Avoid -Wformat-nonliteral for trigger message; Reflect plurality in light trigger messages - patches by Kp 2013-01-03 17:00:40 +01:00
zicodxx c9bb823af6 Moved large control_info arrays to end - patch by Kp 2013-01-03 16:57:24 +01:00
zicodxx 8d5d61ef53 Removed redundant/obsolete declarations - patch by Kp 2013-01-03 16:55:14 +01:00
zicodxx dc3ce05e1a Declared wall_close_door_num in wall.h; Declared validate_segment_side in gameseg.h - patches by Kp 2013-01-03 16:46:36 +01:00
zicodxx d850c5d65e Moved joy_*_handler declarations to joy.h - patch by Kp 2013-01-03 16:37:52 +01:00
zicodxx dc883eaf5a Included maths.h in rand.c to get d_rand prototype - patch by Kp 2013-01-03 16:35:37 +01:00
zicodxx 0a03ea3adc Moved multi_* declarations to multi.h - patch by Kp 2013-01-03 16:33:57 +01:00
zicodxx 653b964849 Moved remove_char declaration to piggy.h - patch by Kp 2013-01-03 16:28:53 +01:00
zicodxx 1f569dc760 Moved pow2ize declaration to ogl_init.h - patch by Kp 2013-01-03 16:18:07 +01:00
zicodxx ea333c7e08 Deleted unnecessary drop-to-shell feature; commented out unused ReadLispMacro - patches by Kp 2013-01-03 16:15:36 +01:00
zicodxx b68e3f430c Centralized UDP Broadcast function for IPv4 and IPv6 calls - patch by Kp 2013-01-03 16:08:39 +01:00
zicodxx f3cad7ce27 Move declaration of gr_rle_expand_scanline_generic() to rle.h - patch by Kp 2012-11-02 18:41:43 +01:00
zicodxx dad55f1072 Include bitmap.h - patch by Kp 2012-11-02 18:37:54 +01:00
zicodxx ba1dcead7c Moved vers_id.h inclusion to where it is needed - patch by Kp 2012-11-02 18:35:57 +01:00
zicodxx 77b8100455 Fixed test for font magic number; Consolidated grs_font_read() - patches by Kp 2012-11-02 18:30:37 +01:00
zicodxx 6c341d760c Renamed __format to __attribute_gcc_format due to possible C++ conflict; allow arguments - patch by Kp 2012-11-02 18:16:16 +01:00
zicodxx dee6b2255f use struct type explicitly - patch by Kp 2012-11-02 18:13:04 +01:00
zicodxx ae448d6a5d in g3s_codes renamed or,and to uor,uand - patch by Kp 2012-11-02 18:08:58 +01:00
zicodxx adbe894e5e Made key_properties readable in other files; Eliminated key_text variable; Marked unicode_frame_buffer as extern in header - patches by Kp 2012-11-02 17:41:40 +01:00
zicodxx d91b472f31 Fixed inconsistency in hostage_rescue() definition and revoked recent patch for u_mem.h due to infinite loops in mem.c caused by this 2012-10-31 16:26:48 +01:00
zicodxx 5a7cc639c6 Made FindArg static - patch by Kp 2012-09-03 00:48:34 +02:00
zicodxx 3b25a4dffe Avoid some unnecessary strlen's 2012-09-03 00:45:13 +02:00
zicodxx 48a496140a Compile out memory checker if not enabled - patch by Kp 2012-09-02 19:16:21 +02:00
zicodxx c4307f392a Use enum for object types, powerup types, weapon types 2012-09-02 00:24:42 +02:00
zicodxx cd56a79b08 Fixed incorrect patch merge introduced in the last commit 2012-09-01 23:29:51 +02:00
zicodxx f41c2443b3 Some Sconstruct lovin': Respect LDFLAGS; Made D2XMAJORi/MINORi/MICROi compile time constants; Do not pass CFLAGS to CXX; Mark some more warnings as errors - patches by Kp 2012-07-28 01:41:40 +02:00
Chris Taylor c3f23bcb50 Don't draw objects with a modelnum of -1, improving stability when a third party mission is played with shareware data 2012-07-24 18:01:14 +08:00
Chris Taylor 80b12fb874 Fix warnings (no checking ubyte 'id' is < 0, include d_strdup prototype for radio.c and make sure that 'text' gets freed) 2012-07-24 17:28:44 +08:00
Chris Taylor 42d7f5bffb If bitmaps.tbl happens to be available, don't try and re-make the pig if EDITOR is defined because it would cause problems 2012-07-24 17:18:13 +08:00
Chris Taylor 015bf19085 Increment version number for Mac files (should have committed this ages ago) 2012-07-24 16:33:04 +08:00
zicodxx 7c5aaa29df Redefined lotsa variables, functions and parameters as const and/or static - patch by Kp 2012-07-23 01:17:54 +02:00
zicodxx 13cd7d8837 cleanup for netgame help menu and incremented multi proto vwersion due to recent code changes (d1x mostly however) 2012-06-18 01:43:46 +02:00
zicodxx 583187db68 removed temp_string buffer for ingame message inputs preventing the string from being messed up if containing special characters 2012-06-18 01:23:32 +02:00
zicodxx 29ad124ea3 added songs_play_file() to play any song depending on filename-extension as a more streamlined approach to handle all different kinds of formats; also used for jukebox to make it independent from SDL_mixer; cleaned up supported filename extenstions 2012-06-10 14:02:43 +02:00
zicodxx b0288d8df0 removed MarkerOwner; some code cleaning in that regard 2012-06-10 11:26:29 +02:00
zicodxx edf56169ab do not write player file each time lifetime stats change to prevent hickups on killing 2012-06-08 23:13:33 +02:00
zicodxx 2055192b67 in vms_matrix_from_quaternion put the definition of tmp1 and tmp2 variables at the beginning of the functions because i was a baaaad boy 2012-06-08 15:54:17 +02:00
zicodxx 98bf17c08c Switching keyboard sensitivity function from variable increase to variable offset, making the ship more responsive in higher settings 2012-06-08 12:22:45 +02:00