Commit graph

210 commits

Author SHA1 Message Date
Chris Taylor 135167faf6 use PhysicsFS in file.c, involves modifying the listbox so it can use an array of string pointers 2005-03-05 09:30:26 +00:00
Chris Taylor bf66c9b5e3 define cfopen to be PHYSFSX_openReadBuffered 2005-02-25 05:29:09 +00:00
Chris Taylor f6e0153a80 include pstypes.h for PATH_MAX 2005-02-25 04:25:58 +00:00
Chris Taylor 8b323e7214 Add PHYSFSX_openReadBuffered and PHYSFSX_openWriteBuffered 2005-02-25 02:02:22 +00:00
Martin Schaffner 2d1210906e clean up path/file length macros 2005-01-25 21:20:29 +00:00
Martin Schaffner e2f5c3f9b5 make ui_barbox_update return void 2005-01-25 19:40:04 +00:00
Martin Schaffner 70cac7ef85 on Carbon, dynamically find and load the OpenGL library on carbon 2005-01-25 19:23:58 +00:00
Martin Schaffner 6d72f0d47f make sure nocfile.h and cfile.h are never both included 2005-01-23 14:46:49 +00:00
Martin Schaffner 4fe04c1d9d change cfopen to use buffers (speeding it up), and use cfopen instead of PHYSFS_openRead/PHYSFS_openWrite where appropriate 2005-01-23 14:38:04 +00:00
Bradley Bell 5d94af253e implement removeext, use it in dsload instead of splitpath 2004-12-20 07:12:25 +00:00
Bradley Bell e8303968dd moved unused/ui to ui 2004-12-19 13:17:44 +00:00
Bradley Bell e2994daee0 replace byte with sbyte 2004-12-19 11:00:32 +00:00
Bradley Bell 1fa70986bd prototype for strdup with MPW 2004-12-19 09:39:01 +00:00
Bradley Bell 2e5783302d Print only mildly interesting messages to stderr.txt. (revert earlier carbon changes) 2004-12-07 22:37:55 +00:00
Bradley Bell 0569d6ee66 getRealPath uses the write directory if it can't get the real directory 2004-12-05 10:56:32 +00:00
Bradley Bell 5a091ee718 use PATH_MAX for hog pathname, ensure correct translation of path separators 2004-12-04 04:07:16 +00:00
Bradley Bell f26950bf6e use sprintf in PHYSFSX_getRealPath() because I couldn't figure out why the previous code kept segfaulting under linux. 2004-12-03 07:29:32 +00:00
Bradley Bell 7dce7ab24d fix RELEASE build, make sure path separator gets added to hogdir 2004-12-02 09:48:57 +00:00
Bradley Bell f81fcb88a6 Updated MSVC build, now uses dynamic opengl loading 2004-12-02 08:52:59 +00:00
Bradley Bell 66524ff74c Make cfopen into an inline, where a read buffer is set up. This speeds up loading significantly. 2004-12-01 13:01:00 +00:00
Bradley Bell b3d134a6b7 merged physfs branch 2004-12-01 12:48:13 +00:00
Martin Schaffner 47b8ed7cf9 add mprintf support for carbon (Mac OS 9) 2004-10-14 16:54:45 +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 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 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 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 e55a95f124 add "#ifdef macintosh" for carbon target 2004-08-01 13:01:39 +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 c66de1feb7 XCode compilability fixes 2004-05-31 08:33:41 +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 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 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 23ac979adb added missing define for menu fullscreen toggle 2004-05-22 02:01:34 +00:00
Bradley Bell 1de277460d add -renderstats command-line arg to activate RENDERSTATS (d1x r1.36, r1.15, r1.33) 2004-05-20 07:25:22 +00:00
Bradley Bell ad42e7c895 add anisotropic texture filtering suport (d1x r1.33, r1.32, r1.23, r1.32) 2004-05-20 05:16:21 +00:00
Bradley Bell 12a67e5014 utilize hardware multitexturing support if possible (requires GL_NV_texture_env_combine4 extension) (d1x r1.32, r1.30, r1.4, 1.22) 2004-05-20 03:31:36 +00:00
Bradley Bell 130ac9dfb4 implement brightness/palette effects in OGL using SetGammaRamp, much faster than the hack that was being used. currently SDL only (though not too hard to add to WGL, not as easy as sdl) (d1x r1.31, r1.3, r1.13, r1.21) 2004-05-20 02:04:30 +00:00
Bradley Bell d9b238dc94 allow arbitrary resolutions to be specified on command line (d1x r1.2, r1.29, r1.4) -- doesn't work yet 2004-05-19 21:20:09 +00:00
Bradley Bell 369a375f5f fix briefing spinning robot display in OGL (d1x r1.28, r1.20, r1.2) 2004-05-19 03:29:04 +00:00
Bradley Bell 84e8d64941 comments/formatting 2004-05-19 01:47:24 +00:00
Martin Schaffner 2abf4d90e5 include/*.bat, include/test.*: remove unnecessary files 2004-05-17 23:04:21 +00:00
Martin Schaffner 06a9dab20e move ogl-internal stuff from ogl interface header to new file internal.h 2004-05-16 00:45:25 +00:00