Commit graph

1107 commits

Author SHA1 Message Date
Kp e6dc72700a Remove unused main/mute.c, main/mute.h 2013-03-09 20:29:20 +00:00
Kp dac868c7fd Remove unused main/altsound.c, main/altsound.h 2013-03-09 20:29:20 +00:00
Kp bee93f6433 Remove unused main/compbit.h 2013-03-09 20:29:20 +00:00
Kp fe7cf3bc1d Move segment handling from editor.h 2013-03-16 03:10:55 +00:00
Kp 49d6338b35 Restructure struct segment to align better 2013-03-16 02:54:33 +00:00
Kp ea359a4773 Fix automap save bug in large levels 2012-11-25 02:38:50 +00:00
Kp 8d19afb673 Fix ancient bug that read Segments[-2].verts during endlevel sequence 2012-12-09 04:02:34 +00:00
Kp 5d2312f338 Fix wrong length passed to PHYSFSX_fgets 2012-07-15 18:42:41 +00:00
Kp 0e5ad8ed10 Move declaration of render_mine to render.h 2013-03-10 23:05:03 +00:00
Kp 59dcad1af4 Change type of visited[] from char to unsigned char to match D2X 2013-03-09 04:01:16 +00:00
Kp 633ea033c4 Use #ifdef, not #if, to test WORDS_BIGENDIAN
On little endian machines, WORDS_BIGENDIAN is undefined, so testing
using #if triggers warning -Wundef.
2013-03-03 23:46:22 +00:00
Kp ccc104dbb1 Push down inclusion "args.h" from physfsx.h into sources
This is not needed for the header, and makes the header non-common.
2013-03-03 19:41:09 +00:00
Kp f3562a1a38 Rename include/error.h to include/dxxerror.h
Avoid conflict with generic system header.
2012-07-07 18:35:06 +00:00
Kp a4068234b4 Normalize whitespace in copyright header to match D2X-Rebirth 2013-02-24 02:39:48 +00:00
Kp d14a6860a4 Rename D1XMAJORi/D1XMINORi/D1XMICROi to DXX_VERSION_MAJORi/DXX_VERSION_MINORi/DXX_VERSION_MICROi 2013-02-25 02:01:28 +00:00
Kp 38c7b828b5 Remove DPMI support and BITMAP_SELECTOR 2013-02-25 02:01:24 +00:00
Kp 3a8d40ae2d Remove PSX_BUILD_TOOLS code
This is never activated.
2013-02-25 02:00:08 +00:00
Kp 63c77101d3 Remove last bits of HOSTAGE_FACES code
As far as I can tell, this never shipped, so remove it.
2013-02-25 02:00:08 +00:00
Kp 6df4c2d372 config.c: mark global strings as const 2013-02-25 02:00:08 +00:00
Kp 3edbfa2c90 Normalize comments and whitespace to match D2X 2013-02-25 02:00:02 +00:00
Kp fa5bde8ad0 Remove RCS embedded string to synchronize code with D2X 2013-02-22 04:31:25 +00:00
Kp c6155f63ce Remove RCS comment to synchronize code with D2X 2013-02-22 04:30:51 +00:00
Kp 7b2cbd5dc3 Normalize comments and whitespace to match D2X 2013-02-22 04:30:38 +00:00
Kp 4167cf9685 Move main/hash.c -> misc/hash.c to match D2X 2013-02-21 00:13:56 +00:00
Chris Taylor e0b97f5b56 Fix click-selection in the editor for OpenGL implementations that insist on point blending 2013-01-17 12:45:42 +08:00
Chris Taylor 1eb70135fe If there's a messagebox to show on exit, and we *were* in fullscreen, don't try to toggle fullscreen and crash 2013-01-12 19:07:57 +08:00
Chris Taylor fc1108e7b6 Increased the maximum number of levels and secret levels per mission to 127 each, using MALLOC'd arrays; defined 'd_fname' type (mainly for my pointers to arrays of 13 character filenames, but could be convenient elsewhere) 2013-01-12 13:23:28 +08:00
zicodxx a43f7df8d0 Added option to hide mouse cursor (without disabling the mouse completely) 2013-01-08 17:47:02 +01:00
zicodxx a55dd5e69b Disable fullscreen toggling via ALT+ENTER if Game_wind is on top so toggling cannot be done accidentially ingame 2013-01-08 17:29:26 +01:00
zicodxx 174b7c92d2 Added default keys for weapon cycling similar to Descent 2 and reverted default reverse key to Z as default as more convinient for the QUERTY keyboard layout 2013-01-08 12:17:16 +01:00
zicodxx 8de1f981cf Defer free of kmatrix data until window is fully gone - patch by Kp 2013-01-08 12:08:12 +01:00
zicodxx cd86e2b8c2 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:07 +01:00
zicodxx 97c86f2b5e Removed obsolete HUD cleaning code - patch by Kp 2013-01-03 17:32:58 +01:00
zicodxx 1ba045abe5 Added dummy %s to prevent formatting untrusted literals - patch by Kp 2013-01-03 17:29:57 +01:00
zicodxx b5b72b3ae3 Converted gr_printf to gr_string where needed - patch by Kp 2013-01-03 17:23:09 +01:00
zicodxx ee7325e114 Moved screenshot message formating to HUD_init_message - patch by Kp (and me for non-OGL code ;)) 2013-01-03 17:10:47 +01:00
zicodxx 947abe1efb Fixed argument specifier mismatches flagged by -Wformat - patch by Kp 2013-01-03 17:04:34 +01:00
zicodxx 7549ee8c51 Moved large control_info arrays to end - patch by Kp 2013-01-03 16:57:12 +01:00
zicodxx 07f3bac4cd Removed redundant/obsolete declarations - patch by Kp 2013-01-03 16:54:46 +01:00
zicodxx 1e4e463394 Declared wall_close_door_num in wall.h; Declared validate_segment_side in gameseg.h - patches by Kp 2013-01-03 16:44:52 +01:00
zicodxx 6f72e2846c Moved multi_* declarations to multi.h - patch by Kp 2013-01-03 16:33:40 +01:00
zicodxx 6b949ddff9 Moved remove_char declaration to piggy.h - patch by Kp 2013-01-03 16:24:46 +01:00
zicodxx 8d35d2219c Centralized UDP Broadcast function for IPv4 and IPv6 calls - patch by Kp 2013-01-03 16:08:38 +01:00
zicodxx 38e847828e Moved vers_id.h inclusion to where it is needed - patch by Kp 2012-11-02 18:35:55 +01:00
zicodxx 330c9f8f38 Marked con_printf fmt as const, Increased console lines from 512 to 2048; Marked console private entries as static - patches by Kp 2012-11-02 18:24:11 +01:00
zicodxx 6f35fbf015 use struct type explicitly - patch by Kp 2012-11-02 18:12:57 +01:00
zicodxx 42b34abd7d in g3s_codes renamed or,and to uor,uand - patch by Kp 2012-11-02 18:09:03 +01:00
zicodxx 2f34c3d7fd Moved ui_draw_frame(), ui_draw_shad(), draw_tmap_flat(), math tables externs to headers - patches by Kp 2012-11-02 18:02:41 +01:00
zicodxx faf6f11848 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:33 +01:00
zicodxx c5dbc6593c 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:45 +01:00