Commit graph

1095 commits

Author SHA1 Message Date
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
Bradley Bell 38eea6cbef fix crash caused by death-cam 2004-05-31 18:22:20 +00:00
Bradley Bell 9820ea45ba XCode project cleanups, network enabled 2004-05-31 10:22:06 +00:00
Bradley Bell e1aede25d1 XCode project cleanups, network enabled 2004-05-31 10:21:40 +00:00
Bradley Bell c66de1feb7 XCode compilability fixes 2004-05-31 08:33:41 +00:00
Bradley Bell 3325c0b52b remove old OSX bundle stuff 2004-05-31 08:20:44 +00:00
Bradley Bell abaf2a8ba9 added XCode project files 2004-05-31 07:50:17 +00:00
Bradley Bell 3e3fecf18b added XCode project files 2004-05-31 07:45:26 +00:00
Bradley Bell 47600f2f1f make libpng optional 2004-05-23 00:21:06 +00:00
Bradley Bell ded6d98b13 Changed descriptions 2004-05-22 23:43:06 +00:00
Bradley Bell 9e217b256b add opengl replacement texture support (requires libpng and zlib) (d1x r1.42, r1.1, r1.10, r1.4, r1.1) 2004-05-22 23:41:29 +00:00
Bradley Bell 012659cb9e fix compile when GL_NV_register_combiners isn't defined (d1x r1.40) 2004-05-22 23:06:58 +00:00
Bradley Bell 2c9986da72 fix strict-aliasing errors (d1x r1.13) 2004-05-22 23:01:20 +00:00
Bradley Bell ad5e1dc5c3 Fix mismatched arg types in the win32 code (d1x r1.8, key_arch.c r1.2) 2004-05-22 22:58:09 +00:00
Bradley Bell 89feeb17e2 made opengl use 32bpp screen mode by default, add option to use 16bpp (d1x r1.4, r1.16, r1.34) 2004-05-22 22:43:56 +00:00
Bradley Bell de10ddc84e allow for texture dimensions of 1, and fix ogl replacement texture paletted->rgb conversion alpha problem (d1x r1.43) 2004-05-22 22:29:20 +00:00
Bradley Bell 751aa6bbf1 add opengl replacement texture support (requires libpng and zlib) (d1x r1.42, r1.1, r1.10, r1.4, r1.1) 2004-05-22 22:24:32 +00:00
Bradley Bell d1a591cef7 fix win32 GL_NV_register_combiners build stuff (d1x r1.39, r1.7) 2004-05-22 21:55:33 +00:00
Bradley Bell 62b2385312 opengl hardware super-transparency support using GL_NV_register_combiners (d1x r1.38, r1.41, r1.6, r1.26, r1.7) 2004-05-22 21:48:48 +00:00
Bradley Bell 7a31dd4804 function prototypes 2004-05-22 09:21:24 +00:00
Bradley Bell 2a095b8f8b use GL_RGB for non-transparent textures, and fix fonts not having transparent flag set (wouldn't get paletted) (d1x r1.15, r1.37, r1.40, r1.25) 2004-05-22 09:15:28 +00:00
Bradley Bell b805367364 don't try to use paletted textures with mipmapping since gluBuild2DMipmaps can't handle it (d1x r1.39) 2004-05-22 08:47:14 +00:00
Bradley Bell 9bf950500b add ogl paletted texture support (d1x r1.36, r1.38, r1.5, r1.24) 2004-05-22 08:43:11 +00:00
Bradley Bell 297043def1 memset ogl font bitmap data since the copy function leaves some (unused) parts uninitialized, which aggravates valgrind (d1x r1.14) 2004-05-22 08:10:26 +00:00
Bradley Bell 29cd30b9a8 fix phantom hat when used with a joystick without one, since the code ignored the JOYCAPS_HASPOV flag (d1x r1.5) 2004-05-22 08:00:04 +00:00
Bradley Bell c423c903b8 fix possibility of saving incomplete .tga screenshots if the entire thing wasn't written in one call to write() (d1x r1.35) 2004-05-22 07:55:34 +00:00
Bradley Bell 43017a3445 fix persistent sounds (fans, etc) volume/pan info not being updated on win32 (d1x r1.11) 2004-05-22 07:51:33 +00:00