Commit graph

240 commits

Author SHA1 Message Date
Kp b29c4e8120 Mark bitblt.c functions static 2013-06-08 23:35:21 +00:00
Kp 4819213420 Remove unnecessary exit(1) calls in physfsx
Error never returns, so calling exit afterward is pointless.
2012-07-07 18:07:42 +00:00
Kp 5901c3c677 Make GET_INTEL_* const-correct
Based on a report by derhass, but with additional changes.  Original
report at

<http://www.dxx-rebirth.com/frm/index.php/topic,1048.msg17421.html#msg17421>.
2013-05-03 23:02:11 +00:00
Kp 706d2d7451 Remove unused include/ps*.inc 2013-03-31 20:42:15 +00:00
Kp 977b48a8b1 Make stub g3_uninit_polygon_model inline 2013-03-30 18:51:51 +00:00
Kp 49b25a83eb Remove unused hostage dialog editor 2013-03-24 02:28:34 +00:00
Kp 5019ce9514 Remove unused header files 2013-03-17 22:54:53 +00:00
Kp 75dff94ac0 Support versions of gcc < 4.6
GCC 4.6 accepts the earlier form without comment, but GCC 4.5 chokes on it.
2013-03-17 18:24:11 +00:00
Kp 2a3524cd66 Move segment handling from editor.h 2013-03-16 03:10:55 +00:00
Kp b1b6310c1f Remove unused include/pa_enabl.h 2013-03-09 20:29:20 +00:00
Kp dbe7272448 Remove unused include/descent.xpm 2013-03-09 21:30:58 +00:00
Kp 71f41f0636 Remove unused include/i86.h 2013-03-09 20:29:20 +00:00
Kp ec88046928 Remove unused include/d1x.xpm 2013-03-09 20:29:20 +00:00
Kp ea44bbf0c7 Remove unused include/checker.h 2013-03-09 20:29:20 +00:00
Kp f6410413b2 Remove unused function pcx_get_dimensions 2013-03-10 22:49:57 +00:00
Kp ac82280250 Remove unnecessary __pack__ on Arg 2013-03-03 22:46:50 +00:00
Kp b9d5e894b9 Reorder Descent II specific arguments to be together 2013-03-03 22:46:28 +00:00
Kp ae72cf6700 Remove unnecessary prototype of AppendIniArgs 2013-03-03 22:43:40 +00:00
Kp 8d39b2b7ae 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 a81afea7fe Rename include/error.h to include/dxxerror.h
Avoid conflict with generic system header.
2012-07-07 18:35:06 +00:00
Kp 5b82e04194 Add const markers to missed vecmat functions
This aligns the code with D1X-Rebirth.
2013-03-03 01:16:22 +00:00
Kp e87d5dba08 Remove unnecessary program-specific references in pstypes.h 2013-03-03 01:01:28 +00:00
Kp 66cf62e359 Normalize whitespace in copyright header to match D1X-Rebirth 2013-02-24 02:40:43 +00:00
Kp 5d1e19423b Remove DPMI support and BITMAP_SELECTOR 2013-02-23 22:54:28 +00:00
Kp 5c2d180d0f Normalize comments and whitespace to match D1X 2013-02-25 01:59:08 +00:00
Kp 7f5d61c3ed Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
zicodxx 714bebe8c3 Added option to hide mouse cursor (without disabling the mouse completely) 2013-01-08 17:47:03 +01:00
zicodxx 8d5d61ef53 Removed redundant/obsolete declarations - patch by Kp 2013-01-03 16:55:14 +01:00
zicodxx 1f569dc760 Moved pow2ize declaration to ogl_init.h - patch by Kp 2013-01-03 16:18:07 +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 f394398499 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:51 +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 ae448d6a5d in g3s_codes renamed or,and to uor,uand - patch by Kp 2012-11-02 18:08:58 +01:00
zicodxx 904f1b1a90 Moved ui_draw_frame(), ui_draw_shad(), draw_tmap_flat(), math tables externs to headers - patches by Kp 2012-11-02 18:02:43 +01:00
zicodxx 9520012d57 Removed 'new' from prototypes; Declared ogl_do_palfx(), ogl_close_pixel_buffers(), ogl_init_pixel_buffers() in gr.h - patches by Kp 2012-11-02 17:51:24 +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 48a496140a Compile out memory checker if not enabled - patch by Kp 2012-09-02 19:16:21 +02: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 3d10827ca3 Optimization for quaternion structure: Stuffed orientation in shorts and removed figure out segnum by position - saving 10 bytes for each positional update in Multiplayer; Also removed render_type from pdata to save yet another byte 2012-05-26 17:53:07 +02:00
zicodxx 1296f3e3b3 Introduced quaternion functions to replace vector matrix where size matters - created by Florian Feucht; Added option for pdata packets based on quaternion in Multiplayer game; Removed PF_LEVELLING from new player objects to prevent jittering in player banking 2012-05-21 17:06:50 +02:00
zicodxx 66f2045c59 using our own functions for strdup and _splitpath with the d_ prefix for all platforms for consistency 2012-05-19 02:16:43 +02:00
zicodxx 70287bfde6 using our own functions for stricmp, strnicmp, strlwr, strupr, strrev with a d_ prefix for all platforms for consistency 2012-05-19 01:36:43 +02:00
zicodxx d3fb313fd9 Renamed FixedStepCalc() to cald_d_tick() and FixedStep became d_tick_step; Also ther eonly is a 50ms-timer used to d_tick_step as it was the only one used so far; Replaced FrameCount with d_tick_count which only increments by 50ms-timer used in calc_d_tick() - that now scales timed actions for certain functions properly and makes AI work FPS-independent without any hacks in that regard 2012-05-14 19:06:28 +02:00
zicodxx 6d3782996c Fixed some non-critical compiler warnings; Now compiling with -std=c99 -pedantic and fixed warnings (except for editor build) caused by this 2012-05-14 12:20:30 +02:00
Chris Taylor 0ec49d71bd Rename MessageBoxN (meant to go with previous commit) 2012-04-17 16:14:18 +08:00
Chris Taylor ef2df1225d Rename MessageBox to ui_messagebox to avoid a conflict with Windows' MessageBox 2012-04-17 16:11:42 +08:00
Chris Taylor 311f835bf8 Clicking on mine elements in the editor now works in ogl 2012-04-15 13:45:45 +08:00
Chris Taylor 372d0f2733 Set Gamesave_current_version to correct version when making a new mine, move create_new_mine to gamesave.c 2012-04-14 13:46:20 +08:00
Chris Taylor e7e034b7bd Editor exits cleanly when clicking the close box, no more redundant gr_uscanline call in gl_urect for ogl (an initial attempt to fix the previous bug) 2012-04-09 20:41:47 +08:00
Chris Taylor ea2de8cb44 Get the clock, 'keypad' info, texture choosing page and object choosing page to draw (latter two just show black squares for ogl) 2012-04-09 10:14:10 +08:00