Commit graph

3057 commits

Author SHA1 Message Date
zicodxx f127189b89 Moved pow2ize declaration to ogl_init.h - patch by Kp 2013-01-03 16:17:54 +01:00
zicodxx 0f6d97bb65 Deleted unnecessary drop-to-shell feature; commented out unused ReadLispMacro - patches by Kp 2013-01-03 16:15:21 +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 bb17123c5b Move declaration of gr_rle_expand_scanline_generic() to rle.h - patch by Kp 2012-11-02 18:41:39 +01:00
zicodxx 06f3c1c292 Include bitmap.h - patch by Kp 2012-11-02 18:37:51 +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 eb993337fd Fixed test for font magic number; Consolidated grs_font_read() - patches by Kp 2012-11-02 18:30:33 +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 503de276ac Renamed __format to __attribute_gcc_format due to possible C++ conflict; allow arguments - patch by Kp 2012-11-02 18:16:13 +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 bf2031071f 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:21 +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
zicodxx d2712f76c8 Made FindArg static - patch by Kp 2012-09-03 00:48:08 +02:00
zicodxx bebc52031e Avoid some unnecessary strlen's 2012-09-03 00:43:52 +02:00
zicodxx 690a99c15d Compile out memory checker if not enabled - patch by Kp 2012-09-02 19:17:17 +02:00
zicodxx 0df40b1e77 Use enum for object types, powerup types, weapon types 2012-09-02 00:23:38 +02:00
zicodxx fcc578c1a8 Removed Assert in create_smart_children() which has been taken from D2X code but does not apply for D1X and only will let the Assert fail 2012-09-01 23:47:05 +02:00
zicodxx b0df198dc9 Fixed incorrect patch merge introduced in the last commit 2012-09-01 23:24:00 +02:00
zicodxx 495333522d Some Sconstruct lovin': Respect LDFLAGS; Made D1XMAJORi/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:30 +02:00
Chris Taylor 4b44e08b6c Don't draw objects with a modelnum of -1, improving stability when a third party mission is played with shareware data 2012-07-24 17:42:51 +08:00
Chris Taylor b9e16185a3 Fix warnings (add d_splitpath prototype, no checking ubyte 'id' is < 0, fix say_totals prototype, include d_strdup prototype for radio.c and make sure that 'text' gets freed) 2012-07-24 17:29:43 +08:00
Chris Taylor a65bb22202 Increment version number for Mac files (should have committed this ages ago) 2012-07-24 16:28:20 +08:00
Chris Taylor 50070ba165 No calling piggy_dump_all() when EDITOR is defined, it causes a failed Assert and causes it to exit when the PC Shareware descent.pig is used 2012-07-24 16:23:43 +08:00
zicodxx 33bf139002 Redefined lotsa variables, functions and parameters as const and/or static - patch by Kp 2012-07-23 01:17:52 +02: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 22d38bcace Prepare for files to be in a subdirectory 2013-03-03 02:20:54 +00:00
Kp 66cf62e359 Normalize whitespace in copyright header to match D1X-Rebirth 2013-02-24 02:40:43 +00:00
Kp 67f433b3f1 Move register_program into subclass 2013-03-02 23:58:29 +00:00
Kp b77e563e50 Move net_udp.c reference to subclass 2013-03-02 23:17:38 +00:00
Kp 1c52e588df Move names of platform-specific sources into subclasses 2013-03-02 23:00:10 +00:00
Kp c03c9f128c Combine platform-specific settings construction 2013-03-03 01:54:44 +00:00
Kp c282e0b852 Use pkg-config to get libSDL settings 2013-03-03 01:52:59 +00:00
Kp 39bbc74872 Copy source lists into individual program objects
This is required once unification begins.
2013-03-02 22:41:05 +00:00
Kp 5d1e19423b Remove DPMI support and BITMAP_SELECTOR 2013-02-23 22:54:28 +00:00
Kp f9397bdfc5 Generate resource file at build time 2013-03-02 21:25:47 +00:00
Kp ed33108ae7 Move SCons rules into wrapper classes 2013-02-25 01:59:08 +00:00
Kp 96bf0f5bee Remove ineffective LINKFLAGS assignment 2013-02-25 01:59:08 +00:00
Kp dbf90c43db Move platform-specific settings into specialized settings classes 2013-02-25 01:59:08 +00:00
Kp e14d2ad601 Collapse ogldefines handling
ogldefines is always set to ['OGL'], so remove the definitions of it and
just set that value explicitly when OpenGL is used
2013-02-25 01:59:08 +00:00
Kp 857c8d30ac Simplify copying in compiler environment variables 2013-02-25 01:59:08 +00:00
Kp 87ac6ea221 Move command line settable values into class Settings 2013-02-25 01:59:08 +00:00
Kp f702d92c5a Overload argument lookup to allow version-specific names 2013-02-25 01:59:08 +00:00
Kp 93a23298ff Rename D2XMAJORi/D2XMINORi/D2XMICROi to DXX_VERSION_MAJORi/DXX_VERSION_MINORi/DXX_VERSION_MICROi 2013-02-25 01:59:08 +00:00
Kp 5e7db3626a Rename D2XMAJOR/D2XMINOR/D2XMICRO to VERSION_MAJOR/VERSION_MINOR/VERSION_MICRO 2013-02-25 01:59:08 +00:00
Kp 4fa7ccbb3d Use correct array index when loading circle distance
When reading a custom robot's circle distance from a file, store into
the circle_distance[] array, rather than out beyond it.
2013-02-25 01:59:08 +00:00