Commit graph

3842 commits

Author SHA1 Message Date
Kp f1d035852c Add stubs to hide editor reactor differences from D2X 2013-03-23 20:03:11 +00:00
Kp ba3ec0f88e Move reactor Gun_dir,Gun_pos into struct object 2013-03-23 19:09:44 +00:00
Kp c8c1489837 Create struct reactor analogous to D2X 2013-03-23 18:46:12 +00:00
Kp 9f5fe33543 Fix compilation error in non-editor build 2013-03-22 03:16:22 +00:00
Kp 0236c2993e Remove unused main/desc_id.h 2013-03-22 03:04:00 +00:00
Kp 847248f739 Remove unused header files 2013-03-22 03:04:00 +00:00
Kp 19b77c4e5c Support versions of gcc < 4.6
GCC 4.6 accepts the earlier form without comment, but GCC 4.5 chokes on it.
2013-03-22 03:04:00 +00:00
Kp 39199291e1 Remove -pedantic
It warns about the editor build and serves no purpose.
2013-03-22 03:04:00 +00:00
Kp a1fe33147a Switch from C99 to Gnu99 to make editor build work 2013-03-22 03:04:00 +00:00
Kp b14abd4749 Add stub which_bomb to match D2X code 2013-03-10 03:11:16 +00:00
Kp 24cd2f7767 Remove unused editor/kgroup.c 2013-03-09 21:30:58 +00:00
Kp 06ed350a28 Remove unused arch/linux files 2013-03-09 20:29:20 +00:00
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 39f8106505 Remove various unused misc files 2013-03-10 00:17:59 +00:00
Kp f722f5bee0 Remove unused editor/macro.c 2013-03-09 21:30:58 +00:00
Kp 07e436db5b Remove unused include/descent.xpm 2013-03-09 21:30:58 +00:00
Kp f16f2cf85a Remove unused include/i86.h 2013-03-09 20:29:20 +00:00
Kp 73779bc1fc Remove unused include/d1x.xpm 2013-03-09 20:29:20 +00:00
Kp cc1dfbab96 Remove unused include/checker.h 2013-03-09 20:29:20 +00:00
Kp db8b5d9c93 Remove unused 2d/scale.c 2013-03-09 20:29:20 +00:00
Kp 1ce34913f3 Fix bug that last object is skipped when caching OGL textures 2012-12-08 21:57:29 +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 b3a1776b25 Remove editor UI references to hostage faces code
This fixes a build break from 63c77101d3.
2013-03-09 22:18:18 +00:00
Kp 6ac6cf91ac Remove unused file 2d/tmerge.c 2013-03-03 23:59:29 +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 a4e396aa53 Remove -D_REENTRANT and instead pass -pthread
Pass -pthread to let gcc define threading, instead of using -D_REENTRANT
directly.
2013-03-03 22:24:12 +00:00
Kp 466e6e8f54 Move compiler flags out of SConstruct preprocessor line 2013-03-03 22:23:44 +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 6ee5bbc03e Remove obsolete include/archinc.h 2013-03-03 17:50:54 +00:00
Kp d920420cf6 Remove unnecessary program-specific references in pstypes.h 2013-03-03 01:01:28 +00:00
Kp a4068234b4 Normalize whitespace in copyright header to match D2X-Rebirth 2013-02-24 02:39:48 +00:00
Kp 9b8af60c2c Prepare for files to be in a subdirectory 2013-03-03 02:20:54 +00:00
Kp b92a7d14be Move register_program into subclass 2013-03-02 23:58:29 +00:00
Kp 13bb74f9ca Move net_udp.c reference to subclass 2013-03-02 23:17:38 +00:00
Kp e2c8e95cfc Move names of platform-specific sources into subclasses 2013-03-02 23:00:10 +00:00
Kp 2851dac581 Combine platform-specific settings construction 2013-03-03 01:54:44 +00:00
Kp e5b4664555 Use pkg-config to get libSDL settings 2013-03-03 01:52:59 +00:00
Kp b1b9775052 Copy source lists into individual program objects
This is required once unification begins.
2013-03-02 22:41:05 +00:00
Kp ef996d2772 Generate resource file at build time 2013-03-02 21:25:47 +00:00
Kp 6acace06f4 Move SCons rules into wrapper classes 2013-02-25 02:01:28 +00:00
Kp cbbc9740ae Remove ineffective LINKFLAGS assignment 2013-02-25 02:01:28 +00:00