Commit graph

1121 commits

Author SHA1 Message Date
Martin Schaffner f788edeed5 read descent 1 textures also from shareware version of descent.hog. This is not yet bug-free 2004-10-30 18:34:28 +00:00
Martin Schaffner b07e9ac0fa fix crash introduced with previous change 2004-10-30 10:30:57 +00:00
Martin Schaffner 878989d9f3 move all mission stuff to mission.{c,h}, make mission structre memory allocated 2004-10-24 12:46:49 +00:00
Martin Schaffner 3f19e9abbf add comment 2004-10-23 21:20:19 +00:00
Martin Schaffner df7cd6fa96 remove warning created by the fix for the cfgets issue of 2004-08-29 2004-10-23 20:53:08 +00:00
Martin Schaffner fed1c02540 remove explicit uses of mission list 2004-10-23 19:39:35 +00:00
Martin Schaffner e431d33445 correct comments about anarchy-only 2004-10-23 19:15:46 +00:00
Martin Schaffner baff1c663c remove unnecessary build_mission_list call 2004-10-23 19:09:58 +00:00
Martin Schaffner 9739973e15 move mission list handling functionality to mission.c, remove unnecessary load_mission calls in menu.c 2004-10-23 18:59:02 +00:00
Martin Schaffner acabce7d2e delete file main/compbit.h and adapt users to use text.c/text.h 2004-10-23 17:42:13 +00:00
Martin Schaffner 4239b1d7c0 declare variable on top of block 2004-10-23 16:28:32 +00:00
Martin Schaffner c88b81a277 make it compile on Cygwin 2004-10-21 16:34:57 +00:00
Martin Schaffner 89729b6a62 make it compile on Cygwin 2004-10-21 16:33:11 +00:00
Martin Schaffner 47b8ed7cf9 add mprintf support for carbon (Mac OS 9) 2004-10-14 16:54:45 +00:00
Martin Schaffner 250786d656 fix crash on Mac OS X, probably fix bug 738 2004-10-14 16:43:23 +00:00
Martin Schaffner f460685540 fix bug uncovered by having fgets cut off ending \n 2004-10-14 16:30:56 +00:00
Martin Schaffner 86ac476f95 fix bug 1675: use better d2 textures if d1 hog is present but not loadable 2004-10-09 21:52:43 +00:00
Martin Schaffner 0e3449bae0 correct warnings caused by change of 2004-09-30 2004-10-09 21:47:49 +00:00
Martin Schaffner e435acd4f0 use new macros PLAYING_BUILTIN_MISSION and EMULATING_D1 for accessing information about the current mission, for easier code refactorisation
VS: ----------------------------------------------------------------------
2004-10-09 15:59:28 +00:00
Martin Schaffner 0c79b6adb6 simplify cfile.c, reduce number of global vars 2004-09-29 22:40:28 +00:00
Martin Schaffner 317d23de7c fix bugfix of 2004-05-15 2004-09-05 12:07:01 +00:00
Martin Schaffner f6349028ef cfgets now always copies the terminating character to the dest buffer.
This fixes a bug that occured when reading cmd line args from d2x.ini
2004-08-29 17:57:23 +00:00
Martin Schaffner 8c3b26ef67 change macify_dospath to macify_posix_path for carbon 2004-08-29 17:39:33 +00:00
Martin Schaffner befc0e5275 move more old change logs into ChangeLog-old 2004-08-29 14:03:51 +00:00
Martin Schaffner 7b27126af8 move old per-file change logs into new file ChangeLog-old 2004-08-28 23:37:35 +00:00
Martin Schaffner f46fbbe6bd move old per-file change logs into new file ChangeLog-old 2004-08-28 23:17:46 +00:00
Martin Schaffner 553973cf69 implement findfile for Mac OS Carbon 2004-08-28 19:47:07 +00:00
Martin Schaffner 4170b79859 enable -gl_mipmap switch 2004-08-28 18:11:19 +00:00
Martin Schaffner 0f578b90f8 swap min and max size to correct places 2004-08-28 17:44:48 +00:00
Martin Schaffner eff856eeb0 add mkdir for carbon, and support files ending in 0x0d 2004-08-17 19:36:50 +00:00
Martin Schaffner e381dcd1e1 fix a bug introduced with change of 2004-06-26 2004-08-17 18:02:43 +00:00
Martin Schaffner 5c313b6f08 on Mac OS 9 and X, define Int3 to be a Debugger 2004-08-06 21:28:27 +00:00
Martin Schaffner ec7222760e disable mprintf on carbon to avoid significant bloat 2004-08-06 20:52:49 +00:00
Martin Schaffner 8a79d15892 make d2x compile (but not link) on MPW on Mac OS 9 (carbon) 2004-08-06 20:36:02 +00:00
Martin Schaffner f71f6dd653 d2x can now handle any line ending when reading d2x.ini 2004-08-06 20:28:57 +00:00
Martin Schaffner 9971224604 Include glu.h for Mac OS X, it is sometimes necessary 2004-08-03 21:02:53 +00:00
Martin Schaffner f83aaa72c9 This time, I correctly applied Chris Taylor's patch 2004-08-03 20:27:32 +00:00
Martin Schaffner 73cd3552d0 avoid assigments between unsigned and signed char, MPW does not like these 2004-08-01 16:28:33 +00:00
Martin Schaffner d418524a2b use portable ffilelength in cfile_size 2004-08-01 14:32:07 +00:00
Martin Schaffner 113141a4c9 use portable CFILE instead of POSIX file in write_bmp 2004-08-01 14:22:54 +00:00
Martin Schaffner 2ffaf6505f do not seek while writing, carbon does not like it 2004-08-01 14:17:10 +00:00
Martin Schaffner cc3124fc0e add str(n)icmp for carbon 2004-08-01 14:01:23 +00:00
Martin Schaffner 340ba90d1f include/strutil.h, misc/strutil.c: add str(n)icmp for carbon 2004-08-01 13:28:32 +00:00
Martin Schaffner 4d398d1fa6 New file for supporting compilation with MPW for carbon (Mac OS 9) 2004-08-01 13:08:34 +00:00
Martin Schaffner e55a95f124 add "#ifdef macintosh" for carbon target 2004-08-01 13:01:39 +00:00
Martin Schaffner 6a01ae9f1b remove some unneccesary globals 2004-06-26 16:27:17 +00:00
Bradley Bell 0921f0f378 cast malloc function pointer 2004-06-01 07:49:07 +00:00
Bradley Bell b0b741eb86 added MVEPlayer target to XCode project 2004-06-01 07:47:46 +00:00
Bradley Bell 41ddd0d495 oops, this didn't belong in last commit 2004-06-01 06:09:39 +00:00
Bradley Bell 36cce7f4f0 fix accidental solaris breakage 2004-06-01 06:00:32 +00:00