Commit graph

485 commits

Author SHA1 Message Date
kreatordxx 0f9a1c23e5 rename datafile_open to PHYSFSX_openDataFile to fit in with naming convention 2008-01-19 09:02:47 +00:00
kreatordxx ef6d9bfb0d if descent2.hog / d2demo.hog isn't found, show a more accurate error message than before 2008-01-19 00:55:54 +00:00
kreatordxx d77955652d fix potential bad memory access in change_filename_extension 2008-01-19 00:30:02 +00:00
zicodxx 64f760e4f0 Removed SDL Gammaramp code (obsolete); Improvements on Demo code 2008-01-13 13:32:06 +00:00
zicodxx 66ed0f62f1 Removed SDL Gammaramp code (obsolete); Improvements on Demo code 2008-01-13 13:27:58 +00:00
kreatordxx 4c1b4084f8 make sure a font header only takes up sizeof(grs_font) memory, not sizeof(grs_font) squared 2008-01-13 00:41:57 +00:00
kreatordxx 65fc0eaad5 fix typo causing compiler error on bigendian computers 2008-01-13 00:36:04 +00:00
zicodxx 2f60e0ae31 Safe timer rollover in menu idle-demo function; Reintroduced menu shortcuts; Implemented support for menu scrolling if nitems > 15 2008-01-08 21:02:06 +00:00
zicodxx a4c220c2e5 Fixing MAC compiling issues (hopefully); Re-Added IPX Socket option to Host menu for IPX games; Renamed netmisc.* to netpkt.*; Handling host disconnect for UDP games in network.c 2008-01-08 16:46:15 +00:00
zicodxx 416403c2d6 Fixing MAC compiling issues (hopefully); Re-Added IPX Socket option to Host menu for IPX games; Renamed netmisc.* to netpkt.*; Handling host disconnect for UDP games in network.c 2008-01-08 16:30:14 +00:00
zicodxx acdcb77711 Cleaned/Rewritten/Renamed lower level network layer to make it (look) less IPX-oriented 2008-01-02 15:36:51 +00:00
zicodxx 62f6f40ab3 Code cleanup - old/unused/obsolete multiplayer code and more 2007-12-29 14:18:49 +00:00
zicodxx 24e25d966b Fixed compiler error because of removed header file; Removed connect state restore in multi_endlevel_score to make sure always state 7 is sent to other players while connect state is obviously restored later; Allocated memory for all sequence_packet's; Moved piggy_close() to main - replacing atexit; Rendering credits with timer_delay2 at constant 25FPS and save CPU 2007-12-23 00:51:59 +00:00
zicodxx d2ca16d4c1 Implemented new UDP/IP interface with Server-Relay (for firewalled users) and IPv6 compability; Fixed memory issues; If arguments -gl_mipmap and -gl_trilinear used both, always select -gl_trilinear 2007-12-17 22:45:45 +00:00
zicodxx fc60cd575d Fixed new redundancy HUD messages check - made it more strictly 2007-11-23 23:04:08 +00:00
zicodxx 1639e0f1f5 Fixed some memory problems; Adjusted timer_delay2 for robot briefings 2007-11-23 21:14:57 +00:00
zicodxx df7a1ca071 Introduced timer_delay2 as replacement for timer_delay to sleep according to given FPS rate considering calc time between frames 2007-11-21 12:46:09 +00:00
kreatordxx 76c0dee947 re-add Mac OS 9's makefile (SCons not compatible with Mac OS 9) 2007-11-10 08:55:30 +00:00
kreatordxx 5cadba2207 print a more meaningful message when SDL fails to initialise OpenGL 2007-11-10 08:53:21 +00:00
kreatordxx e474abb5a0 port the jukebox to PhysicsFS for Mac OS 9 compatibility 2007-11-10 08:51:30 +00:00
zicodxx a5e460e66e Correctly saving Reverse Stereo setting; Added Demo playback help keys; aligned Demo recording to 20 frames per second to save lots of hard drive space 2007-11-06 20:33:22 +00:00
kreatordxx 8dc1032d33 make sure mid_write_error_templ still works 2007-11-06 02:11:46 +00:00
kreatordxx fef59bdb3f various fixes towards getting it to build for Mac OS 9 again 2007-11-06 01:30:07 +00:00
md2211 c6407e0c2d Fixed crash on absent or invalid jukebox directory (testing scandir() return value) 2007-11-05 13:41:20 +00:00
kreatordxx a4beacd08a update Mac version info, set SHAREPATH to application folder for Mac OS X 2007-11-05 07:55:50 +00:00
kreatordxx 7363a2a5fa hard code userdir to ~/Library/Preferences/D2X Rebirth/ for Mac OS X 2007-11-03 06:36:54 +00:00
kreatordxx 0907af33fc hack to remove warning when compiling on Mac OS X (constant/variable dirent parameter of file selection callback for scandir) 2007-11-03 05:50:45 +00:00
zicodxx 90225b5964 Data types correction 2007-11-01 18:49:28 +00:00
zicodxx c36cedb3a8 Fixed selection for default Texmapper 2007-10-31 16:29:00 +00:00
zicodxx 2d32bb7b3e Improvements for -gl_prshot; Improved show_netgame_info(); Removed obsolete multisave code 2007-10-31 00:49:45 +00:00
zicodxx 4f79a95a46 code cleaning 2007-10-30 00:01:55 +00:00
zicodxx c3b0baa1c3 Memory stuff 2007-10-29 21:40:49 +00:00
zicodxx cab3ce124f Fixed cockpit_mode_save usage for Death sequence 2007-10-29 13:16:29 +00:00
zicodxx 4ee1ca5020 Using FONTSCALE_X instead of MENSCALE_X to scale netlist tabs 2007-10-28 21:52:10 +00:00
zicodxx 50ec34ddba Fixed typo 2007-10-28 21:38:42 +00:00
zicodxx cf27a22701 For HUD messages redundancy check, compare all messages and check if message already printed and is a typical 'ALREADY HAVE' message - waste them if so 2007-10-28 21:34:20 +00:00
zicodxx 453cf2d609 Fixed problems with GameTime wraparound - delay sounds, cloak, invulnerability, ping; Added debug key to Reset GameTime for testing; Removed -gl_vidmem; Cheat-code cleanup; Some HUD message redundancy 2007-10-28 20:14:25 +00:00
md2211 b78a60d697 Fixed non-working jukebox next song advance (missing hook) 2007-10-28 16:52:22 +00:00
zicodxx 7e7ffe67cf DXX-Rebirth release v0.53 2007-10-22 12:07:02 +00:00
zicodxx 9577e61339 Small fixes; Code cleanup; Implemented PR-Screenshot feature 2007-10-18 14:44:02 +00:00
zicodxx dd279061fe Fixed define mistake in PHYSFSX_init 2007-10-15 16:24:30 +00:00
zicodxx 6923527b1a Removed -userdir switches from command-line and INI since it's not available anymore 2007-10-15 13:36:46 +00:00
zicodxx 7b75361c61 Set defines for USE_SDLMIXER to fix issues while compiling 2007-10-15 13:26:45 +00:00
zicodxx 567af2ae9a Reworked Pause-screen 2007-10-14 16:25:55 +00:00
zicodxx b334ff5b97 Set SOUND_BUFFER_SIZE for SDL_mixer to 1024 to minimize delay; Removed MIDI-existance check and store all music to Music/ subdirectory of writedir - keeps clean if user has tons of levels; Added SDL_mixer command-line help output; Reworked PHYSFSX_init and removed SysUserDir so we can finally read args without a hassle; Stored MAXIMUM_FPS in game.h - where it belongs to 2007-10-13 23:52:17 +00:00
md2211 69492c702f Big args code refactoring, fixed issue with userdir d2x.ini, and a few other small things 2007-10-12 20:09:26 +00:00
zicodxx 6584e989a0 Fixed some command-line options 2007-10-12 19:36:16 +00:00
zicodxx 81760cfc9e Increased Rear_view_leave_time to 0x4000 2007-10-12 14:25:58 +00:00
zicodxx 95533db358 Fixed some command-line options 2007-10-12 14:21:21 +00:00
zicodxx 487d3c55a9 Fixed port deformation while sending handshake 2007-10-12 14:02:34 +00:00