Debian Codegraph @

d2x-rebirth/CHANGELOG.txt

raw
1 D2X-Rebirth Changelog
2
3 20130611
4 --------
5 main/titles.c: Fixed briefing_screens array for Descent 1 Shareware
6 main/mission.c: Don't try to free Current_mission->alternate_ham_file if not allocated
7 main/menu.c: Changed message regarding VSync and Multisampling indicating not all OSes need a restart to apply (mysteries of SDL)
8 main/gamecntl.c: Fixed case where it wasn't possible to switch to view of a player > X if player X was missing
9 main/laser.c: Consider FrameTime overhead when calculating time to allow next weapon fire. Should work perfectly as long as FPS >= Shots-per-second. Also set Omega firing rate to 20 shots per second for both single- and multiplayer
10
11 20130610
12 --------
13 misc/hmp.c: Made hmp code actually read tempo. Due to missing documentation of the format I can only guess it's a 4 bit int
14 main/piggy.c: re-init digi system after re-setting sample rate for shareware
15 main/gameseq.c: Removed call of digi_stop_digi_sounds() from DoPlayerDead(). Since it was killing persistent sounds which were only started once a level it would forever mute fans, waterfalls, etc.. Also closing Game_wind kills all sounds anyways so there is no point doing it on player death
16
17 20130422
18 --------
19 main/net_udp.c: In restricted game mode check for player callsign and sockaddr at the same time; Clear Netgame struct each time player enters a new IP in manual join menu
20 arch/sdl/rbaudio.c: Added a lot of status messages for RBA code shown with -verbose, hopefully making it easier for users to track down problems and made all RBA messages start with RBAudio prefix
21
22 20130418
23 --------
24 main/lighting.c, main/render.c: Removed light_frame_count due to being unnecessary since lighting is now time-based and messed up deletion of dynamic light
25 main/render.c: Due to additive blending, transparent sprites will become invivible in font of white surfaces (lamps). Fix that with a little desaturation
26 main/net_udp.h: Made UPID_GAME_INFO_SIZE, UPID_GAME_INFO_LITE_SIZE and UPID_SEQUENCE_SIZE change if NETGAME_NAME_LEN, MISSION_NAME_LEN or CALLSIGN_LEN changes
27
28 20130408
29 --------
30 main/gamecntl.c, main/gamerend.c, main/gauges.c, main/gauges.h: Added 4th alternative HUD mode for no HUD rendering, aka Immersion mode
31 main/menu.c, main/playsave.c, main/playsave.h, main/weapons.c: Added option to ignore cycling weapons that are not on autoselect list
32
33 20130407
34 --------
35 d2x-rebirth.xcodeproj/project.pbxproj: Updated Xcode project
36
37 20130406
38 --------
39 .gitignore: Added .gitignore
40
41 20130122
42 --------
43 d1x-rebirth.xcodeproj/project.pbxproj, editor/ehostage.c, main/custom.c: Updated Xcode project, changed references to error.h to dxxerror.h, since it was renamed
44
45 20130405
46 --------
47 SConstruct: For the assembler build, make sure platform_settings is accessed from self, likely preventing a compiling error
48 SConstruct: Changes towards building using SCons on Mac OS X
49
50 20130117
51 --------
52 main/render.c: Fix click-selection in the editor for OpenGL implementations that insist on point blending
53
54 20130112
55 --------
56 arch/carbon/conf.h: Use new D1XMAJORi / D1XMINORi / D1XMICROi version constants for Mac
57 main/inferno.h, main/mission.c, main/mission.h: Increased the maximum number of levels and secret levels per mission to 127 each, using MALLOC'd arrays; defined 'd_fname' type (mainly for my pointers to arrays of 13 character filenames, but could be convenient elsewhere)
58 arch/carbon/messagebox.c, arch/win32/messagebox.c: If there's a messagebox to show on exit, and we *were* in fullscreen, don't try to toggle fullscreen and crash
59
60 20130108
61 --------
62 main/gamerend.c, main/multi.c, net_udp.c: Fixed some minor HUD-text related issues: For team assignment messages, joining player name would appear; team color assignment in netgame info screen could be wrong due to wrong syntax handling; when rewrapping text messages to specific player, game would not add space behind colon
63 main/kmatrix.c: Defer free of kmatrix data until window is fully gone - patch by Kp
64 main/inferno.c: Disable fullscreen toggling via ALT+ENTER if Game_wind is on top so toggling cannot be done accidentially ingame
65 arch/sdl/mouse.c, d2x.ini, include/args.h, main/inferno.c, misc/args.c: Added option to hide mouse cursor (without disabling the mouse completely)
66 SConstruct: Patch by A Future Pilot to hopefully fix bug which prevented building source within MinGW if Visual Studio installed
67 main/ai2.c: Corrected ai_fire_laser_at_player() syntax where boss should not fire when Boss_dying_start_time != 0 and boss flag is set - patch by derhass
68 arch/ogl/ogl.c: Changed additive color blending func to GL_ONE, GL_ONE - patch by derhass
69
70 20130103
71 --------
72 main/net_udp.c: Centralized UDP Broadcast function for IPv4 and IPv6 calls - patch by Kp
73 editor/med.c: Deleted unnecessary drop-to-shell feature; commented out unused ReadLispMacro - patches by Kp
74 2d/font.c, include/ogl_init.h: Moved pow2ize declaration to ogl_init.h - patch by Kp
75 main/bmread.c, main/piggy.c, main/piggy.h: Moved remove_char declaration to piggy.h - patch by Kp
76 main/multi.h, main/net_udp.c: Moved multi_* declarations to multi.h - patch by Kp
77 maths/rand.c: Included maths.h in rand.c to get d_rand prototype - patch by Kp
78 arch/include/joy.h, arch/sdl/event.c, arch/sdl/joy.c: Moved joy_*_handler declarations to joy.h - patch by Kp
79 editor/group.c, editor/medwall.c, editor/segment.c, main/gameseg.h, main/wall.h: Declared wall_close_door_num in wall.h; Declared validate_segment_side in gameseg.h - patches by Kp
80 include/3d.h, main/gameseq.h, main/weapon.h: Removed redundant/obsolete declarations - patch by Kp
81 main/kconfig.h: Moved large control_info arrays to end - patch by Kp
82 main/switch.c: Avoid -Wformat-nonliteral for trigger message; Reflect plurality in light trigger messages - patches by Kp
83 medrobot.c: medrobot: avoid needless name copy - patch by Kp
84 editor/centers.c, main/gamecntl.c, main/gamerend.c: Fixed argument specifier mismatches flagged by -Wformat - patch by Kp
85 arch/ogl/gr.c, main/game.c: Moved screenshot message formating to HUD_init_message - patch by Kp (and me for non-OGL code ;))
86 main/automap.c, main/credits.c, main/gamerend.c, main/gauges.c, main/hud.c, main/kmatrix.c, main/menu.c, main/newmenu.c, main/scores.c: Converted gr_printf to gr_string where needed - patch by Kp
87 editor/medrobot.c, main/endlevel.c, main/fireball.c, main/gamecntl.c, main/hostage.c, main/multi.c, main/newdemo.c, main/powerup.c, main/wall.c, main/weapon.c, ui/file.c: Added dummy "%s" to prevent formatting untrusted literals - patch by Kp
88 main/hud.c: Removed obsolete HUD cleaning code - patch by Kp
89 editor/info.c: Use proper width in format specifier - patch by Kp
90
91 20121102
92 --------
93 arch/include/key.h, arch/sdl/key.c, main/kconfig.c: Made key_properties readable in other files; Eliminated key_text variable; Marked unicode_frame_buffer as extern in header - patches by Kp
94 arch/ogl/gr.c, arch/ogl/ogl.c, include/gr.h: Removed 'new' from prototypes; Declared ogl_do_palfx(), ogl_close_pixel_buffers(), ogl_init_pixel_buffers() in gr.h - patches by Kp
95 include/maths.h, include/texmap.h, include/ui.h, main/object.c, maths/fixc.c, maths/tables.c, texmap/ntmap.c, ui/dialog.c, ui/icon.c: Moved ui_draw_frame(), ui_draw_shad(), draw_tmap_flat(), math tables externs to headers - patches by Kp
96 3d/clipper.c, 3d/draw.c, editor/meddraw.c, include/3d.h, main/automap.c, main/render.c: in g3s_codes renamed or,and to uor,uand - patch by Kp
97 main/object.h: use struct type explicitly - patch by Kp
98 include/error.h: Renamed __format to __attribute_gcc_format due to possible C++ conflict; allow arguments - patch by Kp
99 include/console.h, main/console.c: Marked con_printf fmt as const, Increased console lines from 512 to 2048; Marked console private entries as static - patches by Kp
100 2d/font.c: Fixed test for font magic number; Consolidated grs_font_read() - patches by Kp
101 main/menu.c, main/multi.h, main/net_udp.c: Moved vers_id.h inclusion to where it is needed - patch by Kp
102 2d/bitmap.c: Include bitmap.h - patch by Kp
103 2d/bitblt.c, include/rle.h: Move declaration of gr_rle_expand_scanline_generic() to rle.h - patch by Kp
104
105 20121031
106 --------
107 main/hostage.h, include/u_mem.h: Fixed inconsistency in hostage_rescue() definition and revoked recent patch for u_mem.h due to infinite loops in mem.c caused by this
108
109 20120903
110 --------
111 arch/sdl/jukebox.c, main/gauges.c: Avoid some unnecessary strlen's - (slightly changed) patch by Kp
112 misc/args.c: Made FindArg static - patch by Kp
113
114 20120902
115 --------
116 include/u_mem.h: Compile out memory checker if not enabled - patch by Kp
117
118 20120901
119 --------
120 main/vers_id.h: Fixed incorrect patch merge introduced in the last commit
121 main/laser.h, main/object.c, main/object.h, main/powerup.h: Use enum for object types, powerup types, weapon types
122
123 20120728
124 --------
125 SConstruct, main/vers_id.h: Some Sconstruct lovin': Respect LDFLAGS; Made D2XMAJORi/MINORi/MICROi compile time constants; Do not pass CFLAGS to CXX; Mark some more warnings as errors - patches by Kp
126
127 20120724
128 --------
129 English.lproj/InfoPlist.strings, d2x-Info.plist, d2xgl-Info.plist: Increment version number for Mac files (should have committed this ages ago)
130 main/bm.c, main/bmread.c: If bitmaps.tbl happens to be available, don't try and re-make the pig if EDITOR is defined because it would cause problems
131 main/collide.c, ui/gadget.c, ui/radio.c: Fix warnings (no checking ubyte 'id' is < 0, include d_strdup prototype for radio.c and make sure that 'text' gets freed)
132 main/polyobj.c: Don't draw objects with a modelnum of -1, improving stability when a third party mission is played with shareware data
133
134 20120723
135 --------
136 2d/font.c, 2d/pcx.c, 3d/points.c, arch/include/jukebox.h, arch/sdl/jukebox.c, iff/iff.c, include/3d.h, include/error.h, include/gr.h, include/iff.h, include/pcx.h, include/physfsx.h, include/vecmat.h, main/ai.c, main/ai.h, main/ai2.c, main/automap.c, main/config.c, main/dumpmine.c, main/endlevel.c, main/escort.c, main/gamefont.c, main/gamerend.c, main/gamesave.c, main/gamesave.h, main/gauges.c, main/gauges.h, main/kconfig.c, main/kconfig.h, main/menu.c, main/multi.c, main/multi.h, main/newdemo.c, main/newmenu.c, main/newmenu.h, maths/vecmat.c, misc/error.c, misc/physfsx.c: Redefined lotsa variables, functions and parameters as const and/or static - patch by Kp
137
138 20120618
139 --------
140 main/gamerend.c, main/multi.c: removed temp_string buffer for ingame message inputs preventing the string from being messed up if containing special characters
141 main/game.c, main/multi.h: cleanup for netgame help menu and incremented multi proto vwersion due to recent code changes (d1x mostly however)
142
143 20120610
144 --------
145 main/automap.c, main/automap.h, main/multi.c, main/multi.h, main/net_udp.c, main/state.c: removed MarkerOwner; some code cleaning in that regard
146 arch/sdl/digi_mixer_music.c, arch/sdl/jukebox.c, main/songs.c, main/songs.h: added songs_play_file() to play any song depending on filename-extension as a more streamlined approach to handle all different kinds of formats; also used for jukebox to make it independent from SDL_mixer; cleaned up supported filename extenstions
147
148 20120608
149 --------
150 main/multi.c, main/object.c: cleanly decide it to drop a hoard orb depending on wether we were killed by ourselves, en enemy or team-mate without any ugly and unreliable hacks
151 main/kconfig.c: Switching keyboard sensitivity function from variable increase to variable offset, making the ship more responsive in higher settings
152 math/vecmat.c: in vms_matrix_from_quaternion put the definition of tmp1 and tmp2 variables at the beginning of the functions because i was a baaaad boy
153 main/multi.c: do not write player file each time lifetime stats change to prevent hickups on killing
154
155 20120601
156 --------
157 main/kconfig.c, main/kconfig.h, main/menu.c, main/playsave.c, main/playsave.h: Introduced sensitivity sliders for keyboard which cause movement increase the longer the designated key is pressed
158 main/gauges.c, main/menu.c, main/net_udp.c, main/songs.c, misc/physfsx.c: use size of output buffer for snprintf; on the way changed rebirth-specific song file to dxx-r.sng to respect hog 8+3 file convention
159 editor/med.c, misc/physfsx.c: changed extension for archive (addon) content from zip to dxa - still a zip-file but renamed to not accidentially add user generated backups and possibly mess things up
160
161 20120527
162 --------
163 editor/med.c, main/game.c, main/gamecntl.c, main/gamerend.c, main/gauges.c, main/kconfig.c, main/menu.c, main/screens.h: Removed remnants of the old and obsolete VR implementation
164 main/laser.c: removed weapon_rate_scale() which should be obsolete due to other optimizations in network code; Removed Laser_offset hack
165
166 20120526
167 --------
168 main/collide.c: Fit player/player collisions to not take damage from bump while remote player has possibly not aligned to the collision, yet; Added FORCE_DAMAGE_THRESHOLD for minimum force damage to receive from object bumps to not simply take damage from touching objects
169 main/net_udp.c: Fixed one more copy/paste issue causeing positional updates relayed to possibly disconnected players
170 include/vecmat.h, main/gameseg.c, main/multi.h, main/net_udp.c, main/net_udp.h, main/object.h, maths/vecmat.c: Optimization for quaternion structure: Stuffed orientation in shorts and removed figure out segnum by position - saving 10 bytes for each positional update in Multiplayer; Also removed render_type from pdata to save yet another byte
171 main/titles.c: fixed possible buffer overflow in load_screen_text()
172
173 20120525
174 --------
175 main/cntrlcen.c, main/game.c, main/switch.c: Cancel out do_controlcen_dead_frame() when not playing and only check triggers for playing players for further host-authority stuff; Made GameProcessFrame not cause endless loop by closing kmatrix over and over again due to game_leave_menus(); Also only close menus when level ends and when we die only the automap will close - otherwise menus can stay (user request)
176
177 20120524
178 --------
179 main/gameseq.c, main/gameseq.h: in StartLevel() only call disable_matcens() and clear_transient_objects() in Singleplayer to keep consistency with remote clients
180
181 20120521
182 --------
183 main/state.c: now properly initialize all other parts of the new/old player object when restoring a coop savestate
184 include/vecmat.h, main/gameseg.c, main/multi.c, main/multi.h, main/net_udp.c, main/net_udp.h, main/object.h, main/playsave.c, maths/vecmat.c: Introduced quaternion functions to replace vector matrix where size matters - created by Florian Feucht; Added option for pdata packets based on quaternion in Multiplayer game; Removed PF_LEVELLING from new player objects to prevent jittering in player banking
185
186 20120519
187 --------
188 arch/ogl/gr.c, arch/sdl/digi_mixer_music.c, arch/sdl/jukebox.c, editor/autosave.c, editor/func.c, include/strutil.h, main/bmread.c, main/gamecntl.c, main/gamepal.c, main/gamesave.c, main/hud.c, main/menu.c, main/mission.c, main/multi.c, main/net_udp.c, main/newmenu.c, main/piggy.c, main/playsave.c, main/scores.c, main/songs.c, main/titles.c, misc/args.c, misc/hash.c, misc/physfsx.c, misc/strutil.c, texmap/scanline.c, ui/file.c: using our own functions for stricmp, strnicmp, strlwr, strupr, strrev with a d_ prefix for all platforms for consistency
189 editor/kmine.c, editor/mine.c, include/strutil.h, include/u_mem.h, main/bmread.c, main/gamepal.c, main/gamesave.c, main/piggy.c, mem/mem.c, misc/parsarg.c, misc/strutil.c: using our own functions for strdup and _splitpath with the d_ prefix for all platforms for consistency
190 main/movie.c: solved some potential buffer overflows when initializing movie names
191
192 20120518
193 --------
194 main/state.c: fixed incorrect canvase for opengl-scaled savestate thumbnail; rebuild free objects after restoring and remapping the coop players
195
196 20120516
197 --------
198 main/game.c: In Multiplayer when taking damage, the game will only leave menus when shield drop below 5
199 main/net_udp.c: when updating game info also check for player connected status in case we send to everyone
200 main/gamecntl.c, main/object.c: allow PAUSE key during death sequence to pause or view multiplayer game stats; Also reset hostages_on_board when ship blows up so pause menu during death sequence will show 0 hostages soon as the ship explodes; fixed crash for slew_init by removing old numlock hack
201
202 20120515
203 --------
204 main/net_udp.c: Do not send endlevel packets to disconnected (but still saved) clients; Do not allow ports below 1024; More verbosity for udp_open_socket()
205
206 20120514
207 --------
208 2d/disc.c, SConstruct, editor/medmisc.c, include/gr.h, include/internal.h, main/gauges.c, main/menu.c, main/net_udp.c, main/playsave.c, main/state.c, misc/hmp.c, misc/physfsx.c: Fixed some non-critical compiler warnings; Now compiling with -std=c99 -pedantic and fixed warnings (except for editor build) caused by this
209 2d/bitblt.c, 2d/pixel.c, arch/sdl/digi_mixer.c, main/gauges.c, main/menu.c: Made inline functions static
210 include/gr.h, main/ai.c, main/ai2.c, main/aipath.c, main/automap.c, main/cntrlcen.c, main/escort.c, main/fuelcen.c, main/game.c, main/game.h, main/gamecntl.c, main/gamerend.c, main/gamesave.c, main/laser.c, main/mglobal.c, main/object.c, main/object.h, main/render.c, main/texmerge.c, main/wall.c, main/weapon.c: Renamed FixedStepCalc() to cald_d_tick() and FixedStep became d_tick_step; Also ther eonly is a 50ms-timer used to d_tick_step as it was the only one used so far; Replaced FrameCount with d_tick_count which only increments by 50ms-timer used in calc_d_tick() - that now scales timed actions for certain functions properly and makes AI work FPS-independent without any hacks in that regard
211 main/multi.c: During kmatrix bring up Game_wind againso the host can still follow the game - becomes necessary later with host-authority functions
212
213 20120510
214 --------
215 main/multi.h, main/state.c: Reuse pre-defined player objects when loading coop savestate to revent messup when player amount or orders change in a certain way
216 main/menu.c, main/playsave.c, main/playsave.h, main/weapon.c: Wrote seperate function for weapon autocycling that also cycles through non-autoselect weapons and properly respects super laser; Added option to not autoselect weapon when firing; On the way, smoothed the menu text in misc menu a bit
217 net_udp.h: Reduced timeout from 10 to 5 seconds
218 RELEASE-NOTES.txt, SConstruct, arch/carbon/conf.h, main/multi.h: Incremented version to 0.57.3; Added Release notes
219
220 20120509
221 --------
222 main/laser.c, main/multi.h: Added more versatility in picking targets for the creation of smart blobs - especially for Multiplayer; cleaned that code a bit; made dodging of homing projectiles a little easier
223
224 20120430
225 --------
226 main/net_udp.c: fixed copy/paste mistake
227
228 20120427
229 --------
230 main/multi.c, main/multi.h: Similar to Network_new_game introduced imulti_new_game to exclusivly use in multi.c to execute stuff in new level only when starting a new game - for example resetting player ship inventory which is not supposed to happen on each level
231
232 20120424
233 --------
234 main/gauges.c: little reorganization for draw_hud(): draw multiplayer names first, reticle last to prevent anything being drawn over by floating names and reticle not messed by anything else
235
236 20120423
237 --------
238 main/multi.c, main/multi.h, main/net_udp.c: fixed improper player disconnecting which might have been caused by endlevel packet
239
240 20120422
241 --------
242 main/automap.c: Change MarkerScale changing keys from KEY_COMMA and KEY_PERIOD to KEY_F11 and KEY_F12 respectively, so I can use the former as controls in the automap
243
244 20120418
245 --------
246 main/gameseq.c, main/gameseq.h, main/gauges.c, main/multi.c, main/net_udp.c, main/state.c: Removed usage of 'oldmaxnet' variable when switching between coop and other game modes which would not be correctly set when coop mode is loaded from a netgame profile; Removed 'MaxNumNetPlayers' variable as already replaced by Netgame.max_numplayers
247
248 20120417
249 --------
250 main/game.c: Make sure Cursegp is initialised if using it to set an object when loading a game (EDITOR build). Thought I already committed this
251 main/gameseq.c: Finish the game cleanly, closing Game_wind, if Current_level_num is 0
252 editor/med.c: Reset the player object for the editor, since demo playback mucks it up
253 main/render.c: Skip rendering of OBJ_NONE objects to avoid a failed Assert (can happen when playing a demo then going to the editor)
254 main/newdemo.c: Set object lifeleft to IMMORTAL_TIME if the byte read in demo playback is -1. This allows the objects to stay when playing a demo, going to the editor then playing the game from the editor
255 main/newdemo.c: Call free_mission() if a demo is corrupt, so the editor doesn't load a corrupt level
256 editor/group.c, editor/kgame.c, editor/khelp.c, editor/kmine.c, editor/macro.c, editor/med.c, editor/medwall.c, editor/mine.c, include/ui.h, ui/file.c, ui/keypad.c, ui/menubar.c, ui/message.c: Rename MessageBox to ui_messagebox to avoid a conflict with Windows' MessageBox
257 main/newdemo.c, main/object.c, main/object.h: Call new obj_relink_all after playing a demo, so the editor is (hopefully) never faced with poorly linked objects and hence crashes
258 editor/eglobal.c, editor/med.c, main/gamesave.c, main/menu.c, main/mission.c, main/mission.h: Make a new mission when making a new mine to avoid a crash when testing it straight from the editor and winning, only create a new mine if a mission isn't loaded, init Cursegp to NULL, remove key command for ToggleDrawAllSegments since add segment now has ctrl-A
259
260 20120416
261 --------
262 main/gameseq.c, main/multi.c, main/multi.h: fixed two bugs caused by recent Multiplayer cleanup: Set more player-death-related veriables outside of dead_player_end() when creating new ship as not covered in subfunction is Palyer_is_dead is not true; also init my own inventory properly in multi_prep_level to get our inventory straight after receiving netgame information
263 editor/data/med.mnu, editor/med.c, editor/medmisc.c, main/slew.c, ui/ui.c: Make movement in the editor's game screen use the player controls, make that movement more like the automap and resolve some likely conflicting key commands
264 editor/centers.c, editor/eswitch.c, editor/med.c, editor/medrobot.c, editor/medwall.c, main/game.c, main/gameseq.c: Avoid crashes when clicking on close box with a center, switch, object or wall editing dialog open; also when playing a level, going to the editor, going back to the game then dying
265
266 20120415
267 --------
268 main/multi.c, main/multi.h, main/net_udp.c: When possibly sending player positions prior to firing, do that before messing multibuf; Added more strict sanity checks for outgoing and incoming multi packets; Moved some general game stuff from net_udp_init() to multi_new_game()
269 editor/meddraw.c: Set edge_list_size to Num_segments*12 to avoid crashes in the editor with certain third party levels
270 2d/gpixel.c, arch/ogl/gr.c, editor/meddraw.c, include/ogl_init.h, main/multi.c, main/render.c: Clicking on mine elements in the editor now works in ogl
271 editor/centers.c: Create a centers dialog that won't crash
272 main/bmread.c, main/game.c, main/gameseq.c, main/gameseq.h, main/gauges.c, main/kmatrix.c, main/multi.c, main/multi.h, main/net_udp.c, main/state.c: Further Multiplayer cleanup: moved gobal variable resets from multi_new_game() to proper function calls; added pnum variable to init_player_stats_game() and init_player_stats_new_ship() so these can be set for each player when starting match; added multi_new_level() calls when setting up game as well when trying to join game; cleaned multi_reset_stuff() from variable resetting that happen in general game code; when being dumped from game, made sure no packets are sent during messagebox dispaly; replaced MAX_NUM_NET_PLAYERS by MAX_PLAYERS as it's the same definition
273 misc/hmp.c: Addition for last change in hmp_reset(): execute midiOutShortMsg() even if midiOutPrepareHeader() fails as not related to SysEx part
274 2d/bitblt.c, main/render.c: Fixed set but unused variables in OGL build
275
276 20120414
277 --------
278 main/gamesave.c: Fix crash when loading a level in the editor
279 editor/segment.c, include/editor/editor.h, main/gamesave.c: Set Gamesave_current_version to correct version when making a new mine, move create_new_mine to gamesave.c
280 main/dumpmine.c: Only do an Int3 in write_game_text_file when PHYSFS_close returns 0, which is an error, not when it returns 1
281 editor/med.c, main/game.c, main/gamecntl.c: Delete-E while playing a level now works properly - it closes Game_wind and sets Cursegp if necessary when going to the editor
282 main/ai2.c: Fix crash when playing a level straight from the editor (check if Current_mission has actually been loaded, like the other ex-crash)
283 editor/med.c, main/dumpmine.c, main/gamecntl.c, ui/ui.c: Fix bugs switching between game and editor and back: make sure ModeFlag is set to 0 before it has any chance to show an alert message, fixing a crash; allow OBJ_NONE in Assert; make Game_wind invisible when loading editor in case we show an alert; call mouse_flush() in ui_init() to fix mouse issues
284 editor/med.c, main/gamesave.c: Set the correct palette for the editor
285 editor/meddraw.c: Set the correct edge colors for editor wireframe drawing (in LargeView)
286
287 20120412
288 --------
289 main/collide.c, main/gameseq.c, main/multi.c, main/multi.h, main/net_udp.c: Fixed some Multiplayer bugs: Reactor invulnerable time did not checked for hours spent in level so reactor would become invulnerable again after 60 minutes; Fixed the fix (heh) for misordered explode/reappear packets; Reset Player_eggs_dropped when initializing new ship so eggs are properly dropped when player disconnects two times without respawning; Cleaned player disconnecting a little bit and made code more straightforward
290 main/menu.c, misc/hmp.c: Removed redundant call of songs_stop_all() when starting credits; Added failsafe for loop in case MHDR_DONE flag is not properly set by MIDI device; Added more verbosity for hmp_reset()
291
292 20120411
293 --------
294 editor/medrobot.c, ui/file.c, ui/inputbox.c, ui/keypress.c, ui/listbox.c, ui/message.c, ui/uidraw.c: Draw the object rotation velocity, file browser and MessageBox dialogs properly
295 ui/file.c: Fix a crash when going into a directory with no files in the editor file browser, clicking on listboxes for same sets inputbox correctly
296
297 20120409
298 --------
299 main/state.c: in software rendering scale savestate thumbnail to correct size
300 editor/autosave.c, editor/info.c, editor/med.c, editor/objpage.c, editor/texpage.c, include/ui.h, ui/keypad.c, ui/uidraw.c: Get the clock, 'keypad' info, texture choosing page and object choosing page to draw (latter two just show black squares for ogl)
301 arch/sdl/window.c, ui/menubar.c: Fix a nasty bug where pressing 'Alt' to explore the editor menubar would split the window stack in two, rendering the editor unresponsive
302 2d/bitblt.c, 2d/box.c, 2d/font.c, arch/ogl/gr.c, editor/med.c, ui/dialog.c, ui/uidraw.c, ui/userbox.c: Fix all remaining known editor drawing issues. In ogl: get the texture previews to draw, get userbox borders to draw in the right location, properly underline characters in the menus, draw all the borders properly (i.e. no gap), no scaling fonts. Software render: draw userbox borders again. Both: clear the whole status bar, clear to the right edge of the screen.
303 main/newmenu.c: No setting the screen mode when calling a newmenu function, so if it shows the 'Save Mine' messagebox in the editor, it won't change the screen resolution and trash everything. (If this causes problems, we can make it use the MessageBox if it's still in the editor, nm_messagebox otherwise)
304 2d/rect.c, editor/info.c, editor/med.c, include/ui.h, main/inferno.c, ui/dialog.c, ui/menubar.c: Editor exits cleanly when clicking the close box, no more redundant gr_uscanline call in gl_urect for ogl (an initial attempt to fix the previous bug)
305 2d/rect.c: Fix unused variable warning in last commit
306
307 20120408
308 --------
309 main/mission.c, main/mission.h, main/titles.c: added specification for Descent: Destination Saturn briefing screen to properly show briefings; added different briefing structure for Descent 1 Shareware which has a slightly different order of the usual briefings
310 main/collide.c: plasma fire can ignite bombs which are dropped while firing. to compensate added a timed check where at least one projectile must be older than 200ms to trigger a possible collision. this fixes this issue if the player is moving away from the bomb
311
312 20120407
313 --------
314 main/fireball.c: in choose_drop_segment let fallback correctly check for reactor segment
315 2d/font.c, main/piggy.c, misc/strutil.c: removed redundant definitions of FILENAME_LEN
316 main/multi.c, main/multi.h: fixed glitch when reappear and explode packets are misordered, rendering player invisible
317 main/gauges.c: record shields if player is invulnerable to get proper shield display in demo playback if player respawns with invulnerability on
318
319 20120405
320 --------
321 main/multi.c: variable declarations come first
322 include/maths.h, main/fvi.c, maths/fixc.c: Introduced fixmul64 returning fix64 type to use with check_point_to_face() and prevent fix overflow with very large faces; on the way cleaned up NO_FIX_INLINE remnants and replaced QLONG with fix64
323
324 20120331
325 --------
326 d2x-rebirth.xcodeproj/project.pbxproj, 2d/font.c: Make sure the ogl font code recognises the editor font is fixed width, fixing a crash; take the plunge and make D2X Rebirth compile with editor for Mac OpenGL build (won't work yet)
327 editor/med.c, editor/meddraw.c, editor/medmisc.c, include/editor/editor.h, main/render.c: Make all drawing in the editor single buffered, since the whole screen is double buffered. Fixes crash - but only shows a black screen and the menu for ogl
328 main/render.c: Complete previous change (whoops)
329 editor/med.c, editor/meddraw.c, editor/medmisc.c, ui/button.c, ui/checkbox.c, ui/dialog.c, ui/file.c, ui/icon.c, ui/inputbox.c, ui/listbox.c, ui/menubar.c, ui/radio.c, ui/scroll.c, ui/userbox.c: Make the main stuff (gadgets, two viewers) draw for the editor in ogl, still more tweaking required
330 ui/dialog.c: Use correct coordinates for dialog border (still doesn't draw fully)
331 editor/medmisc.c, ui/button.c, ui/checkbox.c, ui/icon.c, ui/inputbox.c, ui/listbox.c, ui/radio.c, ui/scroll.c, ui/userbox.c: Make the editor draw the same for the non-ogl build as the ogl build, since I just made it draw the grey background over everything in the last commit. If you want to see what it's *supposed* to look like, go to yesterday's commit :P
332
333 20120330
334 --------
335 2d/font.c: Make 2d/font.c more similar between d1x-rebirth and d2x-rebirth
336 arch/include/event.h: Changed declaration of event_get_idle_second() from int32_t to fix since Windows does not know it without pstypes.h. Included maths.h for this but should now work flawlessly on all platforms
337
338 20120329
339 --------
340 main/multi.c, main/multi.h, main/net_udp.c, main/net_udp.h: Immediately relay pdata packets from clients to others which should reduce artificial delay; allow sending of pdata packet when firing if enough time has passed since last update; only answer full game info requests 2 times per second and lite info 8 times per second
341 main/songs.c: Fixed Redbook playback which was not repeating the CD after finishing
342
343 20120328
344 --------
345 main/movie.c: Call all necessary MVE functions when initializing robot movies to prevent crashes if a robot movie is the first one the program plays
346 main/slew.c: Fix compile-time error when building without editor
347 arch/sdl/jukebox.c, main/songs.c: Allow .flac to be a filename extension for sng file and jukebox
348 main/state.c: properly disable cheats when loading a saved game so only cheats that were stored are re-enabled
349 main/collide.c, main/physics.c: Fixed double wall-object-damage introduced 20111124 by applying more strict rules to wall-colliding and wall-scraping where latter now is player-exclusive
350 main/gamecntl.c: Fixed unhandled case in key reading when escort hotkeys are disabled
351 main/net_udp.c: Since the kicked message is shown after player is technically removed from the game we do not know hosts name anymore. Message changed accordingly
352 main/multi.c, main/multi.h, main/newdemo.c, main/player.h: Allow a total of 32 different player ship textures and stored N_PLAYER_SHIP_TEXTURES in player.h
353 main/config.c: Dynamically allocate line to read from descent.cfg and ensure a safe length
354 main/weapon.c: Release Fusion charge when changing to another weapon similar to D1X-Rebirth
355
356 20120324
357 --------
358 arch/ogl/gr.c, arch/sdl/gr.c, ui/menubar.c: Draw the editor menubar properly - by drawing in response to EVENT_WINDOW_DRAW and initialising the screen canvas properly. The latter fixes a lot of other editor drawing issues as well
359 2d/bitmap.c, arch/include/window.h, arch/sdl/gr.c, arch/sdl/window.c, include/gr.h: Update the canvas data pointers for all windows after changing the screen mode, so the main menu draws properly after leaving the editor
360 arch/include/event.h, editor/centers.c, editor/eswitch.c, editor/med.c, editor/meddraw.c, editor/medrobot.c, editor/medwall.c, ui/dialog.c: Draw in response to EVENT_UI_DIALOG_DRAW, uncomment medlisp_update_screen call. You can now see what you're doing!
361 ui/gadget.c: Fix bug where pad buttons would disappear when clicking on them, after opening then closing a dialog
362
363 20120319
364 --------
365 editor/med.c, include/editor/editor.h, include/ui.h, main/gamecntl.c, main/gameseq.c, main/inferno.c, main/menu.c: The editor now falls back to the main event loop in inferno.c, File->Exit now works as intended and get closer to making the editor and game work together
366 editor/med.c, main/endlevel.c, main/gamecntl.c, main/gamesave.c, main/inferno.c, main/inferno.h, main/menu.c, main/powerup.c, main/render.c, main/slew.c: Remove all remaining uses of Function_mode, checking for the existence of EditorWindow where necessary instead
367
368 20120318
369 --------
370 editor/med.c, editor/texpage.c, include/editor/editor.h, main/game.c: Do a bit of a tidy up for the editor, dump code from editor() within the loop into new editor_handler()
371 editor/info.c, editor/med.c, editor/medmisc.c, editor/objpage.c, editor/texpage.c, include/editor/objpage.h, include/editor/texpage.h, include/ui.h, ui/userbox.c: Make editor_handler into a proper callback, iron some problems out. Seems to draw a different bunch of stuff now (still erroneous)
372 SConstruct, arch/include/event.h, arch/include/mouse.h, arch/sdl/event.c, d1x-rebirth.xcodeproj/project.pbxproj, editor/info.c, editor/macro.c, editor/med.c, editor/meddraw.c, editor/medmisc.c, include/ui.h, ui/button.c, ui/checkbox.c, ui/dialog.c, ui/file.c, ui/icon.c, ui/inputbox.c, ui/listbox.c, ui/menubar.c, ui/mouse.c, ui/radio.c, ui/scroll.c, ui/ui.c, ui/userbox.c: Remove redundant ui_event_process and duplicate mouse.c in ui/. All editor input is now event-based.
373
374 20120317
375 --------
376 editor/eswitch, editor/med.c: Make do_trigger_window into a proper callback
377 editor/med.c, editor/medrobot.c: Make do_robot_window and do_object_window into proper callbacks, doing both in the same commit because of global recycling
378 editor/med.c, editor/medwall.c: Make do_wall_window into a proper callback. Only one dialog left - the main one.
379
380 20120312
381 --------
382 editor/centers.c, editor/med.c, ui/dialog.c, ui/file.c, ui/gadget.c, ui/radio.c: Make do_centers_window into a proper callback, iron out some problems that have become apparent
383
384 20120305
385 --------
386 include/ui.h, ui/file.c, ui/gadget.c, ui/keypress.c, ui/listbox.c, ui/menu.c, ui/message.c, ui/popup.c: Use the gadget-sent events in the dialogs in ui
387
388 20120303
389 --------
390 d2x-Info.plist, d2xgl-Info.plist, English.lproj/InfoPlist.strings, RELEASE-NOTES.txt: Increment version to 0.57.2 for Mac and RELEASE-NOTES
391 d2x-rebirth.xcodeproj/project.pbxproj, editor/data/, editor/data/curve.pad, editor/data/dummy.pad, editor/data/group.pad, editor/data/lighting.pad, editor/data/med.mnu, editor/data/newobj.pad, editor/data/object.pad, editor/data/objmov.pad, editor/data/pc6x8.fnt, editor/data/pc8x16.fnt, editor/data/segmove.pad, editor/data/segsize.pad, editor/data/test.pad, editor/data/texture.pad, editor/med.c, include/physfsx.h, misc/physfsx.c, ui/ui.c: Actually add editor data files and make sure DXX can find them
392 arch/include/event.h, editor/med.c, include/ui.h, ui/button.c, ui/checkbox.c, ui/dialog.c, ui/gadget.c, ui/icon.c, ui/inputbox.c, ui/listbox.c, ui/radio.c, ui/scroll.c, ui/ui.c, ui/userbox.c: All gadgets now send events
393
394 20120109
395 --------
396 ui/popup.c: Give the last use of a dialog in ui, in PopupMenu, a callback
397
398 20120103
399 --------
400 ui/keypress.c: Give the dialog in (presently unused) GetKeyCode a callback
401 ui/menu.c: Give the dialog in (also presently unused) MenuX a callback
402 ui/message.c: Give the dialog in MessageBoxN a callback
403
404 20120102
405 --------
406 ui/dialog.c, ui/file.c: Give ui_get_filename a callback for its dialog. Happy new year!
407
408 20111231
409 --------
410 editor/med.c, include/ui.h, ui/menu.c, ui/menubar.c, ui/popup.c: Make editor menubar and associated menus into windows; either remove or make event-based all the B1_* macros
411
412 20111218
413 --------
414 include/ui.h, ui/dialog.c, ui/gadget.c, ui/keypad.c: Remove redundant canvas, next and prev members in the UI_DIALOG struct
415
416 20111127
417 --------
418 arch/sdl/event.c: break out of loop in event_send() in case window_send_event() closed the window to prevent invalid read on memory
419
420 20111124
421 --------
422 main/collide.c, main/collide.h, main/fireball.c, main/game.c: Smoothed disabling of friendly fire to re-enable splash damage possible when friendly fire is disabled
423 main/physics.c: calling scrape_object_on_wall in each case of HIT_WALL more reliable to properly do hazard surface damage and prevent weapon objects from possibly sliding against walls
424
425 20111114
426 --------
427 ui/userbox.c: Make ui_userbox_do fully event-responsive
428 main/newmenu.c: Sliders can now be operated with Numpad arrows if numlock if off
429
430 20111112
431 --------
432 ui/gadget.c, ui/scroll.c: Make ui_scroll_do fully event-responsive, make sure scrolling actually works by calling all controls' ui_*_do functions (like before)
433
434 20111106
435 --------
436 include/ui.h, ui/dialog.c, ui/listbox.c: Make ui_listbox_do fully event-responsive
437 ui/radio.c: Make ui_radio_do fully event-responsive
438
439 20111105
440 --------
441 include/ui.h, ui/button.c, ui/dialog.c, ui/gadget.c, ui/scroll.c, ui/userbox.c: Make B1_JUST_PRESSED event-based, leave ui_dialog_do_gadgets early if a key makes another gadget current, make ui_button_do fully event-responsive (but won't *send* events yet)
442 editor/med.c: Put back use of med_show_warning for Linux, but then clear it properly when leaving the editor
443 ui/checkbox.c: Make ui_checkbox_do fully event-responsive
444 ui/checkbox.c, ui/icon.c: Fix implicit function declaration in last commit, make ui_icon_do fully event-responsive
445 ui/inputbox.c: Say when the event was handled for ui_inputbox_do (was already event-responsive)
446
447 20111103
448 --------
449 main/net_udp.c, main/net_udp.h: Do not attempt to check for MULTI_PROTO_VERSION when requesting lite_info
450
451 20111102
452 --------
453 SConstruct, arch/carbon/conf.h, main/gameseq.c, main/inferno.c, main/inferno.h, main/menu.c, main/multi.h, main/net_udp.c, main/net_udp.h, main/vers_id.h: Introduced extra short based on MULTI_PROTO_VERSION for version-independent Multiplayer-compability-check; Changed version to 0.57.2 to make new version checking not cause problems with stable release 0.57.1; Removed old version_major/minor variables from netgame and player structures since DXX handles this independently; Cleaned up old version stuff and copyright messages
454
455 20111030
456 --------
457 arch/include/mouse.h, arch/sdl/mouse.c, ui/dialog.c: Return 1 (event handled) in ui_dialog_handler for mouse button events if the mouse was in the dialog
458
459 20111025
460 --------
461 include/ui.h, ui/button.c, ui/checkbox.c, ui/dialog.c, ui/gadget.c, ui/icon.c, ui/inputbox.c, ui/keytrap.c, ui/listbox.c, ui/radio.c, ui/scroll.c, ui/userbox.c: Pass the event to the individual gadgets' 'do' functions, fix compile warnings introduced in last commit
462
463 20111023
464 --------
465 include/ui.h, ui/dialog.c, ui/gadget.c: Pass the event to ui_dialog_do_gadgets and use it in that immediate function
466
467 20111009
468 --------
469 main/render.c: Initialise dyn_light using memset, fixing a warning
470 arch/include/event.h, arch/include/window.h, arch/sdl/event.c, arch/sdl/window.c, include/ui.h, ui/dialog.c, ui/file.c, ui/keypress.c, ui/menu.c, ui/message.c, ui/popup.c: Add support for 'modeless' windows - windows that will allow events to be passed on to the underlying window. Intended for the editor
471 main/net_udp.c: Fix comparison is always false warning
472 editor/centers.c, editor/ehostage.c, editor/eswitch.c, editor/info.c, editor/med.c, editor/medrobot.c, editor/medwall.c, ui/dialog.c, ui/file.c, ui/keypress.c, ui/menu.c, ui/message.c, ui/popup.c: Move calls to ui_dialog_do_gadgets to the dialog event handler, making sure ui_event_handler gets called beforehand
473
474 20110927
475 --------
476 2d/palette.c, RELEASE-NOTES.txt, editor/eobject.c, editor/group.c, editor/meddraw.c, editor/medrobot.c, editor/mine.c, editor/segment.c, editor/seguvs.c, iff/iff.c, libmve/decoder16.c, libmve/mveplay.c, main/ai2.c, main/aipath.c, main/bmread.c, main/cntrlcen.c, main/dumpmine.c, main/fvi.c, main/gamemine.c, main/gamesave.c, main/gameseq.c, main/gauges.c, main/movie.c, main/multi.c, main/newdemo.c, main/newmenu.c, main/piggy.c, main/polyobj.c, main/render.c, main/titles.c, texmap/ntmap.c, texmap/scanline.c, ui/button.c, ui/inputbox.c, ui/keypad.c, ui/keytrap.c, ui/popup.c, ui/scroll.c: Fixed set but unused variables
477
478 20110926
479 --------
480 main/collide.c, main/escort.c, main/laser.c, main/fireball.c, main/lighting.c: Code consistency checks by _Tyr_; Fixed set but unused variables
481 d2x-rebirth.desktop, SConstruct, misc/physfsx.c: Patches by Hans de Goede: Made the .desktop file follow the official specifications; Added explicit link to libmath for newer versions of binutils; Fixed crash using PhysFS 1.x in PHYSFSX_addArchiveContent()
482 main/kconfig.c, main/menu.c, main/playsave.c, main/playsave.h: Gave throttle it's own sensitivity and deadzone settings; Added patch by Hans de Goede to let Slide-On and Bank-On settings use invert settings from Slide- and Bank-axes
483 3d/interp.c, arch/ogl/ogl.c, main/bm.c, main/endlevel.c: Avoided variable array initializations which some compilers do not like; Also made sure declarations happen first inside (sub)functions; Fixed set but unused variables
484
485 20110925
486 --------
487 main/game.c: Fixed misuse of gr_bitblt_find_transparent_area() caused rear view to be shifted on some cockpits
488
489 20110924
490 --------
491 main/fvi.c, main/gameseg.c, main/object.c: Consistency check for segment number in find_vector_intersection() and obj_create(); Added more debug output for invalid segment numberin get_seg_masks()
492 main/cntrlcen.c, main/newdemo.c, main/switch.c, main/wall.c, main/wall.h: Reworked wall_toggle() to work with index for segnum instead of a pointer, hopefully making the consistency check less error prone
493
494 20110923
495 --------
496 main/state.c: When restoring Coop players and make turn them into ghosts perform a check if this player is actually a valid player so we do not just blindly use any object number from a possibly uninitialized player structure
497
498 20110921
499 --------
500 main/net_udp.c: Streamlined joining, rejoining, disconnecting players and timeouts, getting rid of unwanted rejoin messages and let host remove a player for good without rejoining it via pdata packet to really get rid of lossy or unwanted players; Care for rollover of pkt_num of stored mdata packets
501 main/game.c: Fixed overuse of multi_send_sound_function when handling afterburner in case player is dead or escaped
502 main/net_udp.c: Added wrapper functions dxx_sendto and dxx_recvfrom to collect simple statistics about amount and size of packets sent/received per second; Actually fixed packet scheduling in main UDP frame - was sending more than intended - stupid me
503
504 20110919
505 --------
506 main/multi.h, main/net_udp.c: Reworked Packet Loss Prevention: If an important packet could not be recovered until it timed out, dump player who failed sending/receiving it; Noloss queue can proces spackets until a certain traffic has been reached; In main UDP frame schedule different types of packets depending on PPS to decrease traffic produced in one frame, hopefully preventing too much loss in high-traffic situations; Small code cleanups; Added new dump signal for loss of important packet; When dumping player also disconnect that one in case the dumped player does not accept the signal
507 main/playsave.c: Removed saving/restoring the state of Packet Loss Prevention from Netgame profiles
508
509 20110915
510 --------
511 main/laser.c, main/laser.h, main/multi.c, main/multi.h, main/multibot.c, main/net_udp.c, main/net_udp.h: Added new priority level for MDATA packets to also send them ASAP without the need for an ACK; Streamlined sending multibot and fire packets and on the way artificially and automatically scaling fire rates, energy/ammo usage and damage of weapons in Multiplayer to decrease traffic easy way without changing the Gameplay
512
513 20110914
514 --------
515 INSTALL.txt, README.txt, SConstruct, arch/carbon/conf.h, d2x.ini, include/args.h, main/inferno.c, main/kmatrix.c, main/kmatrix.h, main/menu.c, main/multi.c, main/multi.h, misc/args.c: Removed support for IPX protocol and MS-DOS-Multiplayer-compability due to age and lack of real need and to really improve on the Multiplayer without adding too much complexity for backwards-compability
516
517 20110913
518 --------
519 README.txt: Mention Mac command keys
520 arch/carbon/conf.h, d2x-rebirth.xcodeproj/project.pbxproj: Define USE_TRACKER for Mac OS X, remove reference to deleted cfile.h
521
522 20110912
523 --------
524 arch/sdl/mouse.c, ui/mouse.c: Move EVENT_MOUSE_DOUBLE_CLICKED support from ui/mouse.c to arch/sdl/mouse.c for tidiness and to possibly use it outside the editor
525
526 20110826
527 --------
528 main/ai.c: Due to conversion from fix64 to fix Boss_dying_start_time was not 0 when saving even if boss was not dead - fixed; Fixed warning about set but unused variable
529
530 20110720
531 --------
532 main/menu: Added Polygon model viewer and GameBitmaps viewer in non-Release build for debugging, messing around, DXX-Redrawn, etc.
533
534 20110719
535 --------
536 main/net_udp.c: Properly call multi_leave_game() when host leaves multi game to let clients exit smoothly
537 English.lproj/InfoPlist.strings, d2x-Info.plist, d2xgl-Info.plist, main/inferno.c: Keep copyright information up to date
538 README.txt, debian/control, debian/copyright, debian/rules: Changed my eMail address
539
540 20110716
541 --------
542 main/songs.c: Correctly proceed to new Redbook track if songnum != Song_playing (hopefully - to confirm); Using songs_stop_all() in songs_uninit() to clear redundancy; added some notes to functions to shine a bit light on the mess of some functions; Also if there's no escape song, continue level music
543 arch/sdl/rbaudio.c, main/inferno.c: Fixing Redbook hooks: Initialize last_check_time in RBACheckFinishedHook(); Execute RBACheckFinishedHook() during EVENT_WINDOW_DRAW in standard_handler() as EVENT_IDLE rarely happens if you have a shivering Joystick connected for example
544 arch/carbon/conf.h, SConstruct: Changed version to 0.57.1; Updated release notes
545
546 20110715
547 --------
548 main/net_ipx.c, main/net_udp.c: When updating netgame hoard game flag used for compability reasons must be removed as it can be set - otherwise screwing up game mode display in netlist menu
549 arch/sdl/digi.c, main/digi.h, main/songs.c, misc/hmp.c: Bail out of hmp_reset() if midiOutOpen fails and return error with -debug set; execute hmp_reset() before first song plays; renamed digi_win32_stop_current_song() to digi_win32_stop_midi_song() to keep naming convention; Fixed some compiler warnings
550 main/net_udp.c, main/net_udp.h: Fixed typo in Packets per sec. in GAME_RULES screen; Reduced max amount of games shown on netlist to 900 to reduce RAM usage... as if we'd ever reach this
551 main/automap.c: properly check and fix viewMatrix in free flight auotmap
552
553 20110714
554 --------
555 main/collide.c: When colliding with robot not controlled by us in Multi-Robot game do not apply force or damage - wait until the robot is under our control - preventing juggeling robots back and forth between players and creating massive damage
556 main/multi.c: Due to descent2.ham reloading, hoard.ham must realod properly as well; cover multi_send_sound_function by plp preventing sound loops get lost/screwed in action
557
558 20110713
559 --------
560 arch/sdl/event.c, arch/sdl/key.c, main/kconfig.c, main/menu.c: Stability fixes: avoid somfusions with same named variables in one function; Properly sort out players from player list that use too long filenames; Removed call for gr_set_fontcolor in kconfig where no canvas is set, causing crashes when trying to reassign a button, key or axis
561
562 20110712
563 --------
564 main/wall.c: Readded automatic wall-flag setting for opened doors as PLP cannot protect us from negative side-effects due to how gullible multi_do_door_open() works
565 main/multibot.c: Fixed uninitialized bytes in multi_do_create_robot_powerups() and two set but unused variables
566
567 20110710
568 --------
569 main/gameseg.c: Added complex error output if illegal segnum passed to get_seg_masks(); Fixed warning about set but unused variables
570
571 20110709
572 --------
573 main/gamerend.c, main/gauges.h: In Multiplayer games show player names in big guided window as well
574 main/multibot.c: Just like for players do not protect robot firing or positional data (via PLP) to prevent jumpy movement with delayed packets
575 main/lighting.c: Added new dynamic light calculation which works with find_connected_distance() preventing vertecies to be lit up without connection to light source but still maintaining illumination. Still deactivated as it needs more optimization - planned for 0.58. Removed old alternative dynamic lighting which was suppoed to work via fvi but way slower than the new one
576
577 20110708
578 --------
579 main/net_udp.c: Slight improvement for Packet Loss Prevention: Be able to send to 35 packets per call of net_udp_noloss_process_queue() and also let counter only increase if a packet was actually sent, making sure the queue is not stuck on the first 5 packets in the list
580 arch/sdl/digi.c: Make sure hmp_reset() is only executed if a song was playing
581
582 20110704
583 --------
584 main/game.c, main/gamerend.c: Only call show_netplayerinfo() if GM_MULTI is set and reset netplayerinfo_on in game_setup()
585 misc/physfsx.c: Fixed typo
586
587 20110702
588 --------
589 main/ai.c: When initializing ai object correctly initialize Ai_local_info to prevent glitches like random submodel angles
590 main/menu.c: Reset idle timer in main menu correctly even after playing the intro movie; Also got rid of a goto as it's generally bad and not needed since random demo selection picks a correct demo anyways
591
592 20110701
593 --------
594 d2x.ini, main/inferno.c, main/net_udp.h, misc/args.c: Made formatting for help text more consistent and prettier; Somewhat changed the code for help text so we can use variables in the help text. For example: If we change MAXIMUM_FPS, it will automatically be displayed in the help text without manual editing needed
595
596 20110630
597 --------
598 editor/group.c, editor/ksegsize.c, editor/meddraw.c, editor/segment.c, editor/seguvs.c, include/editor/editor.h, main/automap.c, main/fireball.c, main/gamecntl.c, main/gameseg.c, main/gameseg.h, main/lighting.c, main/render.c, main/render.h, main/segment.h: changed variables and pointer carrying vertex indexes from short to int to handle levels with over 900 segments properly
599
600 20110628
601 --------
602 main/state.c: Fixed possible memory corruption when saving Current_mission_filename which is not necessarily a 9 byte long allocated string; Bit safer string handling with snprintf; Fixed set but unused variables like a boss
603 main/net_ipx.c: Correctly disable/initialize Multiplayer features not supported by IPX games for compability; Removed show_games_rules as there isn't much useful to show there; Some more code simplicity; Fixed sending of allowed items; Fixed player selection screen
604
605 20110624
606 --------
607 main/net_udp.c: Fixed object sync for latecoming clients which was broken due to a very, very, VERY stupid mistake...
608
609 20110623
610 --------
611 main/hud.c: PlayerCfg.MultiMessages was supposed to only show messages of class HM_MULTI but turned out to only block HM_REDUNDANT, too. Fixed this copy/paste error of mine
612 main/laser.c: For Hotshot and above made homing missiles turn to player a bit less agressive which is hardly noticable but slightly increases the chance to shake off a projective even if dodged without perfect timing. This makes possible to survive in case a player/bot shoots several homing projectiles in spread fashion
613
614 20110621
615 --------
616 misc/args.c: When GameArg.CtlNoStickyKeys was introduced I forgot to add an actual check if -nostickykeys was supplied - fixed now
617
618 20110620
619 --------
620 main/lighting.c: in compute_light_emission() handle RT_NONE for delayed explosion fireballs
621
622 20110617
623 --------
624 main/physics.c: By using fixed distance bumping for fix_illegal_wall_intersection making the whole process much more reliable on sharp edges
625
626 20110609
627 --------
628 main/render.c: Saturate colored dynamic light just like normal one - makes the hwole thing a bit less colorful but makes for better balanced color mixing (theoretically) and does not reduce static light
629
630 20110607
631 --------
632 main/switch.c: Correctly disable secret levels for Shareware
633 main/render.c: Definition of dynlight_time should have been static to archive timed light calculations
634
635 20110606
636 --------
637 main/menu.c, main/playsave.c: For all filename strings use PATH_MAX as size, make sure they are inited correctly and only fill them with snprintf instead of sprintf
638
639 20110604
640 --------
641 main/lighting.c: Since set_dynamic_light() is not necessarily processed each frame, added own counter for delayed precession of vertex-clight calculation; Added possibility to page in a bitmap in case an object which has never been rendered before is supposed to cast light visible by the player
642 main/digiobj.c, main/piggy.c: Don't force AltSounds on PC-Shareware content but still must bail out on missing sounds using a small hack. Still gives a better sound palette than AltSounds
643 main/titles.c: Play SONG_BRIEFING and SONG_ENDGAME on all non-builtin missions if available
644 main/endlevel.c: Correctly handle PC Shareware for start_endlevel_movie() again without the defines but via is_SHAREWARE
645 main/digiobj.c: Just generally ignore missing sounds in digi_xlat_sound just like D1X-Rebirth - not limit to Shareware
646 main/multi.c: for flexibility in terms of modding, allow player ship textures in Multiplayer be <= N_PLAYER_SHIP_TEXTURES and not hit Assert but pull out Eroor if there are more
647
648 20110601
649 --------
650 2d/font.c, 2d/palette.c, 2d/pcx.c, arch/linux/hmiplay.c, arch/ogl/gr.c, arch/sdl/digi_mixer_music.c, arch/sdl/jukebox.c, editor/group.c, editor/kmine.c, editor/med.c, editor/mine.c, iff/iff.c, include/interp.h, include/physfsx.h, main/ai.c, main/automap.c, main/bm.c, main/bm.h, main/bmread.c, main/cntrlcen.c, main/cntrlcen.h, main/credits.c, main/digiobj.c, main/effects.c, main/effects.h, main/endlevel.c, main/fireball.c, main/fireball.h, main/fuelcen.c, main/fuelcen.h, main/game.c, main/game.h, main/gamefont.c, main/gamemine.c, main/gamemine.h, main/gamesave.c, main/gameseq.c, main/inferno.c, main/menu.c, main/menu.h, main/mission.c, main/movie.c, main/multi.c, main/net_ipx.c, main/net_udp.c, main/newdemo.c, main/newmenu.c, main/piggy.c, main/piggy.h, main/player.c, main/player.h, main/playsave.c, main/polyobj.c, main/polyobj.h, main/powerup.c, main/powerup.h, main/robot.c, main/robot.h, main/segment.c, main/segment.h, main/songs.c, main/state.c, main/switch.c, main/switch.h, main/text.c, main/titles.c, main/vclip.c, main/vclip.h, main/wall.c, main/wall.h, main/weapon.c, main/weapon.h, misc/hmp.c, misc/ignorecase.c, misc/physfsx.c, misc/strio.c, ui/keypad.c, ui/menubar.c: Got rid of cfile code: Renamed cfile-functions to use PHYSFSX-naming convention, Replaced cfile-macros with proper PHYSFS(X) calls; Introduced PHYSFSX_exists() which can check case-sensitive or case-insensitive to give more flexibility with game content
651 main/endlevel.c: When reaching EL_FLYTHROUGH in do_endlevel_frame() do not check for start_endlevel_movie() anymore but rather it's result so this subfunction does not get called again which does not only save us from executing pointless code and code which screws up flythrough sequence
652 main/game.c: Executing timer_update() at the beginning of calc_frame_time in case event_process() taking a significant amount of time to reach the game window and therefor could make FrameTime be inaccurate
653 main/lighting.c: Added proper colored lighting handling for RT_POWERUP which I not noticed was wrong before ... darn dim glowing powerups
654
655 20110530
656 --------
657 arch/include/digi_audio.h, arch/include/digi_mixer.h, arch/sdl/digi.c, arch/sdl/digi_mixer.c, main/digi.h, main/digiobj.c: Added own channel management to SDL_mixer sound interface since the builtin channel management of this lib cannot handle our needs; Little code cleanup
658
659 20110528
660 --------
661 main/net_ipx.c, main/net_udp.c: Made netgame setup menu more flexible towards (constant or temporary) changes in available game modes
662
663 20110526
664 --------
665 arch/sdl/event.c: In event_process() if a window closes while being drawn and there isn't a previous window we can get the next from just finish processing for this frame
666 main/gamerend.c: in game_render_frame_mono() call show_netplayerinfo() last so window views do not overlap
667
668 20110525
669 --------
670 main/multi.c, main/multi.h, main/net_ipx.h, main/net_udp.c: Added multi_send_data_direct to send multibuf to a specific player (i.e. Host<->Client, not Client<->Client); Overhauled kill sending/receiving and computation to rely in host information about game_mode-related variables (team_vector, Bounty_target) which are vital for consistent kill computation; Added function to send/update game_mode-related variables and solve /move command with this as well instead of workaround via updating lite_info
671
672 20110522
673 --------
674 editor/med.c, main/game.c, main/gameseg.c, main/gameseq.c, main/menu.c: Like in BigEndian builds do netmisc_calc_checksum() only with expected items of segment/side struct to prevent different checksums in case these structs change; Fixed several issues when building with editor; Fixed compiler warning regarding set but unused variable
675 main/net_udp.c: When restoring Coop setting from netgame profile don't forget to fix max players variable
676
677 20110520
678 --------
679 INSTALL.txt, RELEASE-NOTES.txt: Updated docs and fixed some typos
680 main/net_ipx.c, main/net_udp.c: Rearranged code to check for netgame-closed flag and refuse-players flag so they are updated correctly if another part of the code changes the menu item without activating it
681 main/automap.c, main/menu.c, main/playsave.c, main/playsave.h: Made Automap Free Flight controls an optional feature which can be set in MISC OPTIONS
682 main/net_udp.c: Let players launch 1-player team-based games in RELEASE build as well
683 main/net_udp.c: Making D1X- and D2X-Rebirth more similar in behavior of which player limit is needed to start team-based game in both RELEASE and DEBUG builds
684
685 20110519
686 --------
687 main/fvi.c, main/fvi.h, main/physics.c: Improvement for fix_illegal_wall_interesection(): Move away from wall in right angle - not towards center. This improves the bumping in many situations and prevents ship getting stuck in small segments. Simplified and optimized code as well and removed check for degenerated Segments as not needed with this approach; Fixed some compiler warnings regarding set but unused variables
688 main/multi.c: Reset new_Bounty_target after using it and let host add a number on how often Bounty is reassigned. Both additions should help keeping target correct no matter how if multiple packets of the same type are disordered, delayed or both
689 main/physics.c: for fix_illegal_wall_intersection() try using the distance we moved to move out from the wall. Just in case it's a sane value, i.e. > 0 and <= obj->size/2
690 arch/ogl/gr.c, main/game.c: Removed key_flush() call from save_screen_shot() - not needed anymore due to new input reading and only screws up ingame controls
691
692 20110516
693 --------
694 main/menu.c: for debug build ignore player Highest_level_index when starting a mission, making *Load Level* entry in main menu obsolete; Fixed two compiler warnings regarding set but unused variables
695
696 20110515
697 --------
698 main/multi.c: Solved possible issue when setting new Bounty_target via host messing up scores or new target itself - only set if player decided why to unset Bounty_target, keeping code flow and game logic in order; Fixed two compiler warnings regarding set but unused variables
699 RELEASE-NOTES.txt: Added more info: M3U-support, GCC 4.6 warnings, more tracker infos
700
701 20110513
702 --------
703 main/multi.c: Send player position also when multi_send_player_explode() is called so powerups drop at the right spot in case the respawn packet arrives first
704
705 20110507
706 --------
707 arch/carbon/conf.h: Enabled Tracker support for Mac OS
708 RELEASE-NOTES.txt, README.txt, SConstruct, arch/carbon/conf.h: Changed version from 0.56 to 0.57; Added first draft for RELEASE-NOTES.txt; updated docs
709 main/endlevel.c: Taken out Render_depth reduction of Endlevel sequence in Software rendering build; Fixed two compiler warnings regarding set but unused variables
710 main/automap.c: Don't call automap_process_input() if autmap_key_command() returns 1 preventing input mess
711
712 20110505
713 --------
714 main/gauges.c, main/multi.h, main/net_ipx.c, main/net_udp.c, main/net_udp.h, main/playsave.c: Host can now decide (again) if players are allowed to display enemy names on HUD
715 d2x-rebirth.desktop, debian/changelog, debian/control, debian/copyright, debian/rules: Update for Debian packaging stuff
716 main/lighting.c: Correctly handle light computation of objects with render_type RT_LASER
717
718 20110504
719 --------
720 editor/segment.c, main/fvi.c, main/gameseg.c, main/physics.c, main/segment.h: Since current approach to improve wall collisions prevented the player to enter segments which basically are too small for the player ship, added simple bumping function via object_intersects_wall(); Also when validating segments check for segment degeneration outside the editor build, too and set flag in segment structure for all different purposes but right now helps us to disable bumping when encountering degenerated segments and not break such levels
721 main/endlevel.c: Make sure the big explosion at the end of the escape sequence also uses blending if transparency effects are activated
722 main/multi.c: Fix crash in multi_maybe_disable_friendly_fire() when killer == NULL; Do not let player join game when gamemode is HOARD or TEAM HOARD and hoard.ham is not available
723 2d/font.c: mipmapping was always on for fonts due to changed filtering code in ogl.c
724 main/physics.c: To compensate fewer FVI runs in lower FPS and wall penetration caused by strong forces allowed fix_illegal_wall_intersection() to move an object out of the wall half it's size improving the collisions once more
725 main/segment.h, main/state.c: Due to increased size of MAX_SEGMENTS old savegames became incompatible. To compensate added MAX_SEGMENTS_ORIGINAL with the original segment amount and read certain savegame info with this info when dealing with standard-sized levels and use Highest_segment_index when dealing with larger levels which are incompatible with older versions of the game anyways. Makes savegame site more efficient and still maintain backwards compability
726 main/render.c: When doing sorted rendering, also take cloaking walls into account to properly draw objects behind it while cloaking process
727
728 20110422
729 --------
730 2d/rle.c, SConstruct, main/segment.h, main/texmerge.c: Expanded possibilities for level authors: RLE- and Texture-cache accepts textures bigger than 64x64, only limit being Texture width must be equal height; Increased maximum amount of Segments from 900 to 9000 - not dynamically allocating them, yet
731 arch/sdl/mouse.c, main/kconfig.c, main/menu.c, main/playsave.c, main/playsave.h: When reading ingame controls only flush mouse delta timer-based since reading is event-based already, allowing high precision no matter the game speed; Removed Mouse smoothing/filtering as it's now unnecessary due to event-based motion handling
732 2d/rle.c, main/texmerge.c: Fixes for RLE- and Texture-cache modifcations: Before freeing now must check if bitmap is already allocated
733 main/menu.c, main/net_udp.c, main/playsave.c, main/playsave.h: Remember previously set up netgame variables in pilot-related file with extension ngp - due to feature consistency for UDP only
734
735 20110421
736 --------
737 main/net_ipx.c, main/net_udp.c: When leaving game and still sending extras, don't forget to update the timer so we won't get stuck in an infinite loop
738 arch/sdl/key.c: Added SDLK_WORLD_** symbols to keyboard array to enable layout specific keys and make the game more flexible
739
740 20110420
741 --------
742 main/multi.c, main/state.c: Resolved termination issue when reading and comparing callsigns fro Coop savestates; Added scores sending after Coop savestate loading as unrestored players will send them when loading new level
743 main/gameseq.c, main/misison.c: Moved reloading of main descent2.ham (in case mission brings it's own version) from LoadLevel() to load_mission() so it does not screw missions with ther custom ham-file (like vertigo)
744
745 20110418
746 --------
747 arch/sdl/digi_mixer_music.c, arch/sdl/jukebox.c, main/config.c, main/menu.c, main/songs.c, main/songs.h, main/titles.c: Fix broken m3u playlist support (in jukebox_play() path resolving); point to default descent.m3u playlist for Mac OS X (will be included in bundle); better error reporting in mix_play_file(); only make relative Jukebox path in the menu absolute after browsing it - relative paths are more flexible; allow select_file_recursive() to figure out PhysicsFS relative paths passed to it; stop the music if Jukebox is chosen and unavailable (used to just keep playing the last song)
748
749 20110416
750 --------
751 main/gamecntl.c, main/gauges.c: Due to controls rewrite was not possible anymore to send multiplayer messages while being dead - added specific exception to allow this; Rewrote show_HUD_names to only show names, indicators or typing string for enemy players when they are not cloaked; Small fix for position of Afterburner gauge in CM_FULL_SCREEN
752 misc/hmp.c: Check for hmp before pausing/resuming it
753 main/laser.c: Initialize variables in create_omega_blobs() and give omega_cleanup() a return value to see if we should continue rendering to fix potential crashes
754
755 20110414
756 --------
757 main/kmatrix.c: Fixing km struct being used after it's being freed by closing the window in EVENT_WINDOW_DRAW
758 main/wall.c: Took out hack to force close doors as not needed anymore and does not take into account linked walls
759
760 20110413
761 --------
762 main/net_udp.c, main/net_udp.h: Improved security for UDP protocol: Add checks for correct packet size and - if possible - valid sender address (valid player) and making sure Clients only accept packets meant for Clients and Hosts only accept packets meant for Hosts
763 main/fvi.c, main/physics.c: Bit more safeguarding in find_plane_line_intersection() and as a result less agressive but more beautiful back-bumping on illegal wall interesections; Scaling of movement from PhysTime to FrameTime now done with vector math functions
764 main/credits.c: Fixing unfreed buffer when credits_show() was called but there was nothing to show me
765 main/lighting.c: Reset obj_color for colored object lights when object does not return any usable color so the object will cast white light at least
766
767 20110412
768 --------
769 main/game.c, main/gauges.c, main/multi.h, main/net_ipx.c, main/net_ipx.h, main/net_udp.c, main/net_udp.h: Little fix for typing-indicator in multiplayer - was showing comma even if no player name was displayed; Removed team_vector from UDP lite_info structure - it's not needed; Removed ShowAllNames from Netgame structure as I see no reason why names display should be host-controlled; Increased UDP_NETGAMES_PAGES to actually show 3000 possible games
770 main/laser.c: Stupid me forgot to let Omega use it's charge again after debugging it - fixed...
771 include/gr.h, main/bm.c, main/bm.h, main/gamesave.c, main/lighting.c, main/multi.c, main/object.c, main/object.h, main/piggy.c, main/render.c, main/state.c: Execute set_dynamic_light 60 times per second max since more would just be a waste of CPU time; When executing set_dynamic_light, process ALL lights; Instead of storing light color in objects, do it on-thy-fly but store bitmap-based color in grs_bitmap - vastly speeds up colored dynamic lights; Improved saturation for vertex lighting to make light color a bit more subtile
772 main/playsave.c: kconfig weapon cycling fields changed after 0.56 release will automatically fix if version number changes on next release
773
774 20110411
775 --------
776 main/game.c, main/gamecntl.c, main/gamerend.c, main/gauges.c, main/multi.c, main/multi.h: Improved syntax for Multi messages/commands: Commands starting with '/' and those accepting arguments as well as Player/Team messages require space after ':' ; Added indicator on HUD to show if a player is typing a message to prevent accidential kills
777 main/collide.c, main/hud.c, main/hudmsg.h, main/powerup.c, main/weapon.c: Introduced HUD message class HM_MAYDUPL for messages that may appear once per frame but the player might not able to supress via option
778
779 20110410
780 --------
781 main/collide.c, main/laser.c, main/laser.h, main/object.c, main/object.h, main/vclip.c: Reworked Omega cannon: Instead of firing every frame, fire in 33.33ms intervals instead which will improve performance, decrease network traffic and make damage in Multiplayer not a totally random factor; To compensate inaccuracy due high velocity of leading omega blob, check for it's distance from parent and delete if distance > MAX
782 main/gamerend.c, main/gauges.c, main/titles.c: Fixed text-related annoyances: Fixed positions of strings TXT_CLOAKED and TXT_CRUISE in CM_FULL_SCREEN; Fixed scaling of tab_stop in briefings (again)
783 INSTALL.txt: Tell people about The Unarchiver for installing from the Mac game CD (thanks, Jonathan!)
784 arch/ogl/gr.c: Smash texture list when switching between window mode and fullscreen prevent invalid textures; Made code to capture Screenshots more similar between OpenGL and OpenGL ES
785 3d/interp.c, main/automap.c: Allow completely free movement in the automap. It will rotate relative to the viewer. Also fix an unused variable warning.
786
787 20110408
788 --------
789 main/net_udp.c: Allow multi_send_fire when necessary and not crop to PPS so fix weapons with high firing rate
790
791 20110407
792 --------
793 3d/draw.c, 3d/interp.c, 3d/rod.c, arch/ogl/ogl.c, include/3d.h, include/interp.h, include/ogl_init.h, main/endlevel.c, main/gamesave.c, main/lighting.c, main/lighting.h, main/menu.c, main/morph.c, main/multi.c, main/object.c, main/object.h, main/playsave.c, main/playsave.h, main/polyobj.c, main/polyobj.h, main/render.c, main/state.c, main/terrain.c: Made lighting code work with actual RGB values and added feature to let certain objects emit colored dynamic light as well as let mine flash red when control center destroyed (OpenGL-only at the moment)
794 main/physics.c: When sliding along a wall keep wall_part sane to ensure good velocity for slide
795
796 20110405
797 --------
798 SConstruct, arch/win32/ipx.c, d2x.ini, include/args.h, main/inferno.c, main/menu.c, main/multi.h, main/net_ipx.h, main/net_udp.c, main/net_udp.h, misc/args.c: Client-side implementation for Tracker support by Matt "1360" Vandermeulen including improvements in udp_dns_filladdr and IPv4/IPv6 compability; Very little adjustments by me, too including IPv6 support for Windows (untested); Actual tracker code will follow later as seperate branch when it's done
799
800 20110329
801 --------
802 main/cntrlcen.c, main/cntrlcen.h, main/state.c: Dead_controlcen_object_num should be set when a new level starts in debug build, too; Setting Total_countdown_time when loading a savestate so SEF-DESTRUCT SEQUENCE ACTIVATED sample will not play soon as timer reaches 0
803
804 20110328
805 --------
806 main/endlevel.c, main/newdemo.c: Properly record the event of reset_rear_view() while switching levels to make it work right when rewinding as well; Properly record Countdown seconds for each newdemo frame instead of second change to get display showing up right while playback and still preserving backwards compability; Suspend Game_wind when playing endlevel movie while demo playback
807 arch/ogl/gr.c: Fixes for OpenGL ES implementation
808
809 20110327
810 --------
811 main/physics.c: Another rework for anti-stuck-bumping: Execute after calculation of velocity and add fvi check to make sure we deal with an actual wall collision
812 main/gamesave.c: Added hack to fix illegal segment (104) in D2 Level 12 which should be fixed in the level itself but impossible due to copyright of original game content...
813
814 20110314
815 --------
816 main/fvi.c, main/physics.c: Again reworked new bump hack to only apply when fate == HIT_WALL (to not break level SKYBOX) and made bumping by distance between object position and wall hit point; Removed/handled some safety checks in find_plane_line_intersection() to make sliding along joining edges smoother again while bad values *should* be handled in pyhsics.c and not make object warp-crashing tru the whole level or stuck in walls (fvi code should still be rewritten tho)
817
818 20110310
819 --------
820 main/kconfig.c: Due to lazy copy&paste sliding up/down speed was divided by 2 - fixed
821
822 20110306
823 --------
824 main/songs.c: Be safer not interrupting other ports of descent or the original MS-DOS game when it comes to reading song files: Try reading from MISSION_NAME.sngdxx to have a way reading a song file for a specific mission outside the mission's HOG, next try reading from descent.sngdxx which shall serve as an alternative song file specifically for DXX and then try descent.sng. This should give authors enough possibilities to add OSTs for all different versions of the game without the need to publish different versions of their missions
825
826 20110224
827 --------
828 2d/canvas.c: Fix for last revision: Correctly initialize cv_fade_level and cv_blend_func when creating initializing a canvas
829 main/multi.c, main/piggy.c: Using gr_init_bitmap for hoard data initialization; Correctly free hoard data before the program closes; When reloading the main HAM files, made sure it does not try to reload main game sounds from shareware/demo HAM
830
831 20110223
832 --------
833 2d/2dsline.c, 2d/canvas.c, arch/ogl/gr.c, arch/ogl/ogl.c, arch/sdl/gr.c, include/3d.h, include/gr.h, include/ogl_init.h, main/ai.c, main/ai.h, main/console.c, main/effects.h, main/gamerend.c, main/gauges.c, main/hud.c, main/menu.c, main/multibot.c, main/newmenu.c, main/object.c, main/playsave.c, main/playsave.h, main/render.c, texmap/tmapflat.c: Added cv_fade_level to canvas structure to replace Gr_scanline_darkening_level; Added cv_blend_func to canvas structure to set blending; Introduced gr_settransblend to set cv_fade_level and cv_blend_func; Added function to set normal blending, additive alpha blending and additive color blending; Moved Special transparency effects from g3_draw_bitmap to render_object to set individual transparency and/or blending for each object outside of OpenGL-specific code; Added special blending for fuelcenter and force field effects as well; Removed unused LASER_HACK code; Renamed OglAlphaEffects variable of PalyerCfg to AlphaEffects as I plan to implement this kind of effects for Software renderer, too
834
835 20110221
836 --------
837 misc/strutil.c: Fix a critical bug in string_array_add - when d_reallocing the buffer containing the string data, update all the pointers in '*list' as well as next_str, preventing ugly crashes
838
839 20110219
840 --------
841 main/gameseq.c: Added another call for read_hamfile right after a level loads in case a third party mission brings it's own version of the main game HAM file
842
843 20110218
844 --------
845 arch/ogl/ogl.c, include/ogl_init.h, main/endlevel.c, main/object.c: Draw laser effects with special blending instead of disabled DepthMask; Added special blending for transparency effects as well to let them kick more ass; Corrections while rendering outside part of endlevel sequence with disabled depth testing and dynamically changing Render_depth to make the mine exit visible again while not rendering the exit tunnel tru the planet terrain
846 arch/ogl/ogl.c: Set zNear for gluPerspective to 0.1 to prevent ugly clipping while passing illusory walls; Set zFar to 5000.0 to prevent disappearing automap in large distance - all still sane enough for Intel chips so my eeePC is safe nyahahaha
847
848 20110217
849 --------
850 main/wall.c: When recording cloaking or unclocking wall to demo, make sure the very first frame is recorded, too so wall will correctly transform back when rewinding the demo
851
852 20110215
853 --------
854 main/gamecntl.c: Fixed PRShot feature which was accidentially broken while implementation of OpenGL ES support
855
856 20110214
857 --------
858 SConstruct, d2x.ini, include/args.h, main/ai.c, main/ai.h, main/ai2.c, main/automap.c, main/cntrlcen.c, main/collide.c, main/config.c, main/config.h, main/escort.c, main/escort.h, main/fvi.c, main/game.c, main/game.h, main/gamecntl.c, main/gamerend.c, main/gameseq.c, main/gameseq.h, main/gauges.c, main/inferno.c, main/kconfig.c, main/laser.c, main/menu.c, main/multi.c, main/net_ipx.c, main/net_udp.c, main/physics.c, main/player.h, main/render.c, main/state.c, misc/args.c: Moved all these unsorted global cheat variables to a handy structure; Simplified reading of the cheats without trying to make it complicated so no one finds them (everyone can get the source); Removed one or two cheats which carry more garbage than they are worth; Added replacement for the bittersweet cheat; Made FPS Counter an option of Graphics menu
859 main/credits.c, main/titles.c: For credits and briefings moved all code happened in EVENT_IDLE to EVENT_WINDOW_DRAW since a jitterish Joystick could slow down text rendering
860
861 20110212
862 --------
863 arch/inlcude/window.h, arch/sdl/event.c, arch/sdl/window.c, main/game.c: New approach to handle a bunch of closing windows - removed window_do_close() again, reworked game_leave_menus by checking window_get_front() and closing this window until it's Game_wind, while event_process checking if window still exists after drawing and if not, take next window from previous which should be updated by then
864
865 20110211
866 --------
867 main/gamecntl.c, main/kconfig.c, main/newmenu.c: Controls.select_weapon_count needs to be incremented differently to get non-0 when we want to select the laser type weapon; Readded jumping from first to last item in newmenu and vice versa
868
869 20110210
870 --------
871 main/automap.c, main/gauges.c, main/gauges.h, main/kconfig.c, main/newmenu.c, main/newmenu.h: Fixed broken FlightSim indicator on Automap; Fixed Assert for using mouse buttons in kconfig (which can react to UP and DOWN states); Added scrolling support for menus flagged tiny_mode and all_text
872 arch/ogl/gr.c, arch/sdl/gr.c, d2x.ini, include/args.h, main/inferno.c, misc/args.c: Simplified ogl version of gr.c in terms of SDL video flags and fullscreen toggle; Added command-line/INI option to remove borders from windowed program
873 main/multi.c: Fixed compiler warning related to generation of game_id for Coop Savegames
874 arch/ogl/ogl.c, main/gamerend.c, main/gauges.c, main/gauges.h: Added secondary weapon indicators to new reticle types; Fixed disks being drawn as circles - whoops
875
876 20110209
877 --------
878 main/ai.c, main/game.c, main/gamecntl.c, main/gameseq.c, main/menu.c, main/multi.c, main/multi.h, main/state.c, main/state.h: Reintroduced Savegames for Coop games using the original Descent2 implementation but correctly handling player slots in their pre-loading state preventing accidential player shifting which never really worked in the original game and we do not want with UDP anyways - was all tested but still might need a fix or two; Added some missing initializations for saving players and AI stuff; Completely ripped out remnants of saving between levels code
879 main/movie.c: Fixed little memory issue while playing movies introduced by overhaul of window closing
880 arch/ogl/ogl.c: Fixed memory leak produced by drawing circles and disks
881
882 20110206
883 --------
884 arch/include/key.h, main/automap.c: Increased key repeat values to react a little more like the MS-DOS version of the game but a little slower so I can still stop at the correct item; In automap reorganized control_info swapping as well as wiggle state handling to properly work in connection with the new input handling and Multiplayer where game is not paused
885
886 20110203
887 --------
888 main/automap.c, main/gamecntl.c: Little fixes for recent kconfig/event overhaul: Automap inputs read by kconfig should be processed by input rather than idle and automap frame calculations should be done while drawing; Fixed drop_bomb_count which could roll over to 255 dropping bombs without end
889 main/gauges: Corrected values for gr_ubox while drawing a window_view to not mess up at some widescreen resolutions
890 arch/include/window.h, arch/sdl/event.c, arch/sdl/window.c: Included new window structure flag w_closing_state and let window_close() set this flag - after drawing all windows, check them again and call window_do_close() which then actually closes the window(s) marked to. Solving all sorts of problems when windows close while being drawn (network error messageboxes, game_leave_menus(), etc.)
891
892 20110202
893 --------
894 arch/include/event.h, arch/include/joy.h, arch/include/key.h, arch/include/mouse.h, arch/sdl/event.c, arch/sdl/joy.c, arch/sdl/key.c, arch/sdl/mouse.c, main/automap.c, main/endlevel.c, main/game.c, main/gamecntl.c, main/inferno.c, main/kconfig.c, main/kconfig.h, main/movie.c, main/multi.c, main/newmenu.c, main/slew.c: Added event types for all input actions; Rewrote kconfig code to work with events; static defined inputs will not trigger kconfig-mapped inputs anymore; Simplified keyboard, mouse and joystick code a lot due to event-based handling; Added function to toggle SDL key repeats on and off; Put timer_update() to event_process; Removed return when event_poll() is idle to get cursor hiding to work again; Added a small delay between cursoe hiding and re-enabling to cursor will not accidentially enable by SDL event centering cursor while hiding
895 arch/ogl/ogl.c: After rendering Reboot reticle, reset glLineWidth to default value again
896 main/fireball.c, main/gameseq.c, main/net_ipx.c, main/net_udp.c: Little more smoothness for Multiplayer: Before dropping Powerups in random segment, make sure it's accessible by the player who drops it; Got rid of goto in InitPlayerPositions() and made code more D2-ish; Allow host to send 50 object/extra packets per second which does not overload network stack, yet but speeds up joining
897
898 20110126
899 --------
900 arc/sdl/event.c: In event_process() check for wind->next before sending EVENT_WINDOW_DRAW in case drawing will free wind
901
902 20110124
903 --------
904 main/physics.c: Revamped what previously was the BUMP_HACK by checking if an object is actually intersecting a segment and move it out towards segment center just after the initial object movement composed by fvi and before velocity is made - should make inaccurate wall collisions a bit smoother and prevent objects from goind inside or through walls, too
905 main/physics.c: Added some new conditions to the bumping code: Only bump objects which can slide (alive robots and players) and added a count making sure this function can never get stuck in an infinite loop
906 main/collide.c, main/fireball.c: Some improvements and cleanups for Persistent Debris: Let them bounce, added drag and let them explode on hazardous walls
907
908 20110123
909 --------
910 main/ai2.c: Taking out one Int3 in init_boss_segments() stopping the program if there is more than one boss in level - taking out because it's not fatal or unsafe to do that; Also removed one conditional size_check which was meant for one mprintf we removed long ago
911 main/physics.c: Increasing the collision count for objects so there can be 8 for all objects; also do not increase count when colliding with a powerup as it should not change our movement
912 main/playsave.c: For new player, set ReticleSize to 0 which is the smallest size
913
914 20110122
915 --------
916 main/console.c, main/game.c, main/gamerend.c, main/gauges.c: Added timer_update() to stop/start/reset_time() functions so resumed last_timer_value will be precise; Added new FPS counter which actually does count the frames rendered per second and is less irritating; Added timer_dleay2 call to console to not stress CPU too much; Imporoved placement for show_time(), multi messages, marker messages and orb counts
917 main/multi.c: Fixed small issue parsing killreactor command in Multiplayer
918 include/byteswap.h: Added swapping for 64Bit sized integers in case we want to store/read them some day (i.e. new Savegame version storing object instead of object_rw)
919 main/gamerend.c: in show_framerate do not use gr_get_string_size at all but rather use hardcoded coordinates - less CPU-intense
920 main/fvi.c: Removed fvi_a.h and added the asm code from it as comment to fvi.c in case we need it again some day
921
922 20110121
923 --------
924 main/render.c: Protection for negative array index in find_seg_side was accidentially checking for vv1 != -1 - fixed that
925
926 20110120
927 --------
928 arch/sdl/jukebox.c, main/digi.h, main/menu.c, main/songs.c: Added a simple random function for the Jukebox; Removed one small printf I once added for debugging
929
930 20110119
931 --------
932 main/game.h, main/gamerend.c, main/gauges.c, main/multi.c, main/multi.h, main/net_udp.c: Introducing new BOUNTY Multiplayer game mode by Matt "1360" Vandermeulen <[email protected]>
933 main/gauges.c, main/multi.c: Fix for showing bounty target in kill list - was not actually checking if player_num == Bounty_target; When Bounty_target player leaves game host must select a new target so the game can proceed
934 main/gamerend.c, main/multi.c, main/multi.h, main/net_ipx.c, main/net_udp.c, main/text.h: On NETGAMES list Bounty mode was not shown since MODE_NAMES define was not adjusted - so in the end introduced GMNames and GMNamesShrt Arrays in multi.c for globally displaying full or short Multiplayer game mode names
935 2d/bitmap.c, 2d/bitmap.h, 2d/canvas.c, 2d/font.c, 2d/scale.c, 2d/scalec.c, 2d/tmerge.c, SConstruct, arch/linux/alsadigi.c, arch/sdl/digi_audio.c, arch/sdl/digi_mixer.c, include/error.h, include/maths.h, main/fvi_a.h, main/inferno.c, maths/fixc.c, maths/vecmat.c, texmap/scanline.c: Retired most of the Assembler code except the generic i386 scanline renderer; Removed all leftovers of Direct3D implementation; On the way make a some code more similar between D1X-Rebirth and D2X-Rebirth
936
937 20110118
938 --------
939 main/net_udp.c: Fixed small bug in net_udp_list_join_poll() which was introduced when I reorganized the events for making console render global
940 main/gamecntl.c, main/gameseq.c: Allowing loading a savestate while being in death sequence and resetting Dead_player_camera correctly in init_player_stats_level() so forther death sequences won't screw up
941 main/net_udp.c: In net_udp_send_objects() player_num byte was not considered for mode 1 resulting on incorrect object count for this mode
942 main/net_ipx.c, main/net_udp.c: Instead of calling object/extras sending every frame, use a delay of 100ms between packet send to not overload the network stack
943
944 20110117
945 --------
946 arch/sdl/event.c: Still send idle events when receiving SDL joystick events, fixing possible joystick issues
947 main/menu.c: No referring to non-existent ogl_maxanisotropy for non-OGL build
948 main/kconfig.c, main/newmenu.c, ui/mouse.c: Fix cursor recentering issues - comment out redundant event_toggle_focus(1) calls in kconfig.c and newmenu.c and use event_toggle_focus(0) in ui_mouse_show()
949 arch/ogl/ogl.c, main/gauges.c: Before duplicating last pixel column or row in ogl_filltexbuf, make sure we are still in actual bitmap boundaries; Incrementing defines SHIELD_GAUGE_Y, SHIP_GAUGE_Y for HIRESMODE to fit these gauges pixel-correct in Cockpit mode
950 SConstruct, d2x-rebirth.xcodeproj/project.pbxproj, editor/centers.c, editor/eswitch.c, editor/med.c, editor/medrobot.c, editor/medwall.c, editor/mine.c, editor/objpage.c, editor/texpage.c, include/editor/editor.h, include/editor/objpage.h, include/editor/texpage.h, include/ui.h, ui/button.c, ui/checkbox.c, ui/dialog.c, ui/file.c, ui/gadget.c, ui/icon.c, ui/inputbox.c, ui/keypad.c, ui/keypress.c, ui/keytrap.c, ui/listbox.c, ui/menu.c, ui/message.c, ui/popup.c, ui/radio.c, ui/scroll.c, ui/userbox.c: Rename ui/window.c to ui/dialog.c to avoid confusion with arch/sdl/window.c, also rename UI_WINDOW to UI_DIALOG, rename all associated functions, constants, parameters, local variables etc too; make a window when making a UI_DIALOG (does nothing yet)
951 SConstruct: opengles variable in SConstruct could be activated by command-line argument opengl
952 main/terrain.c texmap/ntmap.c, texmap/scanline.c: Fixing memory corruptions produced by the scanline renderer; Dynamically allocate y_pointers to free scanline renderer from resolution limits
953
954 20110116
955 --------
956 2d/bitblt.c, arch/ogl/gr.c, arch/ogl/ogl.c, include/ogl_init.h, main/menu.c: Added feature to enable Anisotropic filtering is supported by hardware or driver; Reworked way of handling texture filtering information so ingame switching is possible again
957 main/menu.c: When changing resolutions and Game_wind is present, send EVENT_WINDOW_ACTIVATE shortly so it's canvase will align to the new resolution seamlessly
958 main/titles.c: For more consistency to original game, show descent(b).pcx before pilot selection if available; Generally use PATH_MAX for filename arrays in titles code
959 main/console.c, main/inferno.c: Toggle console by KEY_SHIFTED+KEY_ESC again - as it should be
960 arch/ogl/ogl.c: in ogl_filltexbuf add pixel row matching color of bitmap edge to get a clean border when filtering cockpit overlay bitmaps
961
962 20110115
963 --------
964 arch/linux/ipx.c, main/net_ipx.c: Fixed some compiler warnings
965 main/game.c: Due to recent changes in event_poll() game_handler() must call ReadControls() for EVENT_MOUSE_MOVED, too; Little fix for FixedStepCalc()
966 arch/ogl/gr.c, arch/ogl/ogl.c: Fixed alpha limit for ogl_ulinec(), gr_uricle(), gr_disk()
967
968 20110114
969 --------
970 arch/include/event.h, arch/include/key.h, arch/include/mouse.h, arch/sdl/event.c, arch/sdl/key.c, arch/sdl/mouse.c, editor/med.c, include/ui.h, main/automap.c, main/credits.c, main/escort.c, main/gamecntl.c, main/inferno.c, main/inferno.h, main/kconfig.c, main/kmatrix.c, main/menu.c, main/movie.c, main/net_ipx.c, main/net_udp.c, main/newmenu.c, main/scores.c, main/titles.c, ui/file.c, ui/keypress.c, ui/menu.c, ui/menubar.c, ui/message.c, ui/mouse.c, ui/popup.c, ui/window.c: For editor, replace use of ui_mega_process() with event_process(), with the editor's own default event handler; add EVENT_MOUSE_MOVED event with event_mouse_get_delta() accessor; add event_key_get() to replace ugly casting; rename mouse_get_button() with event_mouse_get_button() to keep with name convention; only send idle events when there are no input events so editor still works properly (or the same anyway); add and use event_send() function for input events (including idle)
971 main/fireball.c, main/gamesave.c, main/multi.c, main/multi.h, main/net_ipx.c, main/net_udp.c, main/object.c, main/object.h: Fixing code used for capping powerups in multiplayer - it was not correctly conting 4pack powerups; Cleaned up this code a bit and added more consistent naming convention for functions to maybe make it more understandable; Removed MULTI_PROTO_D2X_VER define as it's not needed
972 main/gamesave.c, main/multi.c, main/object.h: In multi_leave_game check for Player_eggs_Dropped before actually dropping to prevent multiple drops in case player quits game after being killed; put console output level of multiplayer powerup cap messagers to CON_VERBOSE
973 main/gameseq.c: Using timer_query() instead of clock() in InitPlayerPositions(); Also decreasing check value for closest_dist to D1-level to actually make it less likely to start at total random unchecked location where another player could be
974 main/net_ipx.c, main/net_udp.c: When displaying kill goals in game rules, value must be multiplied by 5 to show the correct limit
975 main/collide.c, main/multi.c, main/multi.h, main/net_udp.c: Added feature to optionally disable friendly fire in Team and Coop games
976 main/newmenu.c: Moved scroll arrow one unit to the left to be not pixel-aligned to possible checkbox; Made newmenu sliders only react to spacebar, backspace, left and right since pageup/down is already taken for menu scrolling and all other previous key assignments will not work on most spread keyboard layouts
977 include/console.h, main/console.c, main/gamecntl.c, main/gamerend.c, main/inferno.c, main/kmatrix.c, main/movie.c, main/net_ipx.c, main/net_udp.c: Converted console into a window and allow it to show in every part of the game; Fit several poll functions and kmatrix so they won't get interrupted by the console
978
979 20110111
980 --------
981 main/net_ipx.c, main/net_udp.c: Fixed Menu setting for AllowedItems which was broken due to changed return value of newmenu_do1
982
983 20110110
984 --------
985 2d/disc.c, arch/ogl/gr.c, arch/ogl/ogl.c, include/gr.h, include/ogl_init.h, main/automap.c, main/gamerend.c, main/gauges.c, main/gauges.h, main/menu.c, main/playsave.c, main/playsave.h: Added different reticle types with RGBA and size settings; Apply RGBA and size to FlightSim Indicator and Guided Crosshair; Added Brightness Slider to Graphics options menu; Added OpenGL usage for gr_disk
986 main/credits.c, main/songs.c, misc/hmp.c: Let credits track fade out at the end of text sequence; Fixed usage for RBAPlayTracks - when playing only one track last must be equal first, not 0; In hmp_open changed data from long to int, preventing memory explosion depending on optimisation of the code
987 arch/sdl/timer.c: In timer_update() convert cur_tv to fix scale before substracting from last_tv to get more accurate values to F64_RunTime (insignificant tho); Added rollover check for SDL_GetTicks() to timer_delay2()
988
989 20110109
990 --------
991 main/net_udp.h: Set max UDP packet size to 1024 again (seems some configuration DO have problems with larger packets after all)
992 main/net_udp.c: Fix for rev968: my_pnum must be defined static
993 arch/sdl/digi.c, inlcude/hmp.h, misc/hmp.c: Improvement on the HMP track loop feature by TURRICAN; Added small template fix for descent.hmp which is supposed to be activated soon as we have some kind or Checksum function
994 main/kconfig.c: Mousebutton assigned to CYCLE SECONADARY was actually calling CYCLE PRIMARY
995
996 20110106
997 --------
998 main/multi.c, main/state.c: Fixed but in object to object_rw conversion - if a bot is not dead, leave dying_start_time at 0 as anything else would kill it
999 3d/rod.c, SConstruct, arch/ogl/gr.c, arch/ogl/ogl.c, include/3d.h, include/ogl_init.h, main/gamecntl.c, main/object.c, main/state.c, misc/args.c: Added OpenGL ES support - contributed by Florian Feucht and Oliver Haag
1000 main/automap.c, main/gauges.c, main/gauges.h: Draw FlightSim Reticle on Automap display, too; Fixed small glitch showing Vulcan/Gauss ammo in alt hud mode on all cockpit modes instead of CM_FULL_SCREEN only
1001 arch/ogl/ogl.c: Fix small bug in vertex_array for ogl_ubitblt_i
1002
1003 20110104
1004 --------
1005 d2x.ini, include/args.h, main/gauges.c, main/inferno.c, main/kconfig.c, main/kconfig.h, main/menu.c, main/playsave.c, main/playsave.h, misc/args.c: Introduced FlightSim control scheme for mouse which adds delta values to absolute position to behave like a Joystick; Added Deadzone slider for FlightSim as well as an optional Reticle display to show the positional data on screen; Removed old Mouselook hack in favor of this new feature
1006
1007 20110103
1008 --------
1009 arch/sdl/joy.c, arch/sdl/key.c, arch/sdl/mouse.c, include/args.h, main/kconfig.c, main/kconfig.h, main/playsave.c, misc/args.c: Saving weapon keys in PLX like in D1X-Rebirth; Added Cycle Primary/Secondary for Mouse which makes wheel axis cycling unnecessary and also let Weapon Keys be assigned to a Mouse button; If GameArg.NoStickyKeys do flush these keys so they can be used as normal game keys - otherwise ban them; Fixed crash when reassigning mouse button greater than 3; Joystick/Mouse function taking button as argument now check for sanity of this value so they can safely be used in kconfig code and deal with unassigned key values
1010 d2x.ini, include/args.h, main/gamerend.c, main/hud.c, main/inferno.c, main/menu.c, main/multi.c, main/net_ipx.c, main/net_udp.c, main/playsave.c, main/playsave.h, misc/args.c: Moved NoRedundancy, MultiMessages and NoRankings toggles from GameArg to PlayerCfg to be set via Misc Options
1011 SConstruct, INSTALL.txt: More consistency in SConstruct command-line variables; Added automatic Endianess-checker; Set target to 'd2x-rebirth' no matter if OpenGL or not
1012
1013 20110102
1014 --------
1015 main/credits.c, main/kconfig.c, main/menu.c, main/net_udp.c, main/newmenu.c, main/scores.c: Increasing general mouse functionality all over the game: Mouse wheel now can scroll through menu/listbox items; Right mouse button closes a menu (without the need of these ugly close boxes); Also added mouse-closing capabilities to credits, scores and kconfig menus; While being in UDP Netgames list, override keycode at PAGEUP/DOWN keypress to only flip pages without modifying citem also added messagebox showing TXT_INVALID_CHOICE when invalid netgame was chosen
1016 arch/include/key.h, arch/sdl/key.c, main/newmenu.c, main/credits.c: Introduced function key_ismodlck to get the status of modifier keys or sticky keys; Let sticky keys survive flush so we can accurately use their real states; Added key repeating via SDL; Depending on status of KEY_NUMLOCK keypad will either be used as numerical or arrow input in menus; Fixed small typo for mouse.h include in credits.c
1017
1018 20101230
1019 --------
1020 main/newmenu.c, main/menu.c: Fixed glitch in scroll arrow position; Added newmenu_scroll which can scroll through all kind is menu structures including automatically handling NM_TYPE_TEXT items as well as automatically updating scroll_offset; PageUp/Down now scrolls by 10 items, Home/end will select first/last/items of menu creating consistency to listbox behaviour; Fit text for GrabInput to be more understandable
1021
1022 20101228
1023 --------
1024 d2x-rebirth.xcodeproj/project.pbxproj, editor, include/editor, main/editor, SConstruct: Move main/editor to editor and move headers to include/editor, like d1x
1025 editor/info.c, editor/med.c, include/editor/editor.h, include/editor/info.h: Make the keypad info display into a window
1026 arch/include/event.h, arch/include/joy.h, arch/include/mouse.h, arch/sdl/event.c, arch/sdl/joy.c, arch/sdl/mouse.c, d2x.ini, include/args.h, main/automap.c, main/config.c, main/config.h, main/game.c, main/gamecntl.c, main/inferno.c, main/kconfig.c, main/menu.c, main/newmenu.c, main/playsave.c, main/playsave.h, misc/args.c: Added Sensitivity/Deadzone menu with sliders for each movement based action seperated for joystick and mouse to support all kinds of configuration - regardless the amount of joystick axes and whatnot; SDL_WM_GrabInput does not only capture mouse but also focus keyboard input - changed code to respect this fact and made grabbing a menu option which is enabled by default
1027
1028 20101224
1029 --------
1030 d2x-rebirth.xcodeproj/project.pbxproj, include/ui.h, main/editor/centers.c, main/editor/editor.h, main/editor/group.c, main/editor/medrobot.c, main/editor/medwall.c, main/editor/mine.c, main/editor/texpage.h, main/gamesave.c, main/gamesave.h, main/switch.c, main/switch.h, ui/button.c, ui/checkbox.c, ui/func.c, ui/harderr.c, ui/keytrap.c, ui/medfunc.c, ui/menubar.c, ui/mouse.c, ui/radio.c, ui/ui.c, ui/window.c: Copy some editor stuff from d1x-rebirth to d2x-rebirth, like use of the OS native cursor
1031 arch/carbon/conf.h: Disabling IPv6 support for OS X since in Snow Leopard it's buggy, making all Multiplayer pretty much impossible - re-activating soon as proper patches from Apple are in sight
1032
1033 20101223
1034 --------
1035 main/net_udp.c, main/net_udp.h: Reworked object sending/receiving to work without unnecessary type casting and a bit less error prone; Also increased UDP max packet size to 2048 so we can send 7 objects per frame; Fixded joinign games - GameID was sent for full game info, not lite info
1036 main/credits.c: Align timer_delay for credits so the song (midi or redbook) should at least be heard once
1037
1038 20101222
1039 --------
1040 arch/sdl/window.c: In window_close() prev window did not get EVENT_WINDOW_ACTIVATED but the recent closed window got it causing previous window not being activated anymore and a bunch of memory errors
1041 arch/ogl/ogl.c, include/ogl_init.h, main/ai.c, main/ai.h, main/ai2.c, main/aipath.c, main/aistruct.h, main/cntrlcen.c, main/collide.c, main/controls.c, main/escort.c, main/fuelcen.c, main/game.c, main/game.h, main/gamecntl.c, main/gameseg.c, main/gameseq.c, main/gauges.c, main/laser.c, main/lighting.c, main/mglobal.c, main/multi.c, main/multi.h, main/multibot.c, main/net_ipx.c, main/net_udp.c, main/newdemo.c, main/object.c, main/object.h, main/player.c, main/player.h, main/powerup.c, main/state.c, main/weapon.c: Made GameTime to GameTime64 using fix64; Changed all structures saving GameTime64 for internal timer purposes to store fix64 and added converting functions to save such times in fix; For Savegames/Demos always reset GameTime64 to 0 while saving and putting all timer values to safe limits, Multiplayer objects are sent in similar fashion
1042 d2x-rebirth.xcodeproj/project.pbxproj, main/menu.c, main/editor/med.c, ui/file.c: Activate EDITOR for Mac OS X in Xcode, d2x target; fix some warnings and errors
1043 main/collide.c, main/object.c, main/object.h, main/state.c: added hitobj_list to struct laser_info to get a bit cleaner code
1044 main/gamecntl.c, main/gamesave.c: Fix warning for deliberate GameTime64 wrap; change GameTime to GameTime64 for editor
1045 main/multi.h, main/net_udp.c, main/net_udp.h: in IPv6 builds also send regular broadcast packets to get games found via LAN between IPv4 clients/systems and IPv6 clients/systems; rather than identifying (lite_info) games via IP use randomly generated GameID and game name to prevent duplicated coming from IPv6 builds
1046 ui/window.c: Put event_process() in ui_mega_process(), getting editor to (mostly) work
1047
1048 20101211
1049 --------
1050 arch/include/key.h, arch/include/mouse.h, arch/sdl/event.c, arch/sdl/joy.c, arch/sdl/key.c, arch/sdl/mouse.c, arch/sdl/rbaudio.c, arch/sdl/timer.c, include/maths.h, include/timer.h, include/ui.h, main/automap.c, main/console.c, main/digiobj.c, main/editor/medrobot.c, main/editor/medwall.c, main/fireball.c, main/game.c, main/inferno.c, main/kmatrix.c, main/laser.c, main/laser.h, main/lighting.c, main/menu.c, main/multi.c, main/multi.h, main/multibot.c, main/net_ipx.c, main/net_ipx.h, main/net_udp.c, main/net_udp.h, main/newmenu.c, main/scores.c, main/titles.c, ui/listbox.c, ui/mouse.c, ui/scroll.c, ui/window.c: Introduced new data type fix64 to be used for new timers which can last 4462756 years instead of 9 hours; Introduced new timer functions to update and query program time; Used new timer all over the program except GameTime (which comes next)
1051
1052 20101205
1053 --------
1054 arch/carbon/messagebox.c, arch/include/window.h, arch/linux/messagebox.c, arch/sdl/key.c, arch/sdl/mouse.c, arch/sdl/window.c, arch/win32/messagebox.c: Add CON_DEBUG level con_printf's for basic events (not EVENT_IDLE or EVENT_DRAW though)
1055
1056 20101204
1057 --------
1058 main/bmread.c, main/piggy.c: Set a bogus sound when a sound is skipped in gamedata_read_tbl and don't let piggy_close free it
1059 main/gamecntl.c: When calling do_game_pause do not allocate msg in Game mod GM_MULTI as it's not used nor freed
1060 include/pstypes.h: Changed another WIN32 to _WIN32 to avoid accidentially compiling with WORDS_BIGENDIAN when using VisualC
1061
1062 20101203
1063 --------
1064 main/net_udp.c: Made resent_delay for net_udp_noloss_process_queue() a bit longer depending on the player's ping
1065
1066 20101130
1067 --------
1068 include/hmp.h, misc/hmp.c: Little fixes for rev950 - changed definition from WIN32 to _WIN32, added little hack for incorrectly set HMP loop in Descent2-version of descent.hmp
1069 SConstruct, arch/include/messagebox.h, arch/win32/messagebox.c, main/inferno.c, misc/error.c: Add support for Windows native error/warning boxes; Only print to stdout on Linux/other *nix; Fixed redundant printing of Error and Warning via stdout
1070 arch/carbon/messagebox.c, d2x-rebirth.xcodeproj/project.pbxproj: Add missing stuff to get it to build on Mac OS X; turn fullscreen off when showing a messagebox for Mac
1071 main/inferno.c: When Quitting is called in standard_handler disable Autodemo if active
1072
1073 20101128
1074 --------
1075 main/multi.c: In multi_new_game when initializing Players structures, also correctly init connected variable which is highly important for spreading pdata to clients and should be set correctly anyways (Thanks to Gold Leader and Flip for help with debugging/testing recent Multiplayer bugs)
1076 main/powerup.c: in do_powerup added check for distance of other players to powerup object to make redundant pickups less likely
1077 arch/carbon/messagebox.c, arch/include/messagebox.h, arch/linux/messagebox.c, arch/sdl/rbaudio.c, arch/win32/messagebox.c, d2x-rebirth.xcodeproj/project.pbxproj, main/editor/med.c, main/game.c, main/inferno.c, SConstruct: Add support for OS native error/warning boxes, only implemented for Mac for now
1078 SConstruct: Added missing brackets gone missing in r936
1079 arch/sdl/digi.c, arch/sdl/digi_mixer_music.c, include/hmp.h, main/digi.h, main/songs.c, misc/args.c, misc/hmp.c: Large improvement for _WIN32 native MIDI code by TURRICAN: supprt for HMP track loop, seamless song looping, GS reset, pausing/resuming midi, volume control for each MIDI channel; Set GameArg.SndDisableSdlMixer automatically if compiled without SDL_mixer support; On _WIN32 play HMP natively again
1080
1081 20101126
1082 --------
1083 include/physfsx.h, main/inferno.c, misc/physfsx.c: Implemented PHYSFSX_checkSupportedArchiveTypes to check if essential archive types are supported. Print warnings if not and stop program if necessary. Also added PHYSFSX_listSearchPAthContent to print out search path contents (figures) each time the function is called. Doing this before main HOG inits as well after sucessfully adding archives. Made PHYSFSX_addArchiveContent a bit more verbose as well.
1084 main/console.c, main/inferno.c: If -verbose or -debug is set, write gamelog.txt unbuffered for a higher chance to get messages there in case of a crash; Totally supress messages in stdout/err.txt on _WIN32
1085
1086 20101125
1087 --------
1088 main/net_udp.c: When adding data from net_udp_send_mdata_direct to noloss queue, use data_len as length of data stream - not len which is longer and would then cause storing garbage
1089
1090 20101123
1091 --------
1092 main/net_udp.h: reducing max buffer size of an UDP packet from 1024 to 576 bytes - should prevent possible turncating, especially when sending obejcts where max size is actually used
1093 main/net_ipx.c, main/net_udp.c: When verifying objects, do not necessarily check for controlcen as it's not necessarily there in some anarchy missions
1094
1095 20101122
1096 --------
1097 arch/sdl/jukebox.c: Make sure read_m3u won't read past the end of the buffer, causing a crash
1098 main/inferno.c: If it can't find descent2.hog/d2demo.hog, still print some useful info
1099 main/multi.c, main/multi.h, main/net_ipx.c, main/net_udp.c: Took over variable VerifyPlayerJoined for UDP protocol usage as well to get object and extra packet sending in order as well as regulary resending UPID_SYNC for latecoming players. Should resolve problems when joining already running UDP games
1100
1101 20101120
1102 --------
1103 arch/sdl/jukebox.c, include/physfsx.h, main/menu.c, misc/physfsx.c: Created function PHYSFSX_isNewPath to check wether given path has already been added to Searchpath or not; Used PHYSFSX_isNewPath for menu browsing code instead it's own implementation; Using PHYSFSX_isNewPath for Jukebox directory, too to make sure Jukebox will not accidentially remove Game content depending on user selection; Also only keep Jukebox directory added until files are stored to prevent any other file present in this path can override or add anything to the game
1104 main/config.c: For fresh configuration set Redbook music as default for Mac, Builtin music for all others
1105 main/hud.c: When checking for redundant messages in HUD display, compare new message to most recent one for locking and check whole list only for messages marked with HM_REDUNDANT. This will show all messages in correct order while keeping redundancy-prone messages from looping infinitely
1106
1107 20101109
1108 --------
1109 main/multi.c: In DropOrb PLAYER_FLAGS_FLAG-bit was not removed before calling multi_send_flags which would draw the HUD-box even if player ejected all Hoard orbs
1110 main/multi.c: In multi_consistency_error check for Game_wind before trying to set it in/visible - just for safety
1111 mem/mem.c: When running out of memory slots, do not try to print detailed info as it will only call a negative array index
1112
1113 20101108
1114 --------
1115 arch/ogl/ogl.c: Apply transparency to Hoard Orb if effect activated
1116
1117 20101101
1118 --------
1119 main/newmenu.c: In case listbox strings are too long for screen, fit box width to screen width, shorten strings and add a scroll effect to selected item
1120
1121 20101030
1122 --------
1123 main/titles: Make songs playing at end briefings loop, like they used to in the original game
1124 main/menu.c: Text string for level music was made smaller some time ago so BROWSE_TXT_SHRT basically became obsolete - removed it now and show BROWSE_TXT instead
1125
1126 20101029
1127 --------
1128 arch/sdl/digi_mixer_music, include/hmp.h, misc/hmp.c: Instead of writing converted MIDI to file, write to buffer so it can be played directly
1129
1130 20101016
1131 --------
1132 D2X.make, arch/sdl/jukebox.c, d2x-rebirth.xcodeproj/project.pbxproj, include/pstypes.h, main/game.c, main/hud.c, main/menu.c, main/newdemo.c, main/titles.c, misc/args.c, misc/physfsx.c: Fix errors for Mac OS 9, Mac OS X 'd2x' target builds again
1133
1134 20101014
1135 --------
1136 main/menu.c: Fixed compilation of menu.c when USE_SDLMIXER is not defined
1137 arch/sdl/jukebox.c, include/cfile.h, main/console.c, main/hud.c, main/menu.c, main/mission.c, main/net_ipx.c, main/net_udp.c, main/scores.c, misc/physfsx.c: Added format arguments to all printf, sprintf and snprintf calls missing them to prevent warnings/errors with some distributions of gcc
1138
1139 20101010
1140 --------
1141 d2x-rebirth.xcodeproj/project.pbxproj, INSTALL.txt: Use dynamic PhysicsFS library again to fix linking errors
1142
1143 20100926
1144 --------
1145 arch/sdl/jukebox.c, include/strutil.h, main/menu.c, misc/strutil.c: Add support for M3U playlists, tweak 'Jukebox playing' message so it shows the end of the path when truncating
1146 main/config.c, main/endlevel.c, main/menu.c, main/songs.c: Enable exit sequence song for D2X (not available via Redbook)
1147
1148 20100925
1149 --------
1150 include/cfile.h, include/physfsx.h, main/bm.c, main/bmread.c, main/multi.c, main/piggy.c, misc/physfsx.c: Add 'Data' subdir as a searchpath, so D2X will find descent.pig and to simplify a lot of file opening/checking/closing code
1151 misc/physfsx.c: fullpath variable was missing for _WIN32
1152
1153 20100919
1154 --------
1155 main/state.c: Pass -1 instead of 255 as the colour to ogl_ubitmapm_cs when drawing savegame previews, to make sure a black rectangle isn't drawn instead
1156 iff/iff.c, main/titles.c: To fix Dravis's head in endgame debriefing, don't remap the colours and read compressed .bbm bitmaps properly (both my bad)
1157
1158 20100917
1159 --------
1160 arch/carbon/conf.h: Enable IPv6 for Mac OS X
1161 main/config.c: Set default Jukebox music paths to original Redbook music in iTunes for Mac OS X
1162 d2x-rebirth.xcodeproj/project.pbxproj, include/cfile.h, include/hmp.h, include/physfsrwops.h, include/physfsx.h, INSTALL.txt, main/config.c, main/inferno.c, main/newdemo.c, main/newmenu.c, main/playsave.c, misc/hmp.c, misc/ignorecase.c: Link to PhysicsFS static library and use header from source for Mac OS X
1163 main/menu.c: Put in a note that a restart is required when changing the texture filter level (remove later when it isn't)
1164 main/gameseq.c, main/switch.c: Don't let the teleport sound get cut out by Game_wind being hidden when going to a secret level
1165 d2x-Info.plist, d2xgl-Info.plist, English.lproj/InfoPlist.strings: Increment version to 0.56.0 for Mac OS X, marking release point
1166
1167 20100904
1168 --------
1169 main/titles.c: In briefing_init() init robot angles properly because in show_spinning_robot_frame() robot_angles.h is incremented only but not initialized
1170 main/game.c, main/game.h, main/gameseq.c, main/state.c: Removed Fusion_last_sound_time and made Fusion_next_sound_time static inside FireLaser() with it's own fallback function for bogus timer values - should make this code insusceptible against errors - last but not least: minus two globals
1171
1172 20100903
1173 --------
1174 main/game.h, main/gameseq.c, main/state.c: Reset Fusion_next_sound_time in init_player_stats_level() to hopefully fix Fusion not doing damage or playing sounds
1175
1176 20100902
1177 --------
1178 arch/sdl/digi_mixer.c, arch/sdl/digi_mixer_music.c, arch/sdl/jukebox.c, d2x-rebirth.xcodeproj/project.pbxproj, main/multi.h, main/mveplay.c: On Mac OS X - no longer have to copy SDL_mixer.h to SDL framework; frameworks can now be in /Library/Frameworks; fix for obscure compile error involving u_int32_t
1179 include/args.h, include/ogl_init.h, main/inferno.c, main/menu.c, main/movie.c, main/config.c, main/config.h, misc/args.c, 2d/font.c, d2x.ini, arch/ogl/ogl.c, arch/ogl/gr.c: Rewrote code to control Texture Filtering a little so it's easier to apply Mipmaps for different parts of the game independently; Made Movie Filtering a menu option which must be enabled seperately; Added Movie Subtitles toggle to misc game options
1180 main/gamecntl.c, main/menu.c, main/newdemo.c, main/newdemo.h: Using PHYSFSX_findFiles to make sure random demo playback will only find actual demo files and not quit autodemo; added DEMO_EXT for an universal definition of demo file extension
1181 arch/sdl/digi_mixer_music.c: When opening music file via filehandle, made sure buffer is freed after playing to prevent major memory leakage
1182
1183 20100901
1184 --------
1185 main/net_ipx.c, main/net_udp.c: in pdata communication swap_bytes was set for create_shortpos causing problems on PPC architecture; in multiplayer host menu set citem to START GAME by default
1186
1187 20100831
1188 --------
1189 include/u_mem.h, main/menu.c, main/newmenu.c, main/newmenu.h: Added feature to let select_file_reursive() change drive on _WIN32 via CTRL-D; Removed second definition of MEM_K accidentially happened due to bad communication
1190
1191 20100828
1192 --------
1193 main/menu.c: In list_dir_el make sure PHYSFS_getRealDir won't give NULL to strcmp which will happen for files located in a Windows root directory
1194 include/u_mem.h: Make define of MEM_K apply to non-debug builds as well (whoops)
1195 main/menu.c: In select_file_recursive handle paths relative to the current write directory correctly
1196
1197 20100827
1198 --------
1199 arch/include/jukebox.h, arch/sdl/jukebox.c, include/u_mem.h, main/menu.c: Add path browsing feature to make song file/directory selection easier
1200 include/u_mem.h, main/menu.c: Moving upwards definition of MEM_K so it's not restricted to !NDEBUG; Initialized **i in list_dir_el properly to silence gcc when compiling
1201 main/menu.c: In select_file_handler properly initialize newpath preventing memory errors and crashes
1202
1203 20100825
1204 --------
1205 main/menu.c, main/songs.c: When 'force descent ][ cd track order' is chosen, play and loop the credits track after the title track for Jukebox too
1206
1207 20100824
1208 --------
1209 main/mission.c, main/mission.h, main/titles.c: Overhauled detection of TEX/TXB files for Briefings and Endings
1210
1211 20100823
1212 --------
1213 main/songs.c: For Redbook, play the credits track after the title track like original Descent 2 did
1214
1215 20100822
1216 --------
1217 main/net_ipx.c, main/net_udp.c: Moved levelnum-sanity-check in game_param_handler so it will be checked when screen is changed to allow entry of secret levels (which does not work in D2X-Rebirth - it's only done for code similarity); added menu item START GAME for consistency and added proper subtitle for game setup page
1218 arch/sdl/digi_mixer_music.c: Use more reliable Mix_LoadMUS for music in directory searchpaths, so WAVE's and MP3's are correctly loaded (probably others)
1219
1220 20100821
1221 --------
1222 d2x-rebirth.ico, d2x-rebirth.xpm, arch/sdl/gr.c, arch/ogl/gr.c: Bind WM-Icon to application
1223 SConstruct, d2x-rebirth.bmp, d2x-rebirth.xpm, arch/sdl/gr.c, arch/ogl/gr.c, arch/win32/d2xr.res: Added res-file to be linked in Windows build to show icon in Filemanager; converted icon file to be smaller
1224
1225 20100819
1226 --------
1227 d2x-rebirth/main/multi.c, d2x-rebirth/main/bmread.c, d2x-rebirth/main/bmread.h, d2x-rebirth/main/paging.c, d2x-rebirth/main/piggy.c, d2x-rebirth/main/render.c, d2x-rebirth/main/net_ipx.c, d2x-rebirth/main/dumpmine.c, d2x-rebirth/main/editor/kmine.c, d2x-rebirth/main/editor/mine.c, d2x-rebirth/main/editor/group.c, d2x-rebirth/main/editor/med.c, d2x-rebirth/main/editor/eswitch.c, d2x-rebirth/main/editor/medwall.c, d2x-rebirth/main/kconfig.c, d2x-rebirth/main/gamecntl.c, d2x-rebirth/ui/window.c, d2x-rebirth/ui/keypad.c, d2x-rebirth/mem/mem.c: Patching together editor so it compiles again (while still not running); Implemented PhysFS for file accessing for editor- and debugging-related code
1228 main/gamecntl.c: Removed processing of HandleVRKey() as this code is not usable anymore and blocks some system keys (removal of general VR-code will follow later)
1229 main/songs.c, arch/sdl/digi_mixer_music.c, arch/sdl/rbaudio.c, arch/sdl/digi.c: For each Music playback system defining own volume scaling definition which was wrong for SDL_mixer
1230
1231 20100817
1232 --------
1233 main/digi.h, main/menu.c, main/songs.c, main/songs.h: Renamed MUSIC TYPE options BUILT-IN MUSIC to BUILT-IN/ADDON MUSIC and CUSTOM MUSIC to JUKEBOX; Removed LEVEL-DEPENDENT play order for Jukebox as this is now mainly covered by AddOn packs and future M3U-support
1234
1235 20100816
1236 --------
1237 main/net_ipx.c, main/net_udp.c: When switching from COOP to any other game mode, make sure Netgame.max_numplayers, MaxNumNetPlayers as well as the menu text showing the player limit is updated correctly
1238 INSTALL.txt: Updated docs to add new OGG Soundtrack created by Brandon Blume
1239 main/inferno.c: Moved up PHYSFSX_addArchiveContent() a little inside main() so -debug and -verbose will show us this content which will be helpful for debugging possible problems with AddOn Zips
1240
1241 20100815
1242 --------
1243 INSTALL.txt, include/physfsx.h, main/inferno.c, misc/physfsx.c: Added support to automatically load/mount ZIP files at startup, giving option to dynamically override or replace game content; Updated docs
1244
1245 20100814
1246 --------
1247 main/game.c: Tidy up for EVENT_IDLE case in game_handler, hopefully fixing obscure 'optimise threads' bug
1248
1249 20100811
1250 --------
1251 main/laser.c: The inital vector scaling to compensate previous frame-skipped tracking was not aligned to FrameTime. Removed that code and just divided homer_turn_base values to compensate this offset properly. Thanks to zif for hinting me to that; Added comment about the how and why of the homing missile scaling issue
1252
1253 20100809
1254 --------
1255 d2x-rebirth.xcodeproj/project.pbxproj, include/physfsx.h, include/pstypes.h, misc/physfsx.c, SConstruct: Add 'Resources' in .app bundle to searchpath for Mac; move bigger functions from physfsx.h to physfsx.c; resolve conflict with definition of 'bool'
1256 include/pstypes.h: Cleaned and simplified includes to fix possible and actual problems with PATH_MAX
1257
1258 20100806
1259 --------
1260 arch/sdl/event.c: Between event sending, exit event_process if front window is different, fixing netgame joining problem introduced with commit on 20100731
1261
1262 20100803
1263 --------
1264 main/hud.c: When updating redundant HUD messages check the for-loop not the start with a negative number - causes too long message display and negative array index
1265
1266 20100801
1267 --------
1268 main/menu.c, main/songs.c, main/songs.h, main/gameseq.c, main/digi.h, arch/sdl/digi.c: Builtin music list now dynamically allocated and not limited to 30 songs; Instead of never loading new level when loading savestate ingame, only do this for Redbook and Custom Music playing order 'continously'; if no endlevel song is specified in Custom Music continue with level music
1269 arch/sdl/mouse.c: If mouse_toggle_cursor is set to activate, do not toggle ursor visibility as mouse_update_cursor_and_grab might decide it should be hidden
1270 main/automap.c, main/text.h: Fixed automap marker info as well as misleading text defines
1271
1272 20100731
1273 --------
1274 main/gamepal.c, main/gamerend.c, main/inferno.c, main/kmatrix.c, main/menu.c, main/newmenu.c, main/newmenu.h, main/scores.c: For polling newmenus, set rval using a pointer and don't delay closing the window, hopefully fixing bad memory access when clicking in level scores screen; change newmenu_close to newmenu_free_background to avoid confusion
1275
1276 20100730
1277 --------
1278 main/game.c: Removed leftover of mouse grabbing from set_screen_mode - forgot to do this in rev1192
1279 SConstruct: restricted parsing of sdl-config to *NIX and Mac builds as it's static on Win32 anyways; added verbosebuild as SCons option to print out all compiler/linker messages
1280 main/state.c, main/game.c, arch/sdl/event.c, arch/sdl/mouse.c, arch/include/event.h: Added event_flush to take place in game_flush_inputs which will clean SDL events which may be buffered while event_process was suspended; suspend Game_Wind while loading restoring save state while playing a level to properly flush controls and reset timer; when toggeling cursor, also directly modify the mouse to wanted behaviour instead of waiting for mouse_update_cursor_and_grab
1281
1282 20100729
1283 --------
1284 main/automap.c, main/cntrlcen.c, main/game.c, main/gamecntl.c, main/gameseq.c, main/menu.c, main/movie.c, main/newmenu.c: Tidy up use of set_screen_mode
1285 arch/ogl/gr.c, arch/ogl/ogl.c: Using rather sane values for gluPerspective - fixing Z-Fighting bugs on Intel chips; in Fullscreen toggle, always apply new viewing values independent of Screen_mode
1286
1287 20100728
1288 --------
1289 main/automap.c, main/game.c, main/gamecntl.c, arch/sdl/init.c, arch/sdl/mouse.c, arch/include/mouse.h: One more take on Mouse cursor friendliness: Merged mouse_toggle_cursor and mouse_toggle_grab; instead of trying to use SDL_GetAppState (which does not work as expected on Windows) to release mouse, use strict calls of mouse_toggle_cursor so we at least have a free mouse outside of Game_wind and Automap; decreased time to automatically hide cursor; added mouse_close to release mouse in case of emergency
1290
1291 20100727
1292 --------
1293 2d/pcx.c, include/pcx.h, main/cntrlcen.h, main/fuelcen.h, main/gameseq.c, main/kmatrix.c: Show stars background for died in mine and secret level messageboxes; equalise fuelcen.h and cntrlcen.h
1294 arch/sdl/mouse.c: Fixing automatic mouse release function - still this does not seem to work in every case
1295 misc/hmp.c: Fixing bug in MIDI header - format was written in size of int instead of short
1296 arch/sdl/digi_audio.c, arch/sdl/digi_mixer.c, main/config.c: Moved digi_set_digi_volume call from config loading to designated audio subsystem init function so it will be correctly set after the sound system is auctionlly initialized
1297
1298 20100726
1299 --------
1300 arch/sdl/event.c, arch/sdl/mouse.c: Overhauling showing/grabbing cursor and also taking care of case if program looses focus; store old_delta_x/y in mouse info structure
1301
1302 20100725
1303 --------
1304 arch/sdl/event.c, arch/ogl/gr.c, arch/sdl/gr.c: Exit SDL_PollEvent early if window changes, to avoid menu problems when pressing keys fast; fix 'condition is always false' warning
1305 main/inferno.c, main/inferno.h, main/movie.c: Rewrite quit system, fixing *many* bugs with it :P
1306 main/newmenu: For menus, only call the user function for closing immediately before closing, fixing memory errors when the user function frees memory
1307 main/newmenu.c: Fix crash caused by last commit (whoops)
1308
1309 20100721
1310 --------
1311 main/net_udp.c: Fixing crash when joinging game over UDP Netlist: when exiting the menu for any reason, return 0 instead of following the code and possibly lead to drawing text from a newly free'd pointer - D'OH!
1312
1313 20100720
1314 --------
1315 main/net_udp.c: Thanks to Marix for hinting me I should not init a pointer with quotes if I plan to allocate/free it... my stupid-level officially broke the record
1316
1317 20100719
1318 --------
1319 misc/hmp.c: Did not close hmp after MIDI conversion which caused some unfree memory - fixed
1320 main/gameseq.c, main/state.c, main/state.h: Introduced state_quick_item so we can safly check if there is a valid quicksave slot wihtout messing around with state_Default_item which is supposed to always show a valid slot in the first place
1321 main/titles.c: In briefings make sure Current_color cannot exceed possible array bounds
1322 include/strutil.h, main/newdemo.c: Fixing some harmless compiler warnings caused by missing includes, missing newlines at end of file; cleaned up strutil.h
1323 arch/win32/ipx.c: Removed redundant Winsock calls from Windows-specific IPX code - it's already in net_ipx.c
1324
1325 20100718
1326 --------
1327 SCsonstruct, d1x-rebirth.xcodeproj, arch/sdl/digi.c, arch/sdl/digi_mixer_music.c, include/cfile.h, include/hmp.h, include/hmp.c: Merged all HMP-related code into hmp.c/h; Also introduced new HMP to MIDI conversion functions based on JJFFE which use former Win32-related HMP-code - fixes some bugs in MIDI conversion and cleaner
1328
1329 20100717
1330 --------
1331 main/render.c: Fix overlapping room in D1 lvl19 by moving vertex a little. Still a hack
1332 main/gameseg.c, main/render.c: Instead of screwing by possibly using negative array indicies in find_seg_side() return -1. In ordering segments make this result in unimportant order; Taking in some Asserts which were disabled years ago by me. Let's fix this for real when we get to it
1333 arch/sdl/digi_audio.c: For normal digital audio (11/22Khz) use buffer of 1024 for all platforms to prevent delay
1334
1335 20100716
1336 --------
1337 main/gamecntl.c: Fixing showing options menu in demos - was still called (or rather not) by obsolete variable
1338 main/newmenu.c, main/newmenu.h, main/automap.c, main/game.c, main/kconfig.c, arch/sdl/event.c, arch/sdl/joy.c, arch/sdl/init.c, arch/sdl/key.c, arch/sdl/mouse.c, arch/include/mouse.h: Only use one single call of timer_get_fixed_seconds() for whole SDL event loop; Abstracted grabbing mouse and mouse cursor toogle to mouse functions instead of calling SDL functions inside of non-arch code; Automatically hide mouse cursor if it's not used for more than 3 seconds; Reworked placement of mouse grabbing toggle; Do not read any mouse input if -nomouse is given
1339 main/newdemo.c: If newdemo_start_playback fails if random file is given set -autodemo to 0 to prevent endless loop
1340
1341 20100715
1342 --------
1343 main/object.c, main/wall.c, main/newdemo.c, main/newdemo.h, main/gauges.c: Cleaned the variables used for newdemo code; Instead of giving both old and new values to special recording functions, added new variables to demo code serving this purpose and also checking for redundant record calls which only would waste bytes; Removed duplicated-object-id-hack which did not work as expected and caused jittering on playback; In that process, found a bug where Num_open_doors might nor be set correctly - cleaned that up a little and got also rid of one aweful goto; Made sure cloaked walls are recorded FPS-independent but rather fade-value-dependent
1344 main/titles.c: Scale tab stops in briefings to font-size correctly
1345 main/titles.c: Make sure the right canvas is set for titles and briefings, fixing bug where briefing is shown in the cockpit when using 'freespace' cheat
1346
1347 20100713
1348 --------
1349 include/args.h, main/net_udp.c, main/collide.c, main/multi.c, main/inferno.c, main/object.c, main/gamepal.c, main/wall.c, main/state.c, main/hud.c, main/weapon.c, main/hostage.c, main/hudmsg.h, main/newdemo.c, main/switch.c, main/net_ipx.c, main/gameseq.c, main/escort.c, main/fuelcen.c, main/endlevel.c, main/powerup.c, main/automap.c, main/game.c, main/gauges.c, main/kconfig.c, main/gauges.h, main/gamecntl.c, misc/args.c, d2x.ini, arch/ogl/gr.c, arch/sdl/jukebox.c: Added expandable classes for HUD messages (like D1X but slacked) to better handle Multi messages or redundant messages; Rewrote HUD code completely; Changes -playermessages to -multimessages since this is more appropriate; Removed remnants of -mprofile
1350
1351 20100709
1352 --------
1353 main/mission.c, main/titles.c: When reading mission file, check for sanity of possible breifing or ending to make sure author did not just screw up the file; Fixed slight bug when playing ending briefings from secret levels
1354 main/laser.c: Trying to improve reliability to find appropriate homing object by using vm_vec_mag/normalize instead of their *quick equivalents
1355
1356 20100708
1357 --------
1358 main/net_udp.c, main/net_udp.h: Reworked handling of Netlist now also showing full game info; Prevent Clients from sending lite_info; Make lite_info show numconnected instead of numplayers as this would show disconnected ones as well; Removed reusing ports on different instances in Windows build - only screws up several games running on one machine
1359 main/game.c, main/gameseq.c, main/multi.c, main/net_udp.c, main/net_ipx.c: Improved hanlding for closing sockets - doing via closing of Game_wind when available or in specific multi menus; Also handling GM_GAME_OVER setting over Game_wind closing as well if apprpriate - cleaner and helps to cleanup multi when mission is over
1360 arch/sdl/key.c: Also send event KEY_COMMAND if there's somethig in our Unicode buffer since not every Unicode key corresponds to a keysym on every layout
1361 README.txt: Fixing typo
1362
1363 20100705
1364 --------
1365 main/kconfig.c: Fixing issue when assigning mouse button if a citem is still pointed out; Fixing still processing key commands even if we want to assign a key; After setting mouse button, reset mouse state properly
1366 arch/sdl/digi_mixer_music.c: Fixing issue introduced in rev1139: Game could of course not open music files which are not inside Searchpath or added to it - re-added playing over absolute path
1367 main/net_ipx.c, main/net_udp.c: When selecting coop game mode, make sure that besides max players menu values also actual player number is set and menu text is updated properly
1368 main/net_udp.h: Reducing sending objects per frame from 20 to 1 again to reduce possibility of timeout on stressed systems
1369 main/songs.c: Fixing building on Windows if SDL_Mixer is not a target
1370
1371 20100704
1372 --------
1373 SConstruct: Fixing Windows build which was not linking against SDL
1374 main/net_udp.c: Fixed Compiler-warning on Windows
1375 main/net_ipx.c, main/net_udp.c: Implemented Winsock functions for UDP which I totally forgot about; Now when leaving game in any way, close sockets and Winsock stuff
1376 main/gameseq.c, main/multi.c: Since time is not suspended between levels in Multiplayer, call reset_time after level change. Apply this in Singleplayer, too since it should always be safe - and appropriate - to reset timer_value soon as a new level begins
1377 main/net_udp.c: Fixes for rev1148: Was too hasty with calling net_udp_close; Fixing typo in WSACleanup()
1378
1379 20100701
1380 --------
1381 2d/font.c: For gr_get_string_size introduced get_char_width_f to calculate with floats to measure non-integer font scalings; Cleanup
1382 main/net_udp.c, main/newmenu.c: Renamed manual_join to direct_join; Aligned letlist tabs a little bit
1383
1384 20100630
1385 --------
1386 main/gameseq.c: If multi_level_sync() fails, restart menu music since level music is playing already
1387 main/game.c, main/net_ipx.c, main/net_udp.c, main/newmenu.c, main/newmenu.h, main/weapon.c: Removed SurfingNet global and made tabs a parameter of newmenu_dotiny; Same procedure with MenuReordering which is replaced with newmenu_doreorder to set reordering flag specifically
1388 main/net_udp.c: Always try to open UDP default port when discovering Netgames and give warning if that fails; If entered IP address cannot be resoled, do not warn me twice
1389
1390 20100629
1391 --------
1392 main/net_ipx.c, main/net_udp.c: Aligned default width for IPX-Netlist menu to fit possible items a bit better; Fixed two small bugs when sending and receiving lite_info in UDP; Allowed broadcast on UDP sockets (for later use)
1393 main/menu.c, main/new_udp.c, main/net_udp.h: Added UDP Netlist to join LAN games discovered/announced via broadcast
1394 main/net_ipx.c, main/net_udp.c: Improved handling of multi level sync and exit smoothly back to the menus; Fixed another small bug in lite_info broadcasting which was sending full info; By broadcasting full info, host could cripple Netgame so a new security measure is implemented to protect host from letting his game be overwritten from outside
1395
1396 20100627
1397 --------
1398 main/game.c, main/game.h, main/gameseq.c: When starting, leaving or changing a level in any way, use more ordered approach to set Game_wind visible or invisible. Fixing timer-issues after level-change and makes hiding of Game_wind obsolete for certain messageboxes; Moved GameTime and weapon timer variables out of reset_time since this function is not appropriate for this and is not needed between levels anymore due to window management handling start/stop_time properly
1399 arch/sdl/digi_mixer_music.c, main/jukebox.c: For playing music over SDL_mixer always use handle over PhysFS to save the path building mess; When building Jukebox path, only try to build full path if given path is actually a child of Searchpath
1400
1401 20100625
1402 --------
1403 main/titles.c: Made Briefing printing sound apply everytime there is chattering enabled. Even if it would be logical to have it only with flashing cursor, most briefings - even Counterstrike - forget to toggle it correctly
1404
1405 20100624
1406 --------
1407 arch/ogl/gr.c, arch/sdl/gr.c, include/gr.h, main/menu.c: Added function to list valid resolutions and build resolutions menu dynamically with the resulting list
1408 main/gamecntl.c: When inregulary exiting a level by warp cheat, suspend Game_wind and reactivate again after the switch
1409
1410 20100623
1411 --------
1412 main/menu.c, main/newmenu.c, main/newmenu.h, main/net_ipx.c: Making menus recreated on the fly in case resolution or font-size changes; Removing arguments to pass width and height to menu which was not used except on one IPX menu; Fixing measurement of menu strings of type NM_TYPE_INPUT_MENU; Fixing slight bug in freeing IPX netlist
1413 main/menu.c: If no player exists and GameCfg.LasterPlayer is unset, give user a nice default for convenience and - more important - let menu stop to nag about missing callsign and thereby showing the player creation dialogue over and over again
1414 main/newmenu.c: Fix for last rev1130 - store resolution and font-size in matching data type
1415
1416 20100622
1417 --------
1418 main/titles.c: Make sure GAME_FONT is set when reading out briefing text so char dimensions will always be stored correctly
1419
1420 20100620
1421 --------
1422 main/newdemo.c: For starting demo, seperate hide_menus() and game_setup() since between this, demo must load the actual level and it's palette; Fixed small bug in interpolate_frame() causing interpolation happening in very first frame causing file read corruption
1423
1424 20100619
1425 --------
1426 main/titles.c: For briefings, keep elementes of show_briefing_bitmap and show_animated_bitmap in correct aspect
1427 d2x.ini, include/args.h, include/libmve.h, main/inferno.c, main/movie.c, libmve/mve_main.c, main/mveplay.c, misc/args.c: Show movies in correct aspect; Added mipmap generation to movie texture if Texture filtering enabled - can also be disabled seperately
1428 main/laser.c: Re-balanced homing-device turn values introduced in rev1118 based on comparisons to many levels played
1429
1430 20100618
1431 --------
1432 2d/bitblt.c, include/gr.h, main/game.c, main/gauges.c: Introducing gr_bitblt_find_transparent_area to dynamically detect boundaries of sub canvas used for CM_REAR_VIEW; On the way also allowing to create weapon box sub bitmaps from uncompressed cockpit bitmaps
1433 include/physfsx.h, main/newdemo.c: Removed PHYSFSX_getFreeDiskSpace and relying on success of buffered writing to see if demo recording must be stopped
1434
1435 20100617
1436 --------
1437 main/weapons.c: If picking up one missile out of a four-pack, use singular description instead of plural
1438
1439 20100615
1440 --------
1441 main/game.c, main/gameseq.c: Resetting GameTime, Next/Last_flare/laser/missile_time in reset_time() together so GameTime-rollover-fallbacks will not create a massive delay when starting a new level
1442 main/laser.c: Removed the previously used homers code and instead used old one to keep good ol' Gameplay; Removed FrameCount steps from track_track_goal() and scaled homing vector accordingly to this change, including properly scaling it to FrameTime; Made code more similar between D1X and D2X; Introduced different turn rates for different difficulty levels
1443 main/game.c: Fixing typo in Netgame help screen
1444 arch/sdl/digi.c, arch/sdl/digi_audio.c, main/songs.c: Fixing digi_win32_ functions I broke yesterday. THANKS ZIF!
1445
1446 20100614
1447 --------
1448 include/args.h, include/physfsx.h, main/inferno.c, main/menu.c, main/movie.c, main/songs.c, main/songs.h, main/switch.c, main/config.c, main/config.h, main/gameseq.c, main/digiobj.c, main/digi.h, main/game.c, main/gamecntl.c, misc/args.c, CHANGELOG.txt, d2x.ini, arch/sdl/digi_mixer.c, arch/sdl/digi_mixer_music.c, arch/sdl/init.c, arch/sdl/jukebox.c, arch/sdl/digi.c, arch/sdl/digi_audio.c, arch/include/digi_audio.h, arch/include/digi_mixer.h, arch/include/digi_mixer_music.h, arch/include/jukebox.h: Increased SDL_mixer music abilities to play non-hmp from HOGs, having Level-music path to play, options to specify non-level tracks and added various playing order methods; Abstracted SDL_mixer- and Redbook-interfaces; Simplified program flow through all music functions
1449 arch/sdl/jukebox.c: Small fix and improvement for Jukebox path detection
1450 arch/sdl/digi_mixer_music.c, main/songs.c: Use strrchr instead of strchr for music filename extension in case there are dots in the filename
1451 main/collide.c: Made reactor damage with persistent weapons FPS-independent but still a bit stronger than normal
1452 arch/sdl/jukebox.c: rev1112 contd: Killed juggling around with adding Jukebox paths - must always be removed correctly if Jukebox loading fails
1453 arch/linux/hmiplay.c, arch/sdl/digi.c, main/songs.c: Process -nomusic argument again
1454
1455 20100503
1456 --------
1457 main/menu.c: Properly specify number of items for do_options_menu, so the options menu actually shows
1458 arch/include/event.h, main/newmenu.h: Merge d_event and newmenu_event enum's, hopefully fixing compiler warnings in GCC 4.5.0
1459 arch/sdl/joy.c, arch/sdl/key.c, arch/sdl/mouse.c: Comment out redundant calls to event_poll, fixing rapid bomb dropping bug (and probably others)
1460
1461 20100405
1462 --------
1463 arch/include/digi_audio.h, arch/include/digi_mixer.h, arch/include/digi_mixer_music.h, arch/linux/hmiplay.c, arch/linux/hmistub.c, arch/sdl/digi.c, arch/sdl/digi_audio.c, arch/sdl/digi_mixer.c, arch/sdl/digi_mixer_music.c, arch/sdl/jukebox.c, arch/sdl/rbaudio.c, include/strutil.h, main/digi.h, main/gamecntl.c, main/songs.c, main/songs.h, main/titles.c, misc/strutil.c: Actually play endgame music when game is finished, play briefing music instead of hum if appropriate
1464 main/gameseq.c, main/titles.c: Actually fix endgame music, make briefing beep only play when flashing_cursor is on, no restarting music when reloading a saved game
1465
1466 20100404
1467 --------
1468 arch/include/event.h, arch/sdl/event.c, main/automap.c, main/game.c, main/gamecntl.c, main/gamepal.c, main/gameseq.c, main/inferno.c, main/inferno.h, main/menu.c, main/multi.c, main/net_ipx.c, main/net_udp.c, main/newdemo.c, main/state.c, misc/error.c: Get rid of a heap of uses of Function_mode, quit properly (freeing all windows and asking for confirmation for game) when clicking close box
1469 arch/include/window.h, arch/sdl/window.c, main/inferno.c, main/menu.c, main/mission.c, main/net_ipx.c, main/net_ipx.h, main/net_udp.c, main/net_udp.h, main/newmenu.c: Make menus for hosting a netgame stack, make quitting work with newmenu_do2 and simpler
1470
1471 20100403
1472 --------
1473 arch/sdl/mouse.c, main/game.c, main/net_ipx.c, main/newmenu.c, main/newmenu.h, main/state.c: Make newmenu_do3 and newmenu_dotiny return as soon as the newmenu is created, which will allow the main menu (and others) to persist
1474 main/menu.c: Make main menu persist to streamline redrawing (later)
1475 main/kconfig.c, main/net_ipx.c, main/net_udp.c, main/newmenu.c, main/scores.c: Remove calls to nm_draw_background1 to show newmenus stacked
1476 main/menu.c, main/newmenu.c, main/scores.c: Move copyright drawing to main menu's event handler for tidiness
1477
1478 20100402
1479 --------
1480 arch/include/event.h, arch/sdl/event.c, arch/sdl/key.c, arch/sdl/mouse.c, main/automap.c, main/credits.c, main/escort.c, main/game.c, main/gamecntl.c, main/inferno.c, main/kconfig.c, main/kmatrix.c, main/movie.c, main/net_ipx.c, main/net_udp.c, main/newmenu.c, main/scores.c, main/titles.c: Add a default event handler for screenshots, entering debugger, Redbook repeating etc
1481 main/menu.c, main/newmenu.c: Keep demo selector just after playing one, for convenience
1482
1483 20100331
1484 --------
1485 main/gamecntl.c, main/laser.c, main/laser.h: Make gamecntl.c more similar between D1X and D2X
1486 main/automap.c, main/game.c, main/gamecntl.c, main/multi.c, main/multi.h: Make game respond to EVENT_KEY_COMMAND for key commands, allowing default key handler (later)
1487 main/gamecntl.c: Fix bug introduced in last commit where the player can't escape from the death sequence (whoops)
1488 main/endlevel.c: Hide the game window so the exit movie has a black background
1489
1490 20100330
1491 --------
1492 main/titles.c: For Descent 1 briefings, only change the palette to groupa.256 for brief03.pcx - the robot screen. Improves palette use for sdl build
1493 main/menu.c, main/menu.h, main/movie.c: Don't reshow the mission menu after playing a level intro movie
1494
1495 20100328
1496 --------
1497 main/lighting.c: For casting light from Player-object, smooth out thrust to prevent flickering on high FPS
1498
1499 20100327
1500 --------
1501 main/kmatrix.c, main/net_udp.c: Initialise 'playing' to 0 for UDP kmatrix, making sure player progresses to next level; always return 1 when starting to join a UDP game so it doesn't immediately return to the main menu
1502 main/gameseq.c, main/menu.c: Hide mission dialog before the level intro screens are shown, make sure it doesn't try to show it again after it was closed - fixing bad memory access
1503 main/game.c: Finally fix bug where if you start a single player game then a multiplayer game, time is stopped. Always start time if it's stopped and the game window is activated
1504 main/menu.c: Check menus[0], not menus[i] in hide_menus - fixing possible crash
1505
1506 20100326
1507 --------
1508 main/endlevel.c, main/gameseq.c, main/mission.c, main/mission.h, main/titles.c, main/titles.h: In Endlevel sequence, re-align big explosion to draw in front of exit model, relative to viewer; Re-organized tex files for Briefings and Endings and created more general code to play them; Re-aligned Dravis' head
1509 main/automap.c, main/escort.c, main/gamecntl.c, main/kconfig.c, main/net_ipx.c, main/net_udp.c, main/newmenu.c, main/scores.c: Make all windows except game and editor use EVENT_KEY_COMMAND, returning 1 if handled; pass NULL instead of userdata for the PCX filename, for newmenu_do1
1510 include/cfile.h, include/physfsx.h, main/piggy.c: Ignore case-sensitivity for cfile_init/close/size and PHYSFSX_openReadBuffered; Give error message if default sound file cannot be opened so user knows what's going on
1511 main/titles.c: Fixing uninitialized angles for robots in briefings
1512
1513 20100325
1514 --------
1515 main/titles.c: Make sure got_z is not reset to 0 for Descent 1 missions - fixing crash, also make sure briefing hum is not played through more than one channel
1516
1517 20100324
1518 --------
1519 arch/include/event.h, arch/include/mouse.h, arch/sdl/mouse.c, main/kconfig.c, main/movie.c, main/newmenu.c, main/titles.c: Add EVENT_MOUSE_BUTTON_DOWN and EVENT_MOUSE_BUTTON_UP, use for all windows except game and editor. Fixes crash on iMac G5 when pressing keys to progress through briefing
1520 main/titles.c: Only show briefing background if we have one, fixing arithmetic crash with SDL Video build
1521
1522 20100322
1523 --------
1524 main/credits.c: Make credits screen a window
1525 main/credits.c, main/titles.c: Fix error introduced with credits, make title screen a window. Only the editor left now...
1526
1527 20100321
1528 --------
1529 main/gameseq.c, main/multi.c: Hide game window between levels, fixing bug where many textures are loaded with the wrong palette when advancing to the next multiplayer level
1530 main/multi.c: Fix bug introduced in last commit - when the last level is finished, hide the game window - making sure the cockpit isn't drawn over the kmatrix screen
1531
1532 20100320
1533 --------
1534 main/kmatrix.c, main/multi.c, main/multi.h: Make kmatrixs into windows (failed attempt at fixing a bug)
1535 main/game.c: Fix bug - make sure time isn't stopped for multiplayer when aborting, so starting a second game doesn't result in a frozen game
1536
1537 20100318
1538 --------
1539 main/menu.c, main/menu.h, main/movie.c: Show intro movie properly when idle in main menu, including subtitles if on
1540 main/titles.c: Make briefing into a window, allowing more flexibility with other windows and tidying code up
1541 main/game.c, main/menu.c, main/mission.c, main/mission.h, main/net_ipx.c, main/net_ipx.h, main/net_udp.c, main/net_udp.h, main/newmenu.c, main/newmenu.h: Make all listboxes fall back to main event loop for flexibility
1542
1543 20100317
1544 --------
1545 arch/include/window.h, arch/sdl/window.c, libmve/mveplay.c, main/movie.c, main/titles.c: Make fullscreen movies into windows, maintain performance of robot briefing movies with necessary move of gr_flip
1546
1547 20100313
1548 --------
1549 main/newmenu.c: Fix memory error for listbox when clicking in the region where there are no items
1550
1551 20100310
1552 --------
1553 main/titles.c: Put most local variables in show_briefing in 'briefing' struct, to make briefing a window in future
1554
1555 20100309
1556 --------
1557 main/titles.c: Put briefing globals in 'briefing' struct, pass this by parameter
1558 arch/sdl/digi_audio.c, arch/sdl/digi_mixer.c: Change audio buffer size back to 1024 for Mac only - fixing crackly music
1559 main/titles.c, main/titles.h: Put parameters in functions from do_briefing_screens to show_briefing in 'briefing' struct, to make briefing a window in future
1560
1561 20100303
1562 --------
1563 arch/sdl/digi_audio.c, arch/sdl/digi_mixer.c: Changed default Audio-buffer size to 2048 bytes. Should prevent crackly playback on some systems
1564 debian/control: Adding scons to depends-list for Debian packaging
1565 main/mission.c: Init variables/strings at the beginning of load_mission() to prevent errors if demo content is used
1566
1567 20100301
1568 --------
1569 main/titles.c, main/titles.h: Make titles.c more similar between D1X and D2X
1570
1571 20100227
1572 --------
1573 main/menu.c: Actually change to MIDI if Jukebox was selected
1574 arch/sdl/jukebox.c: No more crashing if an invalid Jukebox path is entered - default to MIDI
1575
1576 20100226
1577 --------
1578 main/menu.c, main/newmenu.c: Handle all user input in callback for sounds menu, being more judicious about when to restart the music. Also make the jukebox path input a NM_TYPE_INPUT_MENU, allowing the user to abort changes
1579
1580 20100225
1581 --------
1582 main/game.c, main/gamecntl.c, main/gameseq.c, main/state.c, main/state.h: Put fast save back, using Alt-F1 instead of F6
1583 arch/sdl/key.c: Move call to callback outside of loop in key_handler, now deleting a second demo using CTRL-D actually works
1584 main/automap.c, main/escort.c, main/game.c, main/gamecntl.c, main/gauges.c, main/kconfig.c, main/net_ipx.c, main/net_udp.c, main/newmenu.c, main/scores.c: Call game_flush_inputs for all windows' EVENT_WINDOW_ACTIVATED, so clicking on a pilot doesn't bring up the multiplayer screen for example
1585 main/kconfig.c: Resetting menu->mouse_state after changing a key in kconfig so you will not accidentially activate a new field when left mouse button is assigned
1586
1587 20100224
1588 --------
1589 main/kconfig.c: Due to the change of GameCfg.ControlType, Mouselook was broken - fixed
1590
1591 20100223
1592 --------
1593 SConstruct: Removing svnmicro as micro numbering option since SVN-revisions will not really represent logical numbering; Some cleaning for libs usage; Small cleanup
1594 SConstruct, main/multi.h, main/net_udp.c, main/net_udp.h, main/vers_id.h: Make Version-check for UDP also cover Micro-versions; Making sure versioning will act same way as conf.h for MacOS
1595 main/game.c, main/multi.c: Add to help how to send a message to a specific player in Multiplayer; Removed NoBombs command as this is covered by the weapons selection in Multiplayer game creation
1596 main/songs.c: Adding a Failsafe to Songs-reading so it will not accidentially read over current Array-boundaries
1597 INSTALL.TXT, README.TXT: Updated docs and hopefully made them more user-friendly
1598
1599 20100221
1600 --------
1601 main/config.h, main/kconfig.c, main/kconfig.h, main/menu.c, main/playsave.c, main/playsave.h, main/text.h: Overhaul for CONTROLS menu; Cleaned kconfig-code a little and slacked out keymap arrays
1602
1603 20100219
1604 --------
1605 main/gauges.c: The little light bulb showing homing warning in Cockpit was broken and I replaced it; Rewritten code to show weapon text in Cockpit and Statusbar slightly
1606 main/songs.c, main/songs.h: Making reading of descent.sng a bit more flexible; Not dynamically allocated, yet, since missions are not as well
1607
1608 20100215
1609 --------
1610 libmve/mveplay.c: Added another bunch of macros to fix sound initialisation for Movies when program is compiled without SDL_mixer
1611
1612 20100214
1613 --------
1614 d2x.ini, arch/include/joy.h, arch/sdl/joy.c, main/endlevel.c, main/inferno.c, main/kconfig.c, main/slew.c, misc/args.c: Cleaning up Joystick code and on the way supporting more axes and buttons; Also fixed bug with channel_mask byte causing trouble using some axes ingame; Added argument to set environment variable which disables sticky keys (for SDL >= 1.2.14)
1615
1616 20100208
1617 --------
1618 main/menu.c, main/scores.c, main/scores.h: Move all globals in scores.c into struct members/local variables
1619 main/game.c, main/newdemo.c: Don't make another Game_wind when advancing a level, fixing failed asserts / slow turning
1620 arch/sdl/window.c: Don't send an EVENT_WINDOW_DEACTIVATED when closing a window if it wasn't the front window, now the game works properly after you're shown on the high scores
1621 main/collide.c, main/object.c, main/object.h, main/state.c: Introduced hitobj_list for persistent weapon objects to keep track of multiple objects the weapon is in contect with to prevent it from doing FPS-based damage; Made persistent weapon objects not die on debris but just decrease their shields like when an ordinary player/robot is hit - makes more sense
1622 main/console.c: Write gamelog.txt buffered so it will not stress the medium it's saved on
1623
1624 20100207
1625 --------
1626 main/game.c, main/gameseq.c, main/inferno.c, main/inferno.h, main/menu.c, main/newdemo.c: Create the main event loop and use it for the game and main menu
1627 main/scores.c: Make the scores menu into a window
1628 d2x-rebirth.xcodeproj/project.pbxproj, main/aistruct.h, main/game.h, main/gameseq.h, main/inferno.h, main/laser.h, main/polyobj.h, main/robot.h, main/weapon.h: Move MAX_SUBMODELS from inferno.h to polyobj.h, fixing #include loop by removing some (mainly object.h) and instead using explicit 'struct' declarations; compile net_ipx.c for Mac SDL Video build
1629 main/gameseq.c, main/gameseq.h, main/menu.c, main/menu.h: Split select_filename into [existing] RegisterPlayer and select_demo for better clarity
1630
1631 20100206
1632 --------
1633 main/newmenu.c: Reset last_palette_loaded in nm_draw_background1 as before, it's needed for using the right palette when advancing a level
1634 main/newmenu.c: Set the correct scroll position for the listbox when it's shown
1635 main/gameseq.c, main/gameseq.h, main/menu.c, main/menu.h: Handle player selection and demo playing in filename_menu_handler, fixing bug where it won't leave the player listbox if there's no LastPlayer; close do_options dialog when changing resolution
1636
1637 20100205
1638 --------
1639 main/automap.c, main/escort.c, main/game.c, main/game.h, main/gamecntl.c, main/gameseq.c, main/newdemo.c, main/newmenu.c: Put the full_palette_save and palette_restore calls in the game handler for tidiness; remove leftover redundant digi_resume_digi_sounds calls
1640 main/newmenu.c: No showing the main menu background between loading a level and playing it, fixing palette issue when autoplaying a demo
1641 main/window.c: Send EVENT_WINDOW_DEACTIVATE before EVENT_WINDOW_ACTIVATE, ensuring cursor remains shown when appropriate
1642 main/physics.c: In do_physics_sim() only set velocity from movement for certain objects which actually do collisions like Player or Robots - otherwise we might be able to shoot down projectiles or produce other unfortunate glitches
1643
1644 20100202
1645 --------
1646 arch/include/event.h, arch/sdl/window.c, main/automap.c, main/dumpmine.c, main/editor/med.c, main/escort.c, main/game.c, main/gamecntl.c, main/gamesave.c, main/gameseq.c, main/kconfig.c, main/net_ipx.c, main/net_udp.c, main/newmenu.c: Add EVENT_WINDOW_DEACTIVATED; move many game_flush_inputs, start_time and stop_time calls to game_handler as well as digi_pause_digi_sounds and digi_resume_digi_sounds
1647 main/inferno.c: Hide all other windows before showing error dialog, hopefully so errors don't happen while the error dialog is there
1648 arch/include/event.h, arch/sdl/window.c, main/game.c, main/inferno.c, main/newmenu.c: Put LeaveGame longjmp back, but in response to new EVENT_WINDOW_CLOSED, fixing demo issues; fix compiler error in last commit
1649
1650 20100201
1651 --------
1652 arch/carbon/conf.h, d1x-rebirth.xcodeproj/project.pbxproj, main/kconfig.c, main/menu.c, main/net_ipx.c, main/net_udp.c, main/newmenu.c, main/newmenu.h: Leave kconfig_idle early if exiting kconfig to avoid erroneous memory access; initialise menu's citem properly; add EVENT_NEWMENU_CHANGED; activate USE_IPX in Xcode while I'm still changing net_ipx.c
1653
1654 20100131
1655 --------
1656 main/newmenu.c: Fix memory errors, but still dynamically allocate menu and lb so it doesn't have to stay in newmenu_do4 and newmenu_listbox1 respectively
1657 main/automap.c, main/game.c, main/game.h, main/multi.c, main/multi.h, main/net_ipx.c, main/net_udp.c, main/newmenu.c: Fix crashing when doing menus in multiplayer, don't let player move when in automap
1658 main/automap.c, main/kconfig.c, main/newmenu.c: Adding a bunch of memset's to menu/automap creations so we won't run into uninitialized variables
1659
1660 20100130
1661 --------
1662 arch/sdl/event.c, arch/sdl/key.c, main/menu.c, main/newmenu.c, main/newmenu.h, main/state.c: Send EVENT_KEY_COMMAND from key.c; add EVENT_NEWMENU_DRAW for state restore; place newmenu and listbox calls to callback so they can override ALL newmenu behaviour
1663 main/newdemo.c: Fix warning in newdemo_stop_recording where it should set the last char of filename to 0, not the next variable
1664 main/menu.c, main/newmenu.c: Fixed two memory errors inside menu GUI
1665
1666 20100129
1667 --------
1668 main/automap.c, main/automap.h, main/game.c, main/gamecntl.c, main/kconfig.c, main/multi.c, main/multi.h, main/net_ipx.c, main/net_udp.c, main/newmenu.c: For multiplayer, close menus from game_handler by doing frame processing in response to EVENT_WINDOW_DRAW, replacing multi_menu_poll system with single multi_menu_check call
1669 main/newmenu.c: Initialise lb->first_item to 0, not -1, preventing crash if you make a listbox selection very quickly
1670 d2x.ini, arch/ogl/gr.c, arch/sdl/gr.c, include/args.h, main/inferno.c, main/movie.c, main/newmenu.c, misc/args.c: Added real Doublebuffering to SDL-build; While on the way, making Bpp selection available for SDL-build, too
1671
1672 20100128
1673 --------
1674 main/playsave.c, main/playsave.h, main/object.c, main/render.c, main/hostage.c, main/newdemo.c, main/gamerend.c, main/endlevel.c, main/game.c, main/gauges.c: Made PlayerCfg.CockpitMode an array to hold two values: 0 to store the actual "cockpit", 1 to also store Letterbox, Rear, etc. Greatly helps to switch and restore views - especially in Demo playback which now properly selects modes
1675 main/newdemo.c: Added a new code to properly re-record view/cockpit-events at beginning and end of Demo recording so views will be fine if switched before recording started; Also added lost sequence to record Rear-view reset between levels; Everything done without breaking the Demo format!
1676 arch/sdl/window.c, main/automap.c, main/escort.c, main/game.c, main/gamecntl.c, main/kconfig.c, main/menu.c, main/net_ipx.c, main/net_udp.c, main/newmenu.c: Make response to EVENT_WINDOW_CLOSE conform to 'handling' system - returning 1 means abort closing
1677 main/kconfig.c, main/newmenu.c: Tidy up newmenu_show/hide_cursor calls
1678 main/newmenu.c: Allow user to abort close, for whatever reason (helps with my next commit)
1679 main/gamesave.c, main/newdemo.c, main/object.c, main/object.h, main/state.c: Improved Object signature assignment and made sure there will be no duplicates; Also used short-ranged values only so Demo system won't screw up
1680 main/newdemo.c: Resetting DemoDoLeft/Right correctly at start of each demo
1681
1682 20100127
1683 --------
1684 main/game.c, main/game.h, main/gamecntl.c, main/gameseq.c, main/kmatrix.c, main/multi.c, main/net_ipx.c, main/net_udp.c, main/newdemo.c, main/render.c: Remove all uses of LeaveGame jmpbuf to allow more changing of main loop
1685 main/gameseq.c, main/inferno.c, main/menu.c, main/newmenu.c: Allow escape from player listbox if appropriate; call RegisterPlayer only from main menu for more flexibility; actually use file_list block so deleting players/demos doesn't crash it
1686
1687 20100126
1688 --------
1689 main/newdemo.c: Once again improving Demo Interpolation code, regarding changes from rev993, reducing Viewport flicker and jitter
1690
1691 20100124
1692 --------
1693 main/gamerend.c, main/gauges.c: Rewrote code for showing Cloak-effect on Cockpit and Statusbar, because it became bugged with changed order of function calls do_cloaked_stuff() and render_gauges(); Fixed cockpit switches for Guided missile when Player is in Rear-View - the original code never considered that
1694
1695 20100123
1696 --------
1697 main/gamecntl.c, main/inferno.c, main/menu.c: Move the editor call out of the Function_mode loop, for later overhaul
1698
1699 20100121
1700 --------
1701 main/newdemo.c: Removed the new Demo Interpolating code and added the improvements to the old one
1702
1703 20100120
1704 --------
1705 arch/include/event.h, arch/sdl/event.c, arch/sdl/window.c, main/automap.c, main/escort.c, main/game.c, main/gamecntl.c, main/kconfig.c, main/menu.c, main/net_ipx.c, main/net_udp.c, main/newmenu.c, main/state.c: Add EVENT_WINDOW_ACTIVATED, change EVENT_DRAW to EVENT_WINDOW_DRAW and EVENT_CLOSE to EVENT_WINDOW_CLOSE
1706 main/automap.c, main/escort.c, main/game.c, main/gamecntl.c, main/kconfig.c, main/newmenu.c: Fix major issues with last commit - tidy up window callbacks to dodge EVENT_WINDOW_ACTIVATED where it's unnecessary or erroneous to respond to, fix compiling error
1707
1708 20100119
1709 --------
1710 main/net_ipx.c, main/net_udp.c: Make net_ipx_show_game_rules and net_udp_show_game_rules into windows
1711
1712 20100118
1713 --------
1714 main/kconfig.c: Make kconfig menus into windows - allowing drawing of the game screen behind, changing of item to change while question mark flashing and clicking out of item change
1715
1716 20100117
1717 --------
1718 main/menu.c: Respond to EVENT_NEWMENU_SELECTED for options_menuset and input_menuset, so the input menu will have THE event loop for kconfig
1719
1720 20100115
1721 --------
1722 main/menu.c: For get_filename, put mode and find variables in a structure - fixing 64-bit problem and allowing freeing of PHYSFS file list in callback in future, respectively
1723
1724 20100109
1725 --------
1726 main/escort.c: Make escort menu a window, now the game is drawn behind it
1727 arch/include/window.h, main/game.c, main/gamecntl.c, main/gamerend.c: Make pause box a window
1728
1729 20100108
1730 --------
1731 arch/sdl/event.h, main/newmenu.c, main/newmenu.h: Add EVENT_NEWMENU_SELECTED, allowing a newmenu/listbox selection to be handled in the callback
1732
1733 20100107
1734 --------
1735 main/gamecntl.c, main/newdemo.c: New Interpolation method for demos and a small hack to fix this Interpolation if duplicate object signatures appear (mostly)
1736 arch/carbon/conf.h, arch/include/event.h, arch/include/key.h, arch/sdl/event.c, main/game.c, main/gamecntl.c, main/gamesave.c, main/gameseq.c, main/kmatrix.c, main/menu.c, main/mission.c, main/multi.c, main/multi.h, main/net_ipx.c, main/net_ipx.h, main/net_udp.c, main/net_udp.h, main/newdemo.c, main/newmenu.c, main/newmenu.h, main/scores.c, main/state.c, main/weapon.c: Change newmenu and listbox callback systems, adding use of d_event, for greater flexibility
1737
1738 20091227
1739 --------
1740 main/newmenu.c: Make listboxes into windows
1741 main/automap.c, main/automap.h: Put most of the remaining globals in automap.c in the 'automap' struct
1742
1743 20091226
1744 --------
1745 arch/include/key.h, arch/sdl/event.c, arch/sdl/key.c, main/automap.c, main/editor/med.c, main/game.c, main/gamerend.c, main/kconfig.c, main/newmenu.c: Make newmenus into windows, allowing redrawing of automap and game to take place outside of newmenu.c; remove redundant keyd_repeat
1746
1747 20091213
1748 --------
1749 main/game.c: Make sure the Game_wind only gets freed once when escaping demo playback
1750
1751 20091212
1752 --------
1753 main/game.c: Make sure the Game_wind always gets freed when exiting the game screen, fixing flashing automap and framerate reduction after playing demos
1754
1755 20091211
1756 --------
1757 arch/linux/ukali.c: Fixing possible string overflow while using KALI_PROCESS_NAME
1758
1759 20091208
1760 --------
1761 main/gameseq.c, main/menu.c, main/menu.h, main/newdemo.c, main/newmenu.c, main/newmenu.h: Move newmenu_get_filename to menu.c, call it get_filename and have it use newmenu_listbox1; support long demo filenames
1762
1763 20091207
1764 --------
1765 main/net_ipx.c: Removing old use of variable already_showing_info which was removed from newmenu code
1766
1767 20091205
1768 --------
1769 main/gamecntl.c, main/newmenu.c: Make newmenu.c nearly identical between D1X and D2X
1770
1771 20091202
1772 --------
1773 arch/include/event.h, arch/include/window.h, arch/sdl/window.c, d2x-rebirth.xcodeproj/project.pbxproj, main/automap.c, main/game.c, main/game.h, main/gamecntl.c, main/kconfig.c, main/kconfig.h: Make the automap into a 'window', make kconfig.c more similar between D1X and D2X
1774
1775 20091201
1776 --------
1777 main/gauges.c, main/weapon.c: Squishing string-related bugs in Bomb display and Weapon reordering
1778 2d/clip.h, 2d/line.c: Renaming FSCALE to FIXSCALE preventing possible naming conflicts
1779
1780 20091130
1781 --------
1782 d2x-rebirth.xcodeproj/project.pbxproj: Update to not compile redundant net_ipx.c for Mac OS X
1783 main/newdemo.c, main/newdemo.h, main/gamerend.c, main/game.c, main/gauges.c, main/gamecntl.c: Reintroduced Newdemo_game_mode to prevent demo playback from entering code parts it should not and fixing a bug with Multiplayer demos along the way, introduced in rev. 953
1784 arch/ogl.c, main/endlevel.c: Draw Endlevel sequence with correct DepthFunc
1785 main/newmenu.c, main/terrain.c, iff/archive/ifftestv.c, 2d/2dsline.c, 2d/bitblt.c, 2d/pixel.c, 2d/rle.c, 2d/line.c, 2d/gpixel.c, SConstruct: Making files in 2d directory more similar and removed unused and broken code; Fixing a bunch of memory errors; Removed stack protecting flag for gcc in debug mode
1786
1787 20091129
1788 --------
1789 d1x-Info.plist, d1x-rebirth.xcodeproj/project.pbxproj, d1xgl-Info.plist, English.lproj/InfoPlist.strings: Make Mac version numbers consistent, Xcode build settings tidy up
1790 main/net_udp.c, main/multi.c, main/multi.h, main/menu.c, SConstruct, arch/linux/ipx.c, arch/carbon/conf.h: Adding macros for the compiler to compile with either UDP- and/or IPX-support and removed the older IPX macros
1791
1792 20091128
1793 --------
1794 main/net_udp.c, d2x-rebirth.xcodeproj, D2X.make, arch/carbon/conf.h: Fixed building error on Windows caused by false socket variable; Fixed compiler Warnings on Mac; Updated Mac build files; Unification in version numbering
1795
1796 20091124
1797 --------
1798 include/args.h, INSTALL.txt, main/net_udp.c, main/net_udp.h, main/fireball.c, main/multi.c, main/multibot.c, main/multi.h, main/inferno.c, main/menu.c, main/object.c, main/kmatrix.c, main/kmatrix.h, main/newdemo.c, main/config.c, main/net_ipx.c, main/config.h, main/net_ipx.h, main/gamerend.c, main/gameseq.c, main/endlevel.c, main/vers_id.h, main/game.c, main/gauges.c, misc/args.c, SConstruct, d2x.ini, README.txt, arch/linux/ipx.c, arch/linux/ipx_kali.c, arch/win32/ipx.c: Abstracting networking protocols - Step 4: Implemented new UDP layer with Client/Server communication, Packet Loss Prevention and strict Version checking. Netgames list will follow later.
1799 main/net_udp.c: Remove the IP check when processing game info or version deny as the IP might be translated (IPv6 especially)
1800 main/net_udp.c, main/net_ipx.c, SConstruct: Improved Disconnect-handling between levels; Improved Kick-handling; Do not say that IPv4 and IPv6 builds are not compatible in scons -h anymore
1801 include/timer.h, main/net_udp.c, main/newmenu.c, main/multibot.c, main/menu.c, main/titles.c, main/kmatrix.c, main/net_ipx.c, main/digiobj.c, arch/sdl/timer.c: Removed timer_get_approx_seconds() and replaced with timer_get_fixed seconds since it was too inaccurate and created significant offset
1802 main/net_udp.c: Again making the joining safer
1803
1804 20091117
1805 --------
1806 arch/ogl/gr.c, arch/sdl/gr.c, include/gr.h, main/menu.c, main/piggy.c: Only list resolutions that can actually be used, using new gr_check_mode
1807
1808 20091115
1809 --------
1810 main/gamecntl.c, main/gameseq.c, main/gameseq.h, main/menu.c, main/newdemo.c, main/newdemo.h, main/newmenu.c, main/text.c: Add endian converter for demos, read shareware demos, various bugfixes to demo system
1811
1812 20091005
1813 --------
1814 include/physfsx.h, main/ai.c, main/ai.h, main/cntrlcen.c, main/cntrlcen.h, main/fireball.c, main/fireball.h, main/fuelcen.c, main/fuelcen.h, main/object.c, main/object.h, main/player.c, main/player.h, main/state.c, main/switch.c, main/switch.h, main/wall.c, main/wall.h: Read big endian savegames on little endian computers and vice versa
1815
1816 20090911
1817 --------
1818 main/state.c: Include necessary ogl_init.h in state.c (whoops)
1819
1820 20090822
1821 --------
1822 main/state.c, main/state.h: Make state.c more similar between D1X and D2X
1823
1824 20090810
1825 --------
1826 arch/sdl/window.c, main/automap.c, main/game.c, main/inferno.c, main/multi.c: Make the game screen into a 'window', handling events through event_process
1827
1828 20090701
1829 --------
1830 main/game.c, main/game.h, main/gamecntl.c, main/kconfig.c, main/kconfig.h, main/menu.c, main/net_ipx.c, main/newmenu.c, main/newmenu.h, main/scores.c, main/screens.h, main/songs.c, main/titles.c: Make game.c more similar between D1X and D2X, making related changes to other files (!)
1831
1832 20090607
1833 --------
1834 main/game.c, main/gamecntl.c: Small cleanup
1835
1836 20090531
1837 --------
1838 include/args.h, include/u_mem.h, main/gamecntl.c, main/inferno.c: Make inferno.c more similar between D1X and D2X
1839
1840 20090522
1841 --------
1842 arch/sdl/window.c, main/inferno.c: Add include directives for last commit (whoops)
1843
1844 20090521
1845 --------
1846 arch/include/event.h, arch/include/window.h, arch/sdl/event.c, arch/sdl/mouse.c, arch/sdl/window.c, d1x-rebirth.xcodeproj/project.pbxproj, main/inferno.c, SConstruct: Add new window system, not used yet
1847
1848 20090506
1849 --------
1850 main/config.c, main/config.h, main/menu.c, main/songs.c: Add option to force either Redbook or Jukebox to use the playing order for the game CD
1851
1852 220090503
1853 --------
1854 main/net_ipx.c: Make sure HoardEquipped returns 1 if hoard.ham is in the Data folder, hence properly allowing hoard.ham to be in the Data folder
1855 main/config.c, main/menu.c: Make some files more similar between D1X and D2X
1856
1857 20090430
1858 --------
1859 arch/carbon/conf.h, d2x-rebirth.xcodeproj/project.pbxproj: Disable network support for Mac OS X for now
1860 2d/2dsline.c, 2d/bitblt.c, 2d/bitmap.c, 2d/box.c, 2d/canvas.c, 2d/circle.c, 2d/disc.c, 2d/font.c, 2d/gpixel.c, 2d/line.c, 2d/palette.c, 2d/pcx.c, 2d/pixel.c, 2d/poly.c, 2d/rect.c, 2d/rle.c, 2d/scalec.c, 2d/tmerge.c, 3d/clipper.c, 3d/draw.c, 3d/globvars.c, 3d/instance.c, 3d/interp.c, 3d/matrix.c, 3d/points.c, 3d/rod.c, 3d/setup.c, arch/carbon/findfile.c, arch/carbon/gui.c, arch/carbon/SDL_main.c, arch/linux/ukali.c, arch/ogl/gr.c, arch/ogl/ogl.c, arch/sdl/digi_audio.c, arch/sdl/digi_mixer.c, arch/sdl/digi.c, arch/sdl/event.c, arch/sdl/gr.c, arch/sdl/joy.c, arch/sdl/key.c, arch/sdl/mouse.c, arch/sdl/rbaudio.c, arch/sdl/timer.c, iff/iff.c, include/physfsx.h, libmve/mvelib.c, libmve/mveplay.c, main/ai.c, main/ai2.c, main/aipath.c, main/automap.c, main/bm.c, main/bmread.c, main/cntrlcen.c, main/collide.c, main/config.c, main/console.c, main/controls.c, main/credits.c, main/crypt.c, main/digiobj.c, main/dumpmine.c, main/editor/autosave.c, main/editor/centers.c, main/editor/curves.c, main/editor/eglobal.c, main/editor/ehostage.c, main/editor/elight.c, main/editor/eobject.c, main/editor/eswitch.c, main/editor/fixseg.c, main/editor/func.c, main/editor/group.c, main/editor/info.c, main/editor/kbuild.c, main/editor/kcurve.c, main/editor/kfuncs.c, main/editor/kgame.c, main/editor/khelp.c, main/editor/kmine.c, main/editor/ksegmove.c, main/editor/ksegsel.c, main/editor/ksegsize.c, main/editor/ktmap.c, main/editor/kview.c, main/editor/macro.c, main/editor/med.c, main/editor/meddraw.c, main/editor/medmisc.c, main/editor/medrobot.c, main/editor/medsel.c, main/editor/medwall.c, main/editor/mine.c, main/editor/objpage.c, main/editor/segment.c, main/editor/seguvs.c, main/editor/texpage.c, main/editor/texture.c, main/effects.c, main/endlevel.c, main/escort.c, main/fireball.c, main/fuelcen.c, main/fvi.c, main/game.c, main/gamecntl.c, main/gamemine.c, main/gamepal.c, main/gamerend.c, main/gamesave.c, main/gameseg.c, main/gameseq.c, main/gauges.c, main/hostage.c, main/hud.c, main/inferno.c, main/kconfig.c, main/kmatrix.c, main/laser.c, main/lighting.c, main/menu.c, main/mglobal.c, main/mission.c, main/morph.c, main/movie.c, main/multi.c, main/multibot.c, main/newdemo.c, main/newmenu.c, main/object.c, main/paging.c, main/physics.c, main/piggy.c, main/player.c, main/playsave.c, main/polyobj.c, main/powerup.c, main/render.c, main/robot.c, main/scores.c, main/segment.c, main/slew.c, main/state.c, main/switch.c, main/terrain.c, main/texmerge.c, main/text.c, main/titles.c, main/vclip.c, main/wall.c, main/weapon.c, maths/fixc.c, maths/rand.c, maths/tables.c, maths/vecmat.c, mem/mem.c, misc/args.c, misc/error.c, misc/hash.c, misc/strio.c, misc/strutil.c, texmap/ntmap.c, texmap/scanline.c, texmap/tmapflat.c, ui/barbox.c, ui/button.c, ui/checkbox.c, ui/func.c, ui/gadget.c, ui/icon.c, ui/inputbox.c, ui/keypad.c, ui/keypress.c, ui/keytrap.c, ui/listbox.c, ui/menu.c, ui/menubar.c, ui/message.c, ui/mouse.c, ui/number.c, ui/popup.c, ui/radio.c, ui/scroll.c, ui/ui.c, ui/uidraw.c, ui/userbox.c, ui/window.c: Remove redundant conf.h directives
1861
1862 20090409
1863 --------
1864 main/multi.c, main/multi.h, main/multibot.c, main/menu.c, main/kmatrix.c, main/net_ipx.c, main/net_ipx.h, main/gameseq.c, main/fuelcen.c, main/gamerend.c: Abstracting networking protocols - Step 3: Renaming network_* functions to net_ipx_*, writing wrappers for protocol dependend functions in multi.c, Implementing protocol selection and Cleanup - Next up: Implementing new UDP layer
1865
1866 20090320
1867 --------
1868 include/ipxdrv.h, main/collide.c, main/ipxdrv.c, main/fireball.c, main/multi.c, main/multi.h, main/menu.c, main/state.c, main/newdemo.c, main/switch.c, main/net_ipx.c, main/net_ipx.h, main/gameseq.c, main/endlevel.c, main/powerup.c, main/automap.c, SConstruct, arch/linux/ipx.c, arch/linux/ipx_kali.c, arch/win32/ipx.c: Abstracting networking protocols - Step 2: Introducing new structure to hold protocol-dependend and -independend information about Netgame and it's Players; Further isolation of the IPX code and renaming the netdrv_* code to ipxdrv_* as this is now actually IPX-only; Next up: Renaming network_* functions to net_ipx_*, writing wrappers for protocol dependend functions in multi.c, Implementing protocol selection and Cleanup
1869
1870 20090304
1871 --------
1872 various: Abstracting networking protocols - Step 1: Renaming network-related files; Removing net_ipx.h (former network.h) includes from as much files as possible to make isolation of IPX-related functions easier in Step 2; Version defines Cleanup - needed later for good Version-Checking
1873
1874 20090303
1875 --------
1876 arch/include/digi_mixer_music.h, arch/include/jukebox.h, arch/sdl/digi_mixer_music.c, arch/sdl/digi_mixer.c, arch/sdl/digi.c, arch/sdl/init.c, arch/sdl/jukebox.c, arch/sdl/rbaudio.c, include/rbaudio.h, main/automap.c, main/config.h, main/credits.c, main/digi.h, main/game.c, main/gamecntl.c, main/kconfig.c, main/kmatrix.c, main/menu.c, main/network.c, main/newmenu.c, main/scores.c, main/songs.c, main/songs.h: Associate the jukebox with Redbook Audio via new 'extmusic' layer - separating from MIDI and making it handle ALL music (not just game music)
1877
1878 20090223
1879 --------
1880 main/gamerend.c, main/gauges.c, main/menu.c: Made our Cockpit-Transparency decoding function a bit safer for current and possibly new code flow
1881 main/gauges.c: Small positional correction for homing-warning bitmap
1882
1883 20090222
1884 --------
1885 main/fireball.c: Fixed param handling of expl_obj in do_explosion_sequence for the case that free_object_slots might have it set to OF_SHOULD_BE_DEAD before it's actually attached to another object
1886
1887 20090217
1888 --------
1889 main/object.c, main/object.h, main/weapon.c: Made Max_used_objects an absolute defined value; Made num_objects globally available; Restricted Weapon drops to MAX_USED_OBJECTS; When dropping Secondary weapon, drop 4-pack if possible
1890
1891 20090215
1892 --------
1893 main/network.c, main/noloss.c, main/noloss.h: Added list to keep trace of received PDATA packets so receiver won't interpret them several times
1894 main/kmatrix.c: Made connect-state handling in kmatrix flow even more failsafe
1895
1896 20090209
1897 --------
1898 main/kconfig.c: Removed PH_SCALE on Keyboard readings as caps movement not in sync to FrameTime; Removed scaled Joystick reading as it's not necessary anymore
1899 main/gameseq.c: When creating new player, make sure string is long enough for use with players dir
1900
1901 20090208
1902 --------
1903 main/multi.c, main/network.h, main/kmatrix.c, main/kmatrix.h: Fixed connect-state mess in order of kmatrix flow
1904 main/menu.c: Make sure HostAddr buffer is directly saved as soon as we confirm it in the entry field
1905
1906 20090206
1907 --------
1908 INSTALL.txt, main/network.c, main/network.h, main/noloss.c: Small docs update; Noloss thinking flaw correccted: Add a special type for PDATA packets that need to be ACK'd so other clients won't ACK everything
1909
1910 20090203
1911 --------
1912 main/network.c, main/noloss.c: Close out fire from queue list as this is not necessarily needed to keep games in sync; While processing the noloss queue, only process 5 packets max
1913
1914 20090202
1915 --------
1916 main/newdemo.c, main/gameseq.c, main/gamerend.c, main/ai.c, main/game.c, main/gauges.c, main/game.h, main/gamecntl.c: Defined some default cockpit modes in Demo mode so we do not get invalid values when demo starts in non-default-view mode (as new HUD modes are only triggered at beginning and end of event); Removed Newdemo_flying_guided global; Init seismic disturbances in demo mode just to make sure tey are switched off when coming from game mode; Made initialisation for Missile_viewer signature saving global so we can reset it for each new level and make sure we get a correct missile view; Fixed regression in Ai_last_missile_camera
1917 main/gamerend.c: Made FPS string statically right-justified - unrelated to actual FPS string width preventing jumps
1918
1919 20090201
1920 --------
1921 main/netdrv_udp.c: Fixing bug with incorrect/missing UDP port termination
1922 main/network.c, main/network.h, main/multi.h, main/netdrv_udp.c, main/netdrv_udp.h, main/noloss.c, main/noloss.h, SConstruct: Added Packet-loss prevention code for Netgames
1923
1924 20090130
1925 --------
1926 arch/ogl/ogl.c, main/render.c: New level render order for better seperation and blending between transculent level geometry and sprites
1927
1928 20090129
1929 --------
1930 main/netdrv_udp.c: Decreasing delay from timer_delay2 to timer_delay for sending/receiving packets when connecting to UDP host due to FPS-dependent inconsistencies in timer_delay2 causing packets possibly not received or sent frequently
1931
1932 20090126
1933 --------
1934 include/netdrv.h, main/network.c, main/menu.c, main/netdrv_udp.c, main/netdrv_udp.h, main/netpkt.c, main/netpkt.h, main/netdrv.c, arch/linux/netdrv_ipx.c, arch/linux/netdrv_kali.c, arch/win32/netdrv_ipx.c: Changed function naming convention in netdrv and below to general Descent code convention
1935 arch/carbon/conf.h, d2x-Info.plist, d2xgl-Info.plist, English.lproj/InfoPlist.strings: Update version to 0.55.1
1936
1937 20090124
1938 --------
1939 main/game.c: Removed some old code to smooth FrameTime we don't need anymore
1940
1941 20090122
1942 --------
1943 main/newdemo.c: New condition to switch to Interpolated demo playback - the old one did NOT make ANY sense at all
1944
1945 20090117
1946 --------
1947 arch/sdl/mouse.c, main/menu.c, main/playsave.c, main/playsave.h: Made MouseFilter selectable over Controls menu while defaulting to OFF - Saved in PLX
1948 d2x.ini, inlcude/args.h, main/inferno.c, main/laser.c, misc/args.c: Took out old missile tracking code to be selectable over command-line to preserve consistency
1949
1950 20090116
1951 --------
1952 arch/ogl/ogl.c, main/gamefont.c, main/menu.c: Reduced size of vectorial reticle to match the size of the original one; Only scale fonts by float if Texture filtering is on - otherwise scale by int
1953 arch/ogl/gr.c: Error handling while dumping TGA file - (partially) Patch by v66r
1954
1955 20090115
1956 --------
1957 include/cfile.h, main/network.c, main/inferno.h, main/netdrv_udp.c, main/netdrv_udp.h, main/netdrv.c, main/gamecntl.c, arch/sdl/digi_mixer_music.c, include/ogl_init.h: Patch from Damjan Cvetko <[email protected]> for better support building with a non-free compiler...
1958 arch/sdl/mouse.c, main/automap.c, main/game.h, main/kconfig.c: Fixed typo in mouse delta reading cleaning not up Z-Axis; Giving automap a nicer Frameloop;
1959
1960 20090113
1961 --------
1962 main/physics.c: Actually set velocity from movement when colliding with objects
1963 arch/sdl/jukebox.c: Use a 2D array to allow playing of songs by track number in future
1964 main/collide.c: Added some randomness to collision sound delays and synced robot-player collision sprites to same steps
1965
1966 20090108
1967 --------
1968 main/network.c: Fixed condition for protocol version checking when joining a game - must be allowed for both original and D2X version
1969
1970 20081230
1971 --------
1972 SConstruct: prefix is now an argument (useful for auto-builds)
1973 debian/*: created the debian packaging files
1974
1975 20081227
1976 --------
1977 arch/carbon/conf.h, d2x-Info.plist, d2x-rebirth.xcodeproj/project.pbxproj, d2xgl-Info.plist, English.lproj/InfoPlist.strings: Increment Mac version number, update project for latest Xcode
1978
1979 20081226
1980 --------
1981 main/netdrv_udp.c: Fixed segfault via buffer overflow when attempting to start or join a UDP/IP netgame.
1982
1983 20081223
1984 --------
1985 main/config.c: Make Redbook the default for Mac, because MIDI is buggy
1986
1987 20081221
1988 --------
1989 d2x-rebirth.xcodeproj/project.pbxproj, D2X.make, main/gamecntl.c, main/playsave.c: Fix Mac OS 9 compile issues, update Xcode project
1990 arch/carbon/conf.h: Set SHAREPATH to "." for Mac OS X so reading data from DXX's directory ACTUALLY WORKS
1991
1992 20081213
1993 --------
1994 main/game.c, main/game.h, main/gamecntl.c, main/menu.c: Seperated help screens for game, netgame and demo; Also show them in Controls menu; Small Menu UI fix for ScrollOffset when calling menus in a scrolled area of a menu
1995
1996 20081212
1997 --------
1998 main/multi.c: Added /KillReactor command to blow up the reactor in Multiplayer games
1999
2000 20081207
2001 --------
2002 2d/pcx.c, 3d/interp.c, arch/include/key.h, arch/sdl/key.c, d2x-rebirth.xcodeproj/project.pbxproj, iff/iff.c, include/gr.h, include/pcx.h, include/u_mem.h, main/automap.c, main/escort.c, main/game.c, main/gamecntl.c, main/gauges.h, main/inferno.c, main/inferno.h, main/kconfig.c, main/mglobal.c, main/newdemo.c, main/newdemo.h, main/newmenu.c, main/piggy.c, main/render.c, main/songs.c, main/titles.c: Get Mac command keys working, MACINTOSH code cleanup, update Xcode project
2003
2004 20081201
2005 --------
2006 main/kconfig.c: Restored vertical_thrust_time behaviour combined with slide_on to be inverted - respecting user's wishes
2007
2008 20081129
2009 --------
2010 main/state.c: Fixed the Birthday Bug: Correctly re-compute static_light when restoring a game - finally
2011
2012 20081126
2013 --------
2014 main/gameseq.c: Fixed logical code flow error when player dies in a secret level entered after base level destroyed which is also the last level
2015 arch/ogl/ogl.c: Deactivated depth writing fo g3_draw_bitmap() sprites to prevent rendering errors when clipped in some cases
2016
2017 20081122
2018 --------
2019 main/kconfig.c: Completly forgot to make mouse axis values static so they can be used in intervals - shame on me!
2020 main/fvi.c, main/pysics.c: Took out the "disable_new_fvi"-hack. After all we do not need that specific optimisation anymore and also without it we can have more accurate collisions with non-player objects. After playtesting for a while let's just do this.
2021
2022 20081121
2023 --------
2024 main/gamecntl.c, main/gauges.c: Do not allow to restore games while player is dead... again - to much trouble right now; Solving small display issue when fading out weapons which ran out of ammo
2025 main/render.c: Increasing Render_depth to max. if OGL build (we probably should get rid of these variables, but may still be handy for non-3D-accellerated build optimisations)
2026
2027 20081120
2028 --------
2029 main/ai2.c: When we reached MAX_BOSS_TELEPORT_SEGS in init_boss_segments, make sure we also escape out of the for-loop - otherwise we still might overflow
2030 main/piggy.c: Corrected a small logical mistake in Shareware-HAM recognition
2031 arch/ogl/ogl.c, main/ai2.c, main/object.c: Small transparency fix for robot weapons; Some timer-Failsafe in robot/boss dying frames; Fixed logical flaw in create_small_fireball_on_object() closing out sound effects on robots
2032
2033 20081119
2034 --------
2035 main/gamecntl.c: Actually demand ANY valid key to abort the Death sequence
2036 main/songs.c: Do a songs_init() each time a song is played and try to read a new descent.sng - supporting descent.sng files in hog archives
2037
2038 20081118
2039 --------
2040 main/console.c: When printing Gamelog, make sure canvas is NULL
2041 main/newmenu.c, main/multi.c, main/automap.c, main/gamecntl.c, ui/inputbox.c, ui/menubar.c, arch/sdl/event.c, arch/sdl/key.c, arch/include/key.h: Yet another UNICODE overhaul - Using seperate buffer for UNICODE chars and only use it in key_ascii() while still using keysyms for the rest of the program so we do not screw up readings by key values altered by modifers - possibly still room to optimize
2042 main/gamecntl.c: Fixed cheats!
2043 main/automap.c: Changed keys for Automap Viewing Distance to F9/F10 - Minus/Equal is not Layout independent
2044
2045 20081115
2046 --------
2047 arch/sdl/digi_audio.c: include/error.h, main/console.c, main/inferno.c: Added other SDL_(Un)LockAudio statements to protect the audio_mixcallback function - making that hopefully stable on multicores; Resetting warn_func at quit_request so we do not accidently show any menu; Open gamelog.txt unbuffered
2048
2049 20081114
2050 --------
2051 include/args.h, include/3d.h, include/rle.h, include/rbaudio.h, main/text.c, main/text.h, main/bm.c, main/gamefont.c, main/inferno.c, main/bm.c, main/bmread.c, main/piggy.c, main/render.c, main/render.h, main/songs.c, main/gameseq.c, main/gamerend.c, main/netdrv.c, main/endlevel.c, main/endlevel.h, main/terrain.c, main/terrain.h, main/polyobj.c, main/polyobj.h, main/game.c, main/gauges.c, main/texmerge.c, main/mission.c, main/mission.h, main/gamecntl.c, misc/args.c, 2d/rle.c, 3d/setup.c, SConstruct, D2X.make, arch/linux/alsadigi.c, arch/ogl/gr.c, arch/sdl/digi_mixer.c, arch/sdl/joy.c, arch/sdl/init.c, arch/sdl/rbaudio.c, arch/sdl/gr.c, arch/sdl/key.c, arch/sdl/digi_audio.c, arch/include/mouse.h: Using a clean flow for closing game data at the end of main() instead of using atexit; Now only use atexit for SDL stuff, error, mem, console (and editor which we do later); Small Cleanup
2052
2053 20081110
2054 --------
2055 main/credits.c, main/inferno.c, main/menu.c, main/newmenu.c: Small Cleanup: Using timer_delay for credits timer as timer_delay2 would respect VSync and change speed of the Credits scrolling; Cleaned that Start/Join Netgame cases up a bit; Removed the excessive use of atexit in newmenu... more to come
2056 misc/error.c: When Error() is called, set Function_mode to FMODE_EXIT... basically to prevent the messagebox would try to render the game in background if the Error would happen while mission loading
2057
2058 20081109
2059 --------
2060 include/args.h, include/gr.h, main/gamefont.c, main/inferno.c, main/menu.c, main/gamerend.c, main/gauges.c, main/gauges.h, misc/args.c, d2x.ini, arch/ogl/ogl.c, arch/ogl/gr.c: Always keep aspect scaling (lowest scalar of width and height) for fonts, lines, dots, spheres, reticle and non-Cockpit-/Statusbar-related HUD-elements; Moved the Cockpit alpha decoding to gauges.c and created a seperate bitmap for the alpha fields and create subbitmaps from this one - more memory but this way we do not modify the cockpit bitmap itself
2061
2062 20081107
2063 --------
2064 arch/sdl/key.c: Only read UNICODE values from 31 to 254 to make sure we do not read any non-printable characters and prefer the keysym that way; Added left and right Command Key for MAC Keyboards
2065
2066 20081103
2067 --------
2068 misc/args.c: Fixed Typo
2069 main/ai2.c, main/collide.c: Made move_towards_segment_center() use move_towards_vector() instead of just changing object position suddenly - smoother; Changed back the robot:controlcen collision back to original - the AI just relies to often on no-damage collisions, especially when our segment suddenly is a controlcen
2070
2071 20081101
2072 --------
2073 main/config.c, main/menu.c, main/newmenu.c, main/piggy.c: Fixed possible overflows in Jukebox Path; Menu GUI improvements: Correct inputbox scaling for font widths, a little performance boost when determinating string-part to show in inputbox, make it possible to flip over from first/last menu entry to last/first even if it's a ScrollBox, Scrolling via Maousebutton now works with delay; Made reading for Piggy data always break up in loops when reached end of file instead of provoking possible error if *data-count < max-data-count*
2074 arch/sdl/key.c: Make sure that if we use UNICODE, we always take non-control type chars and - as we only want lowercase letters - convert chars if shift is pressed
2075 arch/ogl/ogl.c. main/game.c: I always forget glLineWidth takes previous setting if arg is <1; Made the decodebuffer for cockpit static as the bitmap data pointer points to it
2076
2077 20081031
2078 --------
2079 main/bm.c, main/inferno.c, main/piggy.c: Allow hires Mac demo graphics, fix endian issue with reading GameBitmapXlat (fixing crash on PowerPC Macs using PC demo), put a return on the end of an error message
2080 arch/include/key.h, arch/sdl/key.c, main/game.c, main/kmatrix.c, main/multi.c, main/multi.h, main/newmenu.c, main/scores.c, ui/inputbox.c, main/menubar.c: Always use printable UNICODE characters for the key_handler and included routine to assign key symbols to UNICODE so we get an equivalent of a Key-Released state which we need for the Keyboard buffer; Removed the shifted_ascii_value field from key_props and stored all usable characters in seperate rows; Improves Text input and makes keyboard mapping independent from keyboard layout without breaking any compability
2081 arch/ogl/ogl.c: Make glLinewidth depend on screen height, not width (for Widescreen monitors) (commit came with last revision, sorry)
2082
2083 20081030
2084 --------
2085 INSTALL.txt, README.txt: Docs update: Infos about Jukebox over SDL_mixer, SDL_mixer is not experimental anymore, yet another .de->.com change
2086 d2x.ini, main/inferno.c: Show debug help screen options in release build as well as some might be actually useful for players
2087 main/menu.c: Add a messagebox informing to restart the game if either VSync or 4x Multisampling has been (de)selected
2088
2089 20081029
2090 --------
2091 2d/font.c, main/gamefont.c, main/gamefont.h, main/menu.c: Scale fonts by float values and filter them if texture filtering is on; Another fix for the code flow in change_res() as the check for minimal custom resolution always failed
2092 main/collide.c: Yet another check for collide sounds as FixedStep is not necessarily true if the actual collision happens
2093 main/newmenu.c: Cast LINE_SPACING to integer for menu Scrollbox usages - fixing scrolling issues with non-integer-scaled font sizes
2094
2095 20081028
2096 --------
2097 arch/ogl.c, include/gr.h, main/game.c, main/gamerend.c, main/gauges.c, main/gauges.h, main/newmenu.c: Removed hack for Cockpit-window transparencies and added function to decode and add alpha to the bitmap directly (now works in non-OGL as well); Using sub-bitmaps for Cockpit-windows and menu backgrounds; Cleaned old bkg stuff from menu GUI
2098 main/gamerend.c, main/manu.c, main/newmenu.c: Fixes for my last revisions: More reliable check for cockpit_decode_alpha, more reliable check is newmenu sub-bitmap needs to be re-created, call gr_set_mode() in change_res() with correct Game_screen_mode
2099 INSTALL.txt, README.txt: Docs update: We moved from www.dxx-rebirth.de to www.dxx-rebirth.com!
2100 arch/sdl/gr.c, arch/ogl/gr.c, arch/ogl/ogl.c, include/args.h, main/game.c, main/gamecntl.c, main/inferno.c, main/menu.c, main/playsave.c, main/playsave.h, misc/args.c: Cleanup: Renderstats; Made PRShot a non-OpenGL-related feature and added to Misc Options; Added command for SDL_ASYNCBLIT to command-line args
2101 SConstruct, include/dl_list.h, main/config.c, main/console.c, main/menu.c, main/robot.h, misc/dl_list.c: Revisited Kip's non-Tracker changes and implemented to D2X: Prettier SConstruct output, Forgotten newlines at end of files, Improvement in dl_list code, Revamped menu GUI defines; I am NOT HAPPY I have to do these changes seperately!!!
2102
2103 20081023
2104 --------
2105 main/network.c: Fixed handling for multi_quit_game; Always keep setting -1 for ping table entry of current player so just not to use any previous entry
2106
2107 20081022
2108 --------
2109 main/menu.c, main/netdrv_udp.c, main/netdrv_udp.h: Removing reset of Game_screen_mode while change_res Fullscreen toggle (wtf is the point?); Adding a third valid state for UDP peers so we can get more order in handshaking process - should fix problem when two clients join (and shake) simultaniously
2110
2111 20081021
2112 --------
2113 iff/iff.c, main/wall.c: Fix some gcc 4.0 warnings (-wall flag)
2114
2115 20081020
2116 --------
2117 main/menu.c: resolution 1440x960 to 1440x900 - typo
2118 d1x.ini, include/args.h, main/inferno.c, main/menu.c, main/netdrv_udp.c, misc/args.c: Readded -ip_hostaddr optional to the value stored in descent.cfg for automated program starts or whatever; Fix by Locate: Correctly close UDP sockets on Win32; Fix by Locate: Ability to select Secret levels on Multiplayer in D1X again which was broken in r619
2119
2120 20081019
2121 --------
2122 arch/sdl/gr.c, arch/ogl/gr.c, main/gamecntl.c, main/menu.c, main/movie.c, main/titles.c: Setting Fullscreen toggle setting the GameCfg value at each change, not only in change_res(); Do not allow the toggle while playing since ALT-GR+ENTER could be used as game-keys; Reorganized Resolutions menu to automatically calculate aspect ratio for preset resolutions and making custom fields exclusive
2123
2124 20081016
2125 --------
2126 main/credits.h, main/collide.c, main/newmenu.c, main/menu.c, main/playsave.c, main/playsave.h, main/titles.c, main/wall.c, main/render.c, main/newdemo.c, main/newdemo.h, main/config.c, main/gameseq.c, main/gamerend.c, main/endlevel.c, main/scores.c, main/game.c, main/kconfig.c, main/gamecntl.c, main/credits.c, 2d/ibitblt.c, arch/sdl/mouse.c, arch/win32/hmpfile.c, arch/include/joy.h: Giving credits function ability to use custom creditfile (again); Made laser-offset for laser exclusive so Prox mines won't go tru doors; Preventing cycling tru cockpit modes while dead, but allowing to load a state; Implemented D2X' lighting code to D1X (faster, better, sexier - weeee); Try to hop over some errors regarding walls/doors in levels instead of using -1 indexes for arrays; Made the briefing text ptr a bit more failsafe in case the file is corrupt/non-standard; Made scores use the menu screen even in GAME OVER; Fixed bug in neighbour fields of Weapon Keys table; Added the Weapon Keys stuff to TABLE_CREATION; Fixed bug where D2X did not recall applied resolution in the resolutions menu; Simpler check to create DEMO_DIR; Seperated X/Y sensitivity for mouse and joystick; Flush controls when Automap toggles so keypress won't deactivate it again; Made FrameCount in Demos aligned to the Dropframe condition; Added KEy to ttoggle playback text off; Gracefully exit demo code if demo is corrupt; Removed that new percent counter because many old demos seem to have corrupted last frames; Closing endlevel data file if IFF error so the mission still can be freed; Fixed Cruising for keyboard which was not aligned to FPS correctly; Used mouse delta scaling in kconfig.c instead of mouse.c to not screw up when delta is requested in non-ingame situations - it actually belongs to the controls IMHO; Now support up to 8 joysticks; Changed some leftover malloc's to d_malloc and free to d_free
2127
2128 20081001
2129 --------
2130 main/physics.c: Update object segment after object position interpolation. This is always done in DEBUG, but not in RELEASE, where further movement would break at segment check
2131
2132 20080903
2133 --------
2134 main/console.c, main/collide.c, main/mglobal.c, main/inferno.c, main/menu.c, main/physics.c, main/aipath.c, main/cntrlcen.c, main/weapon.c, main/netpkt.h, main/gamerend.c, main/ai2.c, main/laser.c, main/game.c, main/gauges.c, main/game.h, main/gamecntl.c, SConstruct, d2x.ini, maths/vecmat.c, arch/sdl/timer.c, arch/sdl/mouse.c, arch/sdl/digi.c, arch/sdl/digi_audio.c, arch/include/mouse.h: Added new function to calculate common timesteps; Increased MAXIMUM_FPS to 200 for release and 1000 for debug; Used fixed sim_time for do_physics_sim and Interpolating to ensure collisions stay accurate at high FPS; New code and faster code for dot products by The_Lion; Disabled Nice-FPS and common Frame-Loop if VSync is active; More accurate delta timer for mouse (consider overhead); Added SDL_(Un)LockAudio for old SDL Audio interface; General support for up to 16 mouse buttons; Code cleanup; Made some AI movement and Player shaking FPS-independent
2135
2136 20080726
2137 --------
2138 d2x-rebirth.xcodeproj, main/multi.c, main/netpkt.c, main/netpkt.h, main/network.c: Make network endian code more consistent with D1X, use PUT/GET_INTEL macros more, remove redundant no_cpp_precomp macro
2139
2140 20080720
2141 --------
2142 include/netdrv.h, main/netdrv_udp.c, main/netdrv_udp.h, main/netdrv.c, arch/linux/netdrv_ipx.c, arch/linux/netdrv_kali.c, arch/win32/netdrv_ipx.c: Fixed IPX default socket (typo); Using function pointer for IPX-based sockets instead of globals
2143
2144 20080701
2145 --------
2146 arch/carbon/conf.h, d2x-Info.plist, d2xgl-Info.plist, d2x-rebirth.xcodeproj, English.lproj/InfoPlist.strings: Increment version number for Mac, ensure Get Info strings copy to bundle, use correct Mac OS X SDKs
2147 include/strutil.h, misc/strutil.c: Add snprintf for Mac OS 9
2148 main/songs.c: Make sure the right audio CD track is played when starting a level
2149 include/physfsx.h, main/config.c: No using chdir for Mac OS 9 - it doesn't have it
2150
2151 20080628
2152 --------
2153 main/collide.c: Do not apply new bump_two_objects() when companion object colliding with controlcen due to inability of companion to find alternatives
2154
2155 20080617
2156 --------
2157 main/songs.c: make sure it knows whether an audio CD just inserted is the official one
2158
2159 20080615
2160 --------
2161 main/newdemo.c: Better call for DoJasonInterpolate in demo code (hopefully)
2162 arch/sdl/rbaudio.c, include/inferno.h, include/rbaudio.h, main/game.c, main/gamecntl.c, main/songs.c: tidy up music keys, ALT-SHIFT-F9 ejects audio CDs
2163 main/gamecnt.c: add necessary #includes for last commit (whoops)
2164
2165 20080612
2166 --------
2167 README.txt, main/collide.c, main/multi.c, main/netdrv_udp.c, main/network.c, main/state.c: Improved Player relay for Endlevel status; Fixed leaving when UDP hosts leaves; Fixed multi_frame_calling while demos since demos can be Game_mode & GM_MULTI; Re-added lost collision fix between robots and reactor; Made state_defaut_item static so selected state slot stays selected
2168 arch/sdl/digi_mixer.c: Setting GameArg.SndNoSound to true if SDL_mixer init fails
2169
2170 20080605
2171 --------
2172 INSTALL.txt, arch/sdl/digi_mixer.c, arch/sdl/jukebox.c: Small doc update; Improved SDL_mixer / Jukebox handling if no resource (sound) is available
2173
2174 20080604
2175 --------
2176 main/newmenu.c, main/network.c, main/menu.c, main/netdrv_udp.c, main/playsave.c, main/titles.c, main/object.c, main/kmatrix.c, main/scores.c, main/game.c, main/gauges.c, main/kconfig.c, main/gamecntl.c, main/credits.c, arch/sdl/digi_mixer_music.c, arch/sdl/jukebox.c, arch/include/jukebox.h: Generally increasing Menu rendering from 20 to 50 FPS; Allowed Fullscreen toggle in Pause menu and correctly releasing mouse; Fixed broken Death sequence timer; Fixed incorrect data offset for UDP player relay; Fixed crash in Multiplayer summary; Reworked player loading a little bit, making sure kconfig controls are all set; Some small Status bar correction; Implemented real Pause/Reume for Jukebox via SDL_mixer
2177
2178 20080602
2179 --------
2180 arch/sdl/jukebox.c: Only stop music at jukebox_stop() if MIDI jukebox_loaded - otherwise user can stop Jukebox with keys but not start it again
2181
2182 20080601
2183 --------
2184 include/args.h, main/inferno.c, main/hud.c, main/game.c, main/gamecntl.c, misc/args.c, d2x.ini, README.txt, arch/sdl/digi_mixer.c, arch/sdl/digi_mixer_music.c, arch/sdl/digi_audio.c, arch/win32/include/hmpfile.h, arch/win32/hmpfile.c: Using Windows code to play HMP files on Windows build; Fixed Jukebox keys in help screen; Allow -noredundancy in Singleplayer; Fixed processing of Console keys if Console is not active; Added Multiplayer hints to README; Made INI wrapping safer and more accurate
2185
2186 20080528
2187 --------
2188 arch/sdl/rbaudio.c, main/songs.c: allow an audio CD to be played if it's inserted after D2X is launched, hopefully find the first audio CD if multiple CDs are inserted
2189
2190 20080525
2191 --------
2192 arch/sdl/digi_mixer.c, arch/sdl/jukebox.c, main/kconfig.c, main/morph.h: Set sound distance to 0 for HUD sound taunts; Making Jukebox not crash if -nosound is enabled (should stop Jukebox since no digi system enabled); Lowered mouse axis speed a bit again; Increasing MAX_VECS to 5000
2193
2194 20080524
2195 --------
2196 main/gr.c: Give render_frame call both arguments (compiler error)
2197 arch/sdl/jukebox.c, arch/sdl/rbaudio.c, d2x.ini, include/args.h, main/config.c, main/config.h, main/gamecntl.c, main/inferno.c, main/menu.c, main/songs.c, misc/args.c: Allow audio CD support to be turned on in the menus, fix associated bugs
2198
2199 20080522
2200 --------
2201 main/menu.c: Added a new set of preset resolutions
2202
2203 20080521
2204 --------
2205 arch/ogl/gr.c, arch/sdl/mouse.c, main/game.h: Implmented filtered mouse delta reading
2206 SConstruct, INSTALL.txt, README.txt: Updated docs
2207
2208 20080520
2209 --------
2210 main/kconfig.c: Decreasing divisor for mouse axis reading - making mouse sensitivity practically much higher
2211
2212 20080519
2213 --------
2214 main/gamecntl.c: If a key combo is called which uses key of default wepaon binding, flush inputs
2215 main/mission.c, main/mission.h: Added support for another registered D1 HOG with different patching order... damn you PARALLAX!
2216 d2x.ini, arch/sdl/digi_mixer.c, include/args.h, main/gamefont.c, main/inferno.c, misc/args.c: Added -nomusic ability for SDL_mixer API; Added -gl_fontfixwidth to scale fonts with fixed aspect on widescreen resolutions, scaled to height
2217
2218 20080518
2219 --------
2220 include/physfsx.h, main/config.c: set "Jukebox" as the default jukebox path, for Mac OS 9 look for d2x.ini outside the app bundle
2221 main/game.c, main/gamecntl.c, main/songs.c: Reworked keys for song changing a bit; Added Song control keys to help menu
2222
2223 20080516
2224 --------
2225 d2x.ini, include/args.h, main/config.c, main/config.h, main/inferno.c, main/menu.c, misc/args.c: remember the last IP address entered for UDP instead of parsing -ip_hostaddr
2226
2227 20080510
2228 --------
2229 main/playsave.c: use atoi instead of sscanf for plx reading, so the setting for showing the reticle is read properly on big endian computers
2230
2231 20080508
2232 --------
2233 main/newmenu.c, main/multi.c, main/kconfig.c, main/gamecntl.c, arch/sdl/key.c, arch/include/key.h: Some code improvements and small fixes
2234
2235 20080507
2236 --------
2237 include/args.h, main/newmenu.c, main/multi.c, main/multi.h, main/inferno.c, main/menu.c, main/netdrv_udp.c, main/powerup.c, main/automap.c, main/gamecntl.c, misc/args.c, d2x.ini, ui/inputbox.c, ui/menubar.c, arch/sdl/digi_mixer.c, arch/sdl/jukebox.c, arch/sdl/key.c,arch/include/jukebox.h, arch/include/key.h: Return unicode characters in key_to_ascii for non-EN keyboard layouts; Fixed sound menu issue if not compiled with SDL_mixer; switched -ip_norelay to -ip_relay since it's not tested enough; Renamed jukebox_free() to jukebox_unload() to stay with naming-convention
2238
2239 20080502
2240 --------
2241 include/args.h, main/inferno.c, main/menu.c, main/movie.c, main/songs.c, main/config.c, main/config.h, main/gamecntl.c, misc/dl_list.c, misc/args.c, SConstruct, d2x.ini, arch/sdl/digi_mixer.c, arch/sdl/digi_mixer_music.c, arch/sdl/jukebox.c, arch/win32/hmpfile.c, arch/include/jukebox.h, libmve/mveplay.c: Extended Jukebox capabilities for looping and continous playing and added jukebox_free() which allows calling jukebox_load() being able to load a new directory; Added Jukebox options to sound options menu; Removed loop hack for Windows MIDI playback; SDL_mixer implementation can now be used for Windows build as well
2242
2243 20080427
2244 --------
2245 main/console.c: make sure it doesn't try to write to gamelog.txt after it's closed
2246
2247 20080424
2248 --------
2249 D2X.make, d2x-rebirth.xcodeproj, iff/iff.c, include/ogl_init.h, main/config.h, main/newdemo.c, main/newmenu.c, main/playsave.h, main/state.c: get it to build on Mac OS 9 again
2250
2251 20080422
2252 --------
2253 arch/ogl/gr.c, arch/sdl/gr.c, include/gr.h, main/config.c, main/config.h, main/menu.c: Added function gr_set_attributes to change Options like Texture Filtering and SDL_GL attributes while runtime (if supported); Added 4x Multisample support
2254
2255 20080421
2256 --------
2257 main/console.c, main/inferno.c, main/menu.c, main/config.c, main/config.h, main/gamerend.c, main/game.c, main/gamecntl.c, misc/args.c, d2x.ini, arch/ogl/gr.c, arch/sdl/timer.c, arch/win32/netdrv_ipx.c: Reworked timer_delay2() and calc_frame_time() to be more accurate and CPU-friendly; -nicefps replayced by -nonicefps to disable sleeping for calc_frame_time; Implemented VSync via SDL; Fixed compilation issues; Code cleanup
2258 main/console.c: Hack to force DOS-style newlines for _WIN32 in gamelog.txt
2259
2260 20080419
2261 --------
2262 include/ogl_init.h, include/gr.h, include/strutil.h, include/internal.h, main/network.c, main/inferno.c, main/menu.c, main/movie.c, main/playsave.c, main/state.c, main/newdemo.c, main/gamecntl.c, d2x-rebirth.xcodeproj/project.pbxproj, misc/strutil.c, SConstruct, arch/ogl/ogl.c, arch/ogl/gr.c, arch/sdl/joy.c, arch/sdl/gr.c, arch/carbon/conf.h, libmve/mve_main.c, libmve/mveplay.c: Made joy_flush also resetting button state; Improved glReticle; Implemented Fallback resolution if SDL may fail; Code cleanup
2263
2264 20080413
2265 --------
2266 include/args.h, main/newmenu.c, main/collide.h, main/network.c, main/multi.c, main/multi.h, main/inferno.c, main/menu.c, main/menu.h, main/playsave.c, main/playsave.h, main/object.c, main/hud.c, main/weapon.c, main/newdemo.c, main/config.c, main/config.h, main/gamerend.c, main/gameseq.c, main/escort.c, main/escort.h, main/endlevel.c, main/powerup.c, main/powerup.h, main/automap.c, main/game.c, main/gauges.c, main/game.h, main/kconfig.c, main/gauges.h, main/kconfig.h, main/gamecntl.c, misc/args.c, d2x.ini, arch/ogl/ogl.c, arch/ogl/gr.c, arch/sdl/joy.c: Added structure for values saved in PLR/PLX files; Added most common command-line options to options menu
2267 main/laser.c, main/menu.c, main/playsave.c: Reverted homers turn_radius again to respect higher difficulty levels; Added PRShot to menus; Fixed typo in OglAlphaEffects saving
2268 main/cntrlcen.c, main/collide.c, main/hudmsg.h, main/object.c, main/physics.c: Fixing collision bugs; Cleaning hudmsg.h; Solving death sequence timer without GameTime and removed another global
2269
2270 20080408
2271 --------
2272 d2x-rebirth.xcodeproj, include/cfile.h, main/inferno.c, main/newmenu.c, misc/error.c, ui/gadget.c, ui/window.c: show a messagebox if there's an error and graphics are initialised, update Xcode project
2273
2274 20080406
2275 --------
2276 d2x.ini, SConstruct, main/config.c, main/config.h, main/console.c, main/console.h + various: Implemented Console-style game logging system to print graphics, to stdout and gamelog.txt; Added structure to keep values for descent.cfg; Added aspect and Texture Filtering to descent.cfg; Removed mono code - printing important stuff over console; Removed some obsolete or very common defines; Code cleanup and small fixes
2277
2278 20080227
2279 --------
2280 d2x-rebirth.xcodeproj, main/bmread.c, main/piggy.c: allow external sound files to be put in 'Sounds' folder, update Xcode project
2281
2282 20080225
2283 --------
2284 include/loadgl.h, main/newmenu.c, main/titles.c: Added definitions for OpenGL fucntions which might not be included in system headers; Cleaned and declared briefings palette hacks (EMULATING_D1 needs work!); Menu right border shadow was too wide;
2285 main/movie.c: Do not actually blit movie frame if palette has been changed
2286
2287 20080323
2288 --------
2289 main/kconfig.c, main/laser.c, main/menu.c, main/newmenu.c, main/playsave.c: Added lock status for mouse axis weapon cycling because of scaled mouse delta; Due to player feedback (any my opinion) making homer turn rate smaller to make them a bit harder to dodge; Preventing write of player data while Demo playback; Small code cleanup and corrections
2290
2291 20080322
2292 --------
2293 INSTALL.txt, SConstruct: make compile instructions clearer for Windows and Mac users, for Mac OS X don't use Sharepath when using SConstruct
2294 main/network.c: add prototypes for show_game_stats and network_do_join_game to fix warnings
2295 main/multi.c: allow hoard.ham to go in 'Data' subdirectory
2296
2297 20080321
2298 --------
2299 2d/palette.c, arch/ogl/gr.c, arch/ogl/ogl.c, arch/sdl/gr.c, include/gr.h, include/palette.h, main/automap.c, main/automap.h, main/collide.c, main/credits.c, main/editor/med.c, main/endlevel.c, main/escort.c, main/game.c, main/gamecntl.c, main/gamepal.c, main/gamepal.h, main/gamerend.c, main/gameseq.c, main/gauges.c, main/inferno.c, main/kconfig.c, main/kmatrix.c, main/menu.c, main/menu.h, main/network.c, main/newmenu.c, main/newmenu.h, main/paging.c, main/scores.c, main/switch.c, main/titles.c, ui/file.c, ui/keypress.c, ui/menu.c, ui/menubar.c, ui/message.c, ui/number.c, ui/popup.c: Simplification of palette code; Properly screen clearing in SDL-only build when palette changes; Removed obsolete functions like gr_update (replaced by gr_flip), gr_palette_fade_in/out, gr_palette_clear; Added functionality to render Automap while menu display as well; Improved blocking of some controls code while Automap active; Fixed some compiler warnings
2300 include/physfsx.h: allow d2x.ini to stay with the binary for *NIX systems, with Mac OS 9 don't put user-created files inside the .app bundle
2301
2302 20080319
2303 --------
2304 d2x-rebirth.xcodeproj: update d2x.xcode to build universal binaries (requires Xcode 2.1 or greater), update source file list
2305
2306 20080308
2307 --------
2308 main/aipath.c, main/collide.c, main/fvi.c, main/game.c, main/gamecntl.c, main/gamerend.c, main/gauges.c, main/mission.c, main/netdrv.c, main/newdemo.c, main/newdemo.h, main/newmenu.c, main/object.c: Fixed some memory issues; Fixed some HUD element alignment; Only send NetDrv packets if NetDrvInstalled is true; Fixed demo glitches; Actually using Game_mode in demos to make Newdemo_game_mode hacking obsolete
2309
2310 20080228
2311 --------
2312 2d/font.c, arch/ogl/gr.c, arch/ogl/ogl.c, main/escort.c, main/game.h, main/gamecntl.c, main/gamepal.c, main/gamerend.c, main/gameseq.c, main/gauges.c, main/hud.c, main/mission.c, main/network.c, main/newmenu.c, main/state.c, main/titles.c: Fixed wrong font width spacing, -gl_prshot, mission loading, null-terminatinon in several menus, cockpit glitch; Improved gl_reticle, -noredundancy; Some code cleanup
2313
2314 20080224
2315 --------
2316 main/newdemo.c: make sure the right error message is shown if it can't open a demo
2317 main/network.c: fix bug where a Mac host crashes on starting a game
2318 include/args.h, include/gr.h, main/credits.h, main/console.c, main/screens.h, main/newmenu.c, main/newmenu.h, main/network.c, main/multi.c, main/inferno.c, main/gamefont.c, main/menu.c, main/gamefont.h, main/menu.h, main/netdrv_udp.c, main/movie.c, main/playsave.c, main/titles.c, main/kmatrix.c, main/controls.c, main/hud.c, main/state.c, main/slew.c, main/gamerend.c, main/gameseq.c, main/escort.c, main/scores.c, main/automap.c, main/game.c, main/gauges.c, main/game.h, main/kconfig.c, main/gauges.h, main/gamecntl.c, main/credits.c, misc/args.c, console/CON_console.c, 2d/font.c, SConstruct, d2x.ini, arch/ogl/ogl.c, arch/ogl/gr.c, arch/sdl/gr.c: Reworked fonts routines - makes easier to expand and scale correctly; Reworked menus with better border scaling, improved rendering and cleanups; Improved font priniting ingame, better alignment; Reworked Netgame list; Real Doublebuffering in SDL-mode; Removed old and unused sources
2319
2320 20080217
2321 --------
2322 misc/hmp2mid.c: don't try and free mid_track_buf if it isn't allocated, if midi conversion doesn't work
2323 main/netpkt.c, misc/hmp2mid.c: use d_ memory functions in hmp2mid, since I already started to erroneously. Also fixed bug where Mac-hosted games couldn't be started
2324
2325 20080212
2326 --------
2327 main/endlevel.c: make sure a briefing isn't interpreted as an endlevel sequence file, preventing an in-game warning
2328 iff/iff.c: remove redundant iff functions
2329
2330 20080211
2331 --------
2332 main/bm.c, main/bm.h, main/bmread.c, main/inferno.c, main/piggy.c, main/piggy.h: support PC shareware files in full version build, make game data loading code easier to follow
2333
2334 20080129
2335 --------
2336 SConstruct, arch/include/mouse.h, arch/ogl/gr.c, arch/ogl/ogl.c, arch/ogl/sdlgl.c, arch/sdl/mouse.c, include/internal.h, main/kconfig.c: Cleanung up arch/ a little bit; Added mouse delta time interval for more more accurate reading at high FPS
2337 SConstruct, main/netdrv_udp.c, main/netdrv_udp.h, main/newmenu.c: Renaming udp.* to netdrv_udp.* to fit naming convention; Small menu ui fixes
2338
2339 20080125
2340 --------
2341 arch/sdl/digi_mixer_music.c: allow custom MIDI in add-on hogs to be used without caching everything
2342
2343 20080124
2344 --------
2345 INSTALL.txt, main/gamerend.c, main/network.c, main/udp.c: Updated Docs - Data files must be lowercase; Fixed small Multiplayer issues
2346
2347 20080123
2348 --------
2349 d2x.ini, arch/sdl/joy.c, include/cfile.h, include/physfsx.h, main/config.c, main/gamesave.c, main/mission.c, main/mission.h, main/playsave.c: Fixed memory issue as Joystick freeing; Case-insensitive mission-loading; Added support for non-Hog'ed missions; Improved writing functions for config and player files
2350
2351 20080119
2352 --------
2353 misc/strutil.c: fix potential bad memory access in change_filename_extension
2354 main/inferno.c: if descent2.hog / d2demo.hog isn't found, show a more accurate error message than before
2355 include/physfsx.h, main/bm.c, main/piggy.c: rename datafile_open to PHYSFSX_openReadBuffered to fit in with naming convention
2356
2357 20080113
2358 --------
2359 main/network.c: fix typo causing compiler error on bigendian computers
2360 2d/font.c: make sure a font header only takes up sizeof(grs_font) memory, not sizeof(grs_font) squared
2361 arch/ogl/gr.c, arch/ogl/include/internal.h, arch/ogl/sdlgl.c, include/args.h, main/inferno.c, main/menu.c, main/newdemo.c, main/newmenu.c, misc/args.c: Removed SDL Gammaramp code (obsolete); Improvements on Demo code
2362
2363 20080108
2364 --------
2365 SConstruct, include/args.h, include/netdrv.h, main/gameseq.c, main/netdrv.c, main/netpkt.c, main/netpkt.h, main/network.c, main/network.h, main/udp.c, misc/args.c: 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
2366 main/menu.c, main/newmenu.c, main/newmenu.h: Safe timer rollover in menu idle-demo function; Reintroduced menu shortcuts; Implemented support for menu scrolling if nitems > 15
2367
2368 20080102
2369 --------
2370 SConstruct, arch/linux/netdrv_ipx.c, arch/linux/netdrv_kali.c, arch/win32/netdrv_ipx.c, main/menu.c, main/netdrv.c, main/netdrv.h, main/netmisc.c main/netmisc.h, main/network.c, main/network.h, main/udp.c, main/udp.h: Cleaned/Rewritten/Renamed lower level network layer to make it (look) less IPX-oriented
2371
2372 20071229
2373 --------
2374 SConstruct, arch/sdl/digi.c, main/ai.c, main/game.h, main/gamepal.c, main/gameseq.c, main/inferno.c, main/kmatrix.c, main/laser.c, main/menu.c, main/mission.c, main/multi.c, main/multibot.c, main/network.c, main/network.h, main/object.c, main/object.h, main/physics.c, main/render.c: Code cleanup - old/unused/obsolete multiplayer code and more
2375
2376 20071223
2377 --------
2378 include/ipx.h, main/credits.c, main/inferno.c, main/multi.c, main/network.c, main/piggy.c: 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
2379
2380 20071217
2381 --------
2382 d2x.ini, SConstruct, arch/linux/include/ipx_drv.h, arch/linux/linuxnet.c, arch/win32/include/ipx_drv.h, arch/win32/ipx_drv.h, arch/win32/winnet.c, include/args.h, main/inferno.c, main/kconfig.c, main/menu.c, main/network.c, main/network.h, main/scores.c, main/udp.c, main/udp.h, misc/args.c: 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
2383
2384 20071124
2385 --------
2386 main/hud.c: Fixed new redundancy HUD messages check - made it more strictly
2387
2388 20071123
2389 --------
2390 main/aipath.c, main/fireball.c, main/titles.c: Fixed some memory problems; Adjusted timer_delay2 for robot briefings
2391
2392 20071121
2393 --------
2394 arch/sdl/key.c, arch/sdl/timer.c, include/timer.h, main/game.c, main/gamecntl.c, main/kconfig.c, main/kmatrix.c, main/network.c, main/newmenu.c, main/scores.c, main/titles.c: Introduced timer_delay2 as replacement for timer_delay to sleep according to given FPS rate considering calc time between frames
2395
2396 20071110
2397 --------
2398 arch/include/digi_mixer_music.h, arch/sdl/digi_mixer_music.c, arch/sdl/jukebox.c, include/physfsx.h: port the jukebox to PhysicsFS for Mac OS 9 compatibility
2399 arch/ogl/sdlgl.c: print a more meaningful message when SDL fails to initialise OpenGL
2400 D2X.make: re-add Mac OS 9's makefile (SCons not compatible with Mac OS 9)
2401
2402 20071106
2403 --------
2404 main/config.c, main/game.c, main/game.h, main/gamecntl.c, main/gamerend.c, main/menu.c, main/newdemo.c: 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
2405
2406 20071106
2407 --------
2408 arch/sdl/digi_mixer.c, arch/sdl/digi_mixer_music.c, arch/sdl/jukebox.c, include/args.h, misc/hmp2mid.c: various fixes towards getting it to build for Mac OS 9 again
2409 misc/hmp2mid.c: make sure mid_write_error_templ still works
2410
2411 20071105
2412 --------
2413 arch/carbon/conf.h, English.lproj/InfoPlist.strings, d2x-Info.plist, d2xgl-Info.plist: update Mac version info, set SHAREPATH to application folder for Mac OS X
2414 arch/sdl/jukebox.c: Fixed crash on absent or invalid jukebox directory
2415
2416 20071103
2417 --------
2418 arch/sdl/jukebox.c: hack to remove warning when compiling on Mac OS X (constant/variable dirent parameter of file selection callback for scandir)
2419 include/physfsx.h, INSTALL.txt: hard code userdir to ~/Library/Preferences/D2X Rebirth/ for Mac OS X
2420
2421 20071101
2422 --------
2423 main/collide.c, main/laser.c: Data types correction
2424
2425 20071031
2426 --------
2427 arch/ogl/gr.c, main/multi.c, main/multi.h, main/network.c, main/state.c, main/state.h: Improvements for -gl_prshot; Improved show_netgame_info(); Removed obsolete multisave code
2428 texmap/scanline.c: Fixed selection for default Texmapper
2429
2430 20071029
2431 --------
2432 main/object.c: Fixed cockpit_mode_save usage for Death sequence
2433 main/credits.c, main/inferno.c, main/menu.c, main/mission.c, main/newmenu.c: Memory stuff
2434
2435 20071028
2436 --------
2437 arch/ogl/ogl.c, include/args.h, main/collide.c, main/fuelcen.c, main/game.c, main/gamecntl.c, main/gameseq.c, main/gauges.c, main/hud.c, main/inferno.c, main/laser.c, main/network.c, main/powerup.c, misc/args.c: Fixed problems with GameTime wraparound - delay sounds, cloak, invulnerability, ping; Added debug key to Reset GameTime for testing; Removed -gl_vidmem; Some HUD message redundancy
2438 main/hud.c: 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
2439 main/newmenu.c: Using FONTSCALE_X instead of MENSCALE_X to scale netlist tabs
2440
2441 20071018
2442 --------
2443 d2x.ini, 2d/bitblt.c, 2d/box.c, 2d/rle.c, arch/ogl/gr.c, arch/ogl/ogl.c, include/args.h, include/rle.h, main/gauges.c, main/inferno.c, main/menu.c, mist/args.c: Small fixes; Code cleanup; Implemented PR-Screenshot feature
2444
2445 20071015
2446 --------
2447 libmve/mveplay.c: Set defines for USE_SDLMIXER to fix issues while compiling
2448 d2x.ini, main/inferno.c: Removed -userdir switches from command-line and INI since it's not available anymore
2449 include/physfsx.h: Fixed define mistake in PHYSFSX_init
2450
2451 20071014
2452 --------
2453 d2x.ini, arch/sdl/digi_audio.c, arch/sdl/digi_mixer.c, arch/sdl/digi_mixer_music.c, arch/sdl/jukebox.c, include/args.h, include/physfsx.h, main/game.h, main/inferno.c, main/args.c: 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
2454 main/game.c, main/game.h, main/gamecntl.c, main/gamerend.c: Reworked Pause-screen
2455
2456 20070112
2457 --------
2458 arch/linux/arch_ip.cpp, main/ip_base.cpp, main/ip_base.h, main/ipclient.cpp: Fixed port deformation while sending handshake
2459 d2x.ini, arch/sdl/digi.c, arch/sdl/digi_audio.c, arch/sdl/digi_mixer.c, main/inferno.c, main/menu.c, main/args.c: Fixed some command-line options
2460 main/game.c: Increased Rear_view_leave_time to 0x4000
2461 include/physfsx.h, main/args.c: Big code refactoring, fixed issue with userdir d2x.ini
2462 SConstruct: micro version now specified as the "micro" scons flag
2463 arch/sdl/digi_mixer.c, libmve/mveplay.c: various small fixes
2464
2465 20071011
2466 --------
2467 main/movie.c, arch/sdl/digi_mixer.c, libmve/mveplay.c: enabled SDL_mixer sound backend for movie playback. When
2468 using it, audio is no longer closed/re-opened with each movie -- hence does not crash with SDL_mixer 1.2.8.
2469
2470 20071009
2471 --------
2472 main/gauges.c, main/network.c, main/scores.c: Moved show_bomb_count() to work with new transparency cockpit layer; Fixed nm_draw_background() for scores and show_game_rules()
2473
2474 20071008
2475 --------
2476 main/game.c, main/gamerend.c, main/inferno.c, main/object.c, main/playsave.c: Improvements for Cockpit mode save; Fixed -pilot switch
2477
2478 20071007
2479 --------
2480 main/collide.c, main/laser.c: Changed collision handling between robots and controlcen; Aligned constant sounds to GameTime; Using turn radius of 0x0024*F1_0 for all homing objects while not aligning smart blobs to movement vector
2481 arch/ogl/ogl.c, main/gauges.h: Changed name for Window Boxes - preventing redundancy in Windows build
2482 main/newdemo.c: Reset Rear_view at beginning and end of demo playback
2483
2484 20071006
2485 --------
2486 2d/box.c, arch/ogl/ogl.c, main/game.c, main/gamerend.c, main/gauges.c, main/gauges.h: Not rendering additional transparency cockpit display anymore to ensure compability with custom cockpits; Improved overlay functions for cockpit elements
2487 main/kconfig.c, main/kmatrix.c, main/newmenu.c: Fixed size of kconfig_sub_table background; Fixed problems caused by use of load_stars()
2488
2489 20071001
2490 --------
2491 main/gamerend.c, main/kconfig.c, main/titles.c: Added line_scpacing in netgame info screen for every not-connected player to keep strings below player table in fixed position; Fixed memleak in kconfig code; Fixed show_title_screen function to cycle correctly 3 seconds or until broken by keypress
2492 d2x.ini, include/args.h, main/inferno.c, main/movie.c, misc/args.c: Moved -nomovies to System Options
2493
2494 20070930
2495 --------
2496 SConstruct, arch/sdl/digi_audio.c: Moved Windows midi functions to digi_audio_* functions
2497
2498 20070929
2499 --------
2500 INSTALL.txt, README.txt, SConstruct, arch/sdl/digi_audio.c, arch/sdl/event.c, arch/sdl/gr.c, arch/sdl/joy.c, arch/sdl/key.c, include/physfsx.h, main/gamecntl.c, main/kconfig.c, main/menu.c, main/newmenu.c, main/scores.c: Updated docs; Removed GP2X support since I won't support this device anymore
2501 include/pstypes.h: Changed define path for SDL_types header for win32
2502
2503 20070928
2504 --------
2505 main/gameseq.c, main/inferno.c, main/playsave.c: Removed some strlwr calls for -use_players_dir since it uses Uppercase letters
2506
2507 20070927
2508 --------
2509 main/gamerend.c: Removed line_spacing for not connected players in Netgame info screen
2510
2511 20070926
2512 --------
2513 main/gamerend.c, main/multi.c, main/network.c, main/network.h: Small fixes for new netgame info screen; Fixed PING routines; Once again fixed some newmenu mouse actions
2514
2515 20070925
2516 --------
2517 main/gamecntl.c: Moved some game keys to not apply if Player_is_dead flag is set
2518
2519 20070924
2520 --------
2521 main/newmenu.c, main/weapons.c: Removed key shortcuts for menus; Correctly aligned ScrollBox arrows; ScrollOffset now increments earlier is scrolling is done with keys; Fixed width for menu mouse selections; Fxied mouse selector for submenus in ScrollBoxes; Using defines for Arrow-chars in Weapon reordering
2522
2523 20070921
2524 --------
2525 most files: executable flag removed
2526 main/digi.h: restored previous value of SOUND_MAX_VOLUME
2527
2528 20070920
2529 --------
2530 d2x.ini, SConstruct, include/args.h, main/newmenu.c, main/network.c, main/multi.c, main/network.h, main/multi.h, main/inferno.c, misc/args.c: Code-cleanup; Implemented new multi profile feature
2531 main/titles.c: Removed briefing text shadows code
2532
2533 20070918
2534 --------
2535 SConstruct, main/inferno.c, main/digi.h, arch/sdl/include/digi_audio.h, arch/sdl/include/digi_mixer_music.h, arch/sdl/include/digi_mixer.h, arch/sdl/digi.c, arch/sdl/digi_mixer.c, arch/sdl/digi_mixer_music.c, arch/sdl/digi_audio.c : huge refactoring of sound system using function pointers, to allow sound backend selection at runtime and provide a common interface (digi.c)
2536 include/args.h, main/args.c : handle SDL_mixer-specific args
2537 arch/sdl/jukebox.c, arch/sdl/jukebox.c, include/dl_list.h, misc/dl_list.c : added jukebox functionality
2538
2539 20070913
2540 --------
2541 main/game.c, main/gamecntl.c, main/multi.c, main/network.c: Code Re-formatting; Preventing Redundancy in Restricted-game joining; Dumping refused player back to Join-menu; Expanded Game-help screen
2542
2543 20070908
2544 --------
2545 main/gamecntl.c, main/gamerend.c, main/multi.c, main/network.c, /main/network.h: Added complex netgame information screen (key PAUSE), Removed ping commands because ping handled in new screen
2546
2547 20070905
2548 --------
2549 main/multi.c: Color names in Multi-messages to Player- or Team-color
2550
2551 20070903
2552 --------
2553 2d/font.c, main/escort.c: Fixed embedded color strings
2554
2555 20070901
2556 --------
2557 main/credits.c, main/game.c, main/gameseq.c, main/titles.c: Moved 'if' for HiresGFX to apply after gr_set_mode call; Fixed problems with HiresGFX=0 in Pilot selection and Briefings; Fixed define for CREDITS_FILE so cfexist checks for txb-, not tex-file
2558
2559 20070831
2560 --------
2561 main/gamerend.c, main/gauges.c: HUD alignment improvements
2562
2563 20070829
2564 --------
2565 main/physics.c: Apply BUMP_HACK on walls only
2566
2567 20070828
2568 --------
2569 d2x.ini, 2d/bitblt.c, include/args.h, main/automap.c, main/credits.c, main/gameseq.c, main/inferno.c, main/newmenu.c, main/piggy.c, main/titles.c, misc/args.c: Fixed some mem-leaks; Made show_fullscr() use ogl_ubitmapm_cs(); Removed use of glScissor for menus - using Blitting; Code cleanup
2570 SConstruct, arch/ogl/gr.c: If sdl_only=1 do not use Assembly code by default because of poor portability - switch asm=1 necessary now; Removed final remnants of glScissor
2571
2572 20070826
2573 --------
2574 main/game.c, main/multi.c: Improved CPU cycles sleeping for -nicefps - moved out of main frame calc loop and taking care of 10ms timer inaccuracy
2575 main/hud.c: Preventing redundancy of doubled messages correctly
2576
2577 20070824
2578 --------
2579 main/game.c, main/gamecntl.c, main/gamerend.c: allow framerate indicator to be toggled in-game again
2580 main/mission.c, main/menu.c: Moved piggy init loading for D1 missions to load_mission_d1
2581
2582 20070822
2583 --------
2584 SConstruct: Removed hardcoded CPPPATH for MinGW environment - obsolete since r487
2585
2586 20070821
2587 --------
2588 arch/linux/linuxnet.c, arch/win32/winnet.c, include/ipx.h, main/network.c: Added ipx_check_ready_to_join for driver element CheckReadyToJoin, making sure communication between UDP/IP clients
2589 main/ip_base.h, main/ipclient.h: Fixed some compiler warnings
2590
2591 20070816
2592 --------
2593 main/inferno.c: moved first call of gr_set_mode to before font loading, so OpenGL is initialised before it tries to load textures
2594 main/fireball.c: doing pick_connected_segment in D1 way - more reliable
2595
2596 20070809
2597 --------
2598 d2x.ini, include/args.h, main/inferno.c, main/menu.c, misc/args.c: Added -ip_hostaddr argument to specify a host IP address via command-line/INI
2599 main/menu.c: Fixes and improvements on -ip_hostaddr
2600 main/ipbase.cpp, main/ipbase.h, main/ipclient.cpp, main/ipclient.h, main/multi.c: Some debugging-related cleanups, Fixed memleak
2601
2602 20070808
2603 --------
2604 main/config.c, main/game.c, main/menu.c, main/movie.c, main/piggy.c, main/polyobj.c, main/titles.c, main/titles.h: Set default value for Game_screen_mode which is necessary if there's no config file yet; Made resolution switching more failsafe by not allowing resolutions below 320x200; Cleaned up briefings code (I hope so)
2605 main/game.c, main/inferno.c, main/menu.c, main/network.c, main/newmenu.c: Fixed excessive use of set_screen_mode; Menu fixes; Better way to determinate Scollboxes
2606
2607 20070727
2608 --------
2609 2d/font.c, arch/ogl/ogl.c, include/gr.h, main/automap.c, main/config.c, main/credits.c, main/game.c, main/gamefont.c, main/gamefont.h, main/gamerend.c, main/gameseq.c, main/gauges.c, main/hud.c, main/inferno.c, main/kconfig.c, main/kmatrix.c, main/menu.c, main/menu.h, main/movie.c, main/network.c, main/newmenu.c, main/playsave.c, main/scores.c, main/state.c, main/titles.c: Cleanup in Config- and PLX-code; Saving Resolution in Config file so it will apply directly at game-init; Removed seperated resolution mode for menus, SCREEN_MENU now always uses Game_screen_mode; Last FindArg cleanups; Removed MenuHires(Available) and FontHires(Available) and replaced with HiresGFX(Available) to make a more common way to determinate if Hires data is used or not (interactive Demo); Improved support for Interactive Demo
2610 main/gamecntl.c, main/menu.c, main/songs.c, main/songs.h: Control Redbook activity with GameArg.SndEnableRedbook only
2611
2612 20070723
2613 --------
2614 arch/ogl/gr.c, arch/include/internal.h, arch/ogl/ogl.c, arch/sdl/gr.c, include/args.h, include/ogl_init.h, main/inferno.c, main/args.c: FindArg cleanup - GL-Debug and SDL arguments
2615
2616 20070722
2617 --------
2618 include/args.h, include/error.h, main/newmenu.c, main/network.c, main/inferno.c, main/menu.c, main/gamerend.c, main/automap.c, main/game.c, main/game.h, main/gamecntl.c, misc/args.c: Code cleanup and small fixes
2619 main/collide.c, main/newmenu.c, main/object.c, main/physics.c, main/weapon.c, main/weapon.h, main/gameseq.c, main/laser.c, main/kconfig.c, main/gamecntl.c: Removed old Tactile-code since ForceFeedback is currently out of question
2620 main/multi.h, main/state.c: Deactivated Multisave feature as default (multi.h define) - broken, not sure if it's worth to fix
2621 arch/linux/hmiplay.c, arch/ogl/sdlgl.c, include/args.h, include/digi.h, main/digiobj.c, main/inferno.c, main/ipserver.cpp, main/network.c, main/piggy.c, main/polyobj.c, main/slew.c, misc/args.c: Even more FindArg cleanups
2622
2623 20070718
2624 --------
2625 SCsonstruct, 2d/palette.c, arch/ogl/gr.c, arch/ogl/ogl.c, arch/sdl/gr.c, include/args.h, include/gr.h, include/ogl_init.h, include/palette.h, main/game.c, main/inferno.c, main/movie.c, main/render.c, main/text.c, misc/args.c: Cleaned up more FindArg's - general Debug Options; Cleanups
2626 include/args.h, include/u_mem.h, main/bmread.c, main/inferno.c, mem/mem.c, misc/args.c: Cleanups
2627
2628 20070716
2629 --------
2630 d2x.ini, arch/ogl/gr.c, arch/ogl/ogl.c, arch/ogl/include/internal.h, arch/sdl/gr.c, include/args.h, include/gr.h, include/ogl_init.h, main/automap.c, main/game.c, main/game.h, main/gamecntl.c, main/gamefont.c, main/gauges.c, main/inferno.c, main/menu.c, main/movie.c, main/newmenu.c, main/titles.c, misc/args.c: Cleaned up more FindArg's - (most important) OpenGL Options
2631 main/game.c: Fixing duplicated gr_toggle_fullscreen()
2632 main/cntrlcen.c, main/game.c, main/game.h, main/gamerend.c, main/laser.c: Removed unused RealFrameTime; Removed FPS-dependent Homing-tracking code
2633 d2x.ini, arch/linux/linuxnet.c, arch/win32/winnet.c, include/args.h, main/game.c, main/gamecntl.c, main/hud.c, main/inferno.c, main/ip_base.cpp, main/ipclient.cpp, main/multi.c, main/network.c, misc/args.c: Cleaned up more FindArg's - Networking Options; Some fixes
2634
2635 20070715
2636 --------
2637 Sconstruct, d2x.ini, arch/sdl/mixdigi.c, arch/sdl/rbaudio.c, arch/win32/midi.c, include/args.h, include/physfsx.h, main/ai2.c, main/bmread.c, main/config.c, main/digi.h, main/digiobj.c, main/game.c, main/inferno.c, main/menu.c, main/movie.c, main/multi.c, main/piggy.c, main/songs.c, misc/args.c: Cleaned up more FindArg's - Sound Options
2638 main/piggy.c: use EdiMacData, not SysMacData (compiler error)
2639 d2x.ini, arch/sdl/gr.c, arch/ogl/gr.c, include/args.h, main/automap.c, main/automap.h, main/collide.c, main/collide.h, main/config.c, main/game.h, main/gamecntl.c, main/gauges.c, main/gauges.h, main/inferno.c, main/movie.c, main/movie.h, main/playsave.c, misc/args.c: Cleaned up more FindArg's - Graphics Options
2640
2641 20070714
2642 --------
2643 SConstruct, d2x.ini, arch/sdl/init.c, arch/sdl/joy.c, include/args.h, include/physfsx.h, main/config.c, main/game.c, main/game.h, main/gamerend.c, main/gameseq.c, main/hud.c, main/inferno.c, main/kconfig.c, main/laser.c, main/menu.c, main/multi.c, main/newdemo.c, main/newmenu.c, main/piggy.c, main/playsave.c, main/playsave.h, main/state.c, main/state.h, main/titles.c, misc/args.c: Placing FindArg calls to seperated function, putting variables to a struct - frist step, not finished, yet; Large code cleanup
2644
2645 20070629
2646 --------
2647 main/playsave.c, main/titles.c: using gr_flip() with title screens
2648
2649 20070628
2650 --------
2651 main/game.c, main/newdemo.c: fixing compiler warning, show up HOARD textures in demo playback
2652
2653 20070616
2654 --------
2655 main/newmenu.c: adjusted size of Inputbox; code cleanup for saving/restoring state; also display savegame thumbnail when saving game
2656
2657 20070615
2658 --------
2659 SConstruct, arch/sdl/digi.c: complete removal of hmiplay-code usage
2660 2d/bitblt.c, arch/ogl/ogl.c, ogl_init.h, main/gamerend.c, main/newmenu.c, main/state.c: small code cleanup; improved texture caching in menus to save RAM
2661
2662 20070614
2663 --------
2664 2d/font.c, libmve/decoder16.c, main/object.c, main/piggy.c, main/polyobj.c, main/render.c, mem/mem.c: using size_t when it comes to integer to pointer conversions
2665 main/game.c, main/gamecntl.c, main/gamepal.c, main/gamerend.c, main/gauges.c, main/hud.c, main/inferno.c, main/kconfig.c, main/menu.c, main/playsave.c: fixed axis direction for vertical and sideways thrust time; fixed y-Offset for mouse selection in kconfig_sub; removed (useless) Shrink/Grow window feature to clean code a bit; improved grabmouse so mouse is always released in non-SCREEN_GAME modes
2666
2667 20070611
2668 --------
2669 2d/bitblt.c, arch/linux/hmiplay.c, arch/linux/ipx_bsd.c, arch/linux/ukali.c, libmve/decorder16.c, main/fvi.c, main/gameseq.c, main/newdemo.c, main/newmenu.c, main/object.c, main/playsave.c, main/render.c: fixed a bunch of compiler warnings
2670 arch/include/mouse.h, arch/sdl/mouse.c, arch/win32/include/mouse.h, arch/ogl/gr.c, include/palette.h, main/bmread.c, main/credits.c, main/desw.h, main/gamepal.h, main/gamesave.c, main/gameseq.c, main/inferno.c: fixed more compiler warnings
2671
2672 20070610
2673 --------
2674 arch/carbon/conf.h, SConstruct: fix Mac errors involving use of 'VERSION'
2675 arch/linux/arch_ip.cpp, main/ip_base.cpp, main/ipclient.cpp, main/netmisc.h: fix more Mac errors for new UDP/IP
2676 2d/bitblt.c, 2d/font.c, 2/rle.c, arch/ogl/gr.c, arch/ogl/internal.h, arch/ogl/ogl.c, include/gr.h, include/ogl_init.h, include/rle.h, main/game.c, main/gamerend.c, main/gauges.c, main/render.c, main/titles.c: introduced new bitmap flag to draw cockpit bitmap with transparency; draw transparent cockpit bitmap over gauges to make it more pixel-correct; code cleanups
2677
2678 20070601
2679 --------
2680 main/menu.c, main/netmisc.h, main/network.c, main/newmenu.c: improved pixel-correct (almost) scaling of menus; new Netgame info screen which can show up necessary game rules
2681
2682 20070530
2683 --------
2684 d2x.ini, SConstruct, arch/linux/arch_ip.cpp, arch/linux/linuxnet.c arch/linux/ukali.c, arch/linux/include/ipx_drv.h, arch/win32/arch_ip.cpp, arch/win32/winnet.c, arch/win32/ipx_drv.h, arch/win32/include/ipx_drv.h, main/ip_base.cpp, main/ip_basec.h, main/inferno.c, main/ipbase.h, main/ipclient.cpp, main/ipclienc.c, main/ipclient.h, main/menu.c, main/network.c, main/playsave.c, main/vers_id.h: Removed old UDP/IP and MCAST4 code; Implemented online-capable UDP/IP interface
2685
2686 20070527
2687 --------
2688 include/cfile.h, main/inferno.c, main/mission.c, main/movie.c: add add_to_end parameter to cfile_init, allowing custom MIDI music to be found in an add-on hog
2689 arch/sdl/mixmusic.c: look for music files in "Music" dir, store MIDI's in "Music/<hogfile>" to better support custom MIDI music
2690 main/mission.c, main/mission.h: close add-on hog when loading another mission, so the add-on hog's custom MIDI music isn't played when playing the built-in mission
2691
2692 20070523
2693 --------
2694 arch/ogl/gr.c: make sure gl functions are not called before OpenGL is initialised, when fullscreen switching
2695
2696 20070522
2697 --------
2698 SConstruct: Added conditions to add compiler/linker flags from user's environemnt if they have any set.
2699 main/gameseq.c, main/state.c: make sure the right slot is saved to, and it shows the save screen if appropriate, when using fast save (F6)
2700
2701 20070521
2702 --------
2703 ui/window.c: use new 3 argument mouse_get_delta to avoid compiler errors
2704 d2x.ini, main/cntrlcen.c, main/gameseq.c, main/inferno.c, main/multi.c, main/newmenu.c, main/playsave.c, main/playsave.h, main/state.c, main/state.h: add use_players_dir argument, which puts player files and saved games in Players subdirectory, like original Mac D2 folder layout
2705
2706 20070516
2707 --------
2708 include/cfile.h, include/physfsx.h, main/bm.c, main/mission.c, main/piggy.c: allow built-in data files to go in the 'Data' directory, like original Mac D2 folder layout
2709
2710 20070516
2711 --------
2712 main/game.c, main/inferno.c, main/newmenu.c: free grabbed mouse in Demo Playback; improved Player-files deletion
2713
2714 20070514
2715 --------
2716 SConstruct, arch/sdl/init.c, arch/sdl/joydefs.c, arch/sdl/mouse.c, arch/include/mouse.h, include/error.h, main/config.h main/game.c, main/gamecntl.c, main/inferno.c, main/kconfig.c, main/kconfig.h, main/newmenu.c, main/newmenu.h, main/playsave.c, main/text.h: Added config field to map a Mouse Axis/Wheel to cycle Primary and Secondary weapons; lots of controls-related code cleaning
2717 main/laser.c: fixed speeding bug in homing system
2718 main/game.c: make sure Game_window_w/h is always set to a valid value in every cockpit mode
2719
2720 20070512
2721 --------
2722 main/endlevel.c: Changed RAND_MAX to D_RAND_MAX in vector multipler so that resulting scale equals something logical. Fixes explosions/attached sound when chasing player during endlevel tunnel exit
2723 main/switch.c: Added condition so that sounds keep playing through exit sequence when exiting a D1 level
2724
2725 20070511
2726 --------
2727 main/movie.c: if movielib isn't found in requested resolution, do NOT select other version, since the game is unable to determinate to switch correctly - instead skip playback in that case
2728
2729 20070510
2730 --------
2731 main/gameseq.c: moved load_palette() call in StartNewLevelSub() to show HOARD textures and bitmaps correctly in OGL
2732 main/inferno.c: read -pilot arg with and without filename extension
2733
2734 20070509
2735 --------
2736 arch/ogl/gr.c, main/gamecntl.c, main/newmenu.c: update viewing values at Fullscreen Toggle; added Fullscreen Toggle to Menus and Demo Playback
2737 2d/tmerge.c, tmerge_a.asm: fixed Assembler Compile Build error
2738
2739 20070506
2740 --------
2741 main/titles.c: removed unnecessary gr_set_mode() call causing annoying resolution change (hopefully)
2742
2743 20070505
2744 --------
2745 main/gameseq.c: fixed broken Textures for Custom levels caused by load_palette() call
2746
2747 20070503
2748 --------
2749 CHANGELOG.txt, COPYING.txt, INSTALL.txt, README.txt: updated docs
2750 SConstruct: Version-Tag 0.52
2751
2752 20070502
2753 --------
2754 main/gauges.c: resolved some overlapping HUD elements
2755 main/game.c: rev432 revisited - do not send multi De-Cloak packet in Demo Playback
2756
2757 20070427
2758 --------
2759 main/game.c: removed FrameTime limiter since it is only messing if 150FPS or more is reached
2760
2761 20070425
2762 --------
2763 arch/cocoa/tool_bundle.py, SConstruct: add Mac OS X support to SConstruct
2764
2765 20070421
2766 --------
2767 main/hud.c: prevent string placeholders in HUD Messages which may crash the game
2768
2769 20070420
2770 --------
2771 main/laser.c: made smart blobs easier to dodge
2772 main/kconfig.c: increased offset to detect movement on Joystick axis for mapping function
2773
2774 20070415
2775 --------
2776 main/newmenu.c: only draw copyright stuff if there is really the menu background (not being changed by draw_stars())
2777 d2x.ini, arch/sdl/rbaudio.c, main/config.c, main/inferno.c, main/menu.c, main/songs.c: removed -nocdrom argument, only use Redbook audio if specified with -redbook
2778 main/multi.c: forbid % to read into multi messages to not mess up the string
2779
2780 20070414
2781 --------
2782 main/kconfig.c, main/kmatrix.c, main/newmenu.c, main/scores.c, main/titles.c: introducing kconfig_sub_draw_table() making it possible to redraw configuration tables with OGL swapping and clearing; increased timer_delay for menus and briefings to save more CPU usage
2783 main/escort.c: making GuideBot Text color palette independent
2784 main/gameseq.c, main/switch.c: fixing D1 Secret Level routines (thanks to xatmes)
2785 main/game.c, main/gauges.c: removed use of VR_render_buffer (almost completly)
2786
2787 20070409
2788 --------
2789 arch/carbon/conf.h, include/pstypes.h: move determination of WORDS_BIG_ENDIAN to pstypes.h as SCons can't do it (as far as I know). SCons doesn't make conf.h
2790 arch/carbon/SDL_main.c, arch/cocoa/SDLMain.m, arch/dos/digimm.c, arch/include/gp2x.h, arch/ogl/sdlgl.c, arch/sdl/digi.c, arch/sdl/event.c, arch/sdl/gr.c, arch/sdl/init.c, arch/sdl/joy.c, arch/sdl/key.c, arch/sdl/mouse.c, arch/sdl/rbaudio.c, arch/sdl/timer.c, include/cfile.h, include/error.h, include/hmp2mid.h, include/physfsrwops.h, include/physfsx.h, libmve/mve_main.c, libmve/mveplay.c, main/config.c, main/console.c, main/gamecntl.c, main/inferno.c, main/newdemo.c, main/newmenu.c, main/newmenu.h, main/playsave.c, misc/hmp2mid.c, misc/ignorecase.c, ui/file.c: include SDL/SDL.h for all platforms and physfs/physfs.h for Mac OS X to avoid having to add some hard-coded include paths
2791
2792 20070407
2793 --------
2794 main/newmenu.c: hide cursor after newmenu_get_filename()
2795
2796 20070406
2797 --------
2798 SConstruct: some help correction
2799
2800 20070405
2801 --------
2802 arch/dos/gr.c, arch/ogl/gr.c, arch/sdl/gr.c, main/game.c, main/gameseq.c, main/inferno.c, main/menu.c, main/playsave.c, main/screens.h: resolution variable cleanup - remove VGA_current_mode, VR_screen_mode and VR_render_buffer[0].cv_bitmap.bm_w/h (Game_screen_mode is the actual resolution put in an int, not an index)
2803 SConstruct: BINARY_SUBDIR should be bin/, not games/
2804
2805 20070404
2806 --------
2807 main/gauges.c: fixing Alt-HUD Y-Offset for Multi-Games
2808 main/newdemo.c, main/newmenu.c: clear HUD-Messages if a Demo starts so old messages do not appear; also set gr_palette_load() in nm_draw_background1 so palette resets if Demo-playback is cancelled
2809 arch/linux/ipx_udp.c, arch/win32/ipx_udp.c: fixed typo in default broadcast
2810 main/game.c: extend show_help() with some netgame commands
2811 main/mission.c: set enhaced-flag a bit earlier so D1 missions do not get messed up after an enhanced mission had been played
2812 main/inferno.c, main/menu.c: improved Autodemo-feature - less code, activate AFTER pilot is selected to make sure resolution and player-file operations do not mess up
2813 main/gamerend.c, main/gameseq.c, main/newmenu.c: close menu with boxed message; improved palette reloading; fixed selected item for restore game dialog
2814
2815 20070403
2816 --------
2817 main/newdemo.c: fixed seek errors and data types in newdemo_goto_end()
2818
2819 20070402
2820 --------
2821 main/network.c, main/newmenu.c: palette reloading sets at every newmenu_close()
2822
2823 20070401
2824 --------
2825 main/newmenu.c: moved gr_palette_load() in nm_draw_background so it always does apply and resets step-ups properly
2826 main/game.c, main/game.h, main/gamecntl.c, main/gameseq.c, main/gauges.c: remove 'extern int last_drawn_cockpit[2]' since it's now a single int (not an array), fixing memory corruption (whoops!!)
2827 main/automap.c: merge and move automap border drawing code to draw_automap, so it could be used to draw the automap again just before showing a dialog box
2828
2829 20070331
2830 --------
2831 main/gamecntl.c, main/newmenu.c, main/titles.c: move variable declarations to the top for non-gcc compilers (like MrC for MPW)
2832 main/mission.c, main/movie.c: improved HAM support with enhanced-flag detection and fixed Extra-Movie init in load_mission(); close Extra-Movies according to movielib_files
2833 d2x.ini, main/game.c, main/game.h, main/inferno.c: a switch to disable timer_delay in calc_frame_time - may be used if game runs a bit choppy
2834
2835 20070329
2836 --------
2837 main/gamerend.c, main/network.c, main/newmenu.c, main/titles.c: palette-related fixes for Doublebuffered menus; fixes for SDL-build
2838
2839 20070326
2840 --------
2841 main/gamecntl.c, main/menu.c: unbind Minus/Equal from Shrink/Grow-window - only use ALT-F9/F10 to get richt with all keyboard layouts; Always allow screen resolution switching, even if selected is not supported to ensure Multi-Monitor support
2842
2843 20070325
2844 --------
2845 main/movie.c, main/network.c, main/titles.c, main/wall.c: do not close movies for now to prevent leaks (PhysFS should do that); fixed crash with malformed N_players if Netgame start is forced in DEBUG; improved briefing screen loading and delay; made wall warning-message not show up in NDEBUG (non-critical)
2846 main/gamecntl.c, main/hud.c: allow Quick-Exit with SHIFT+ESC; blocking "SUPER LASER MAXED OUT!" redundancy in stdout
2847
2848 20070324
2849 --------
2850 main/mission.c: remove add_alternate_hogfile because it couldn't close the main hog file (it's normally in use)
2851
2852 20070324
2853 --------
2854 main/game.c, main/gamerend.c, main/gauges.c, main/hud.c, main/inferno.c, main/menu.c, main/newmenu.c, main/screens.h: draw mine view directly to screen with SDL Video, no using an offscreen buffer (will use SDL_Flip later)
2855
2856 20070322
2857 --------
2858 SConstruct, arch/ogl/gr.c, arch/ogl/ogl.c, include/ogl_init.h, main/credits.c, main/escort.c, main/game.c, main/gamecntl.c, main/gamerend.c, main/inferno.c, main/kconfig.c, main/kmatrix.c, main/menu.c, main/movie.c, main/netlist.c, main/newmenu.c, main.polyobj.c, main/scores.c, main/state.c, main/titles.c: Use Doublebuffer in OGL for all parts of the game and properly redraw elements, fixed Profiler build
2859 main/inferno.c: must not allow single-buffering for OGL
2860
2861 20070321
2862 --------
2863 2d/canvas.c, arch/dos/gr.c, arch/ggi/gr.c, arch/ogl/gr.c, arch/ogl/ogl.c, arch/sdl/gr.c, arch/svgalib/gr.c, arch/win32/gr.c, arch/win32/win32.c, include/gr.h, include/ogl_init.h, main/automap.c, main/desw.h, main/escort.c, main/game.c, main/game.h, main/gamecntl.c, main/gamerend.c, main/gauges.c, main/hud.c, main/screens.h: add gr_flip, allowing significant cleanup including the moving of gr_show_canvas, Pages and VR_screen_pages to arch/dos/gr.c
2864 arch/ogl/gr.c, main/game.c, main/gamerend.c, main/gauges.c, main/hud.c, main/inferno.c, main/screens.h: remove final remnants of VR_current_page and VRF_USE_PAGING, also allowing -nodoublebuffer switch for all platforms. Fix single buffering for d2xgl
2865
2866 20070306
2867 --------
2868 main/kconfig.c, main/kconfig.h, main/newmenu.c, main/scores.c: implemented expanded Joystick configuration panel (Thanks xatmes); corrected draw functions for kconfig_sub() and Scoreboard to show them correct in non 4/3 aspects; corrected Close-boxes for Mouse Menu control
2869
2870 20070304
2871 --------
2872 main/mission.c: improved Error-handling for starting a mission, making the game not crash if Level file is not found
2873 main/automap.c, main/guages.c, main/menu.c, main/network.c: improved create_name_canv(); cleaned up hud_show_weapons_mode(); fixed palette loading in RegisterPlayer(); only show newline in network_get_game_params() if MenuHires
2874 arch/linux/hmiplay.c, main/hud.c: removed WANT_AWE32 flag - too buggy; scaled space between Hud-messages; block Hudlog output messages beginning with you (your ... maxed out, you already have ...)
2875 arch/sdl/joydefs.c, main/config.h, main/playsave.c: make Joystick Deadzone save in PLX file (Thanks xatmes)
2876
2877 20070303
2878 --------
2879 d2x.ini, main/inferno.c, main/newmenu.c: some menu fixes
2880
2881 20070228
2882 --------
2883 main/game.c: newdemo-related fixes
2884
2885 20070226
2886 --------
2887 arch/ogl/ogl.c, main/endlevel.c, main/object.c: improved DepthTest, fixing Clipping bugs
2888
2889 20070220
2890 --------
2891 arch/sdl/key.c: Added ENTER as Game key
2892 texmap/scanline.c: removed unreliable gr_fade_table check in c_tmap_scanline_per()
2893
2894 20070219
2895 --------
2896 arch/sdl/gr.c: SDL compile fix
2897 main/hud.c: block "You already have"-messages in HudLog output; make 'Press any key ...'- and 'Demo recording' messages not overlap
2898 main/ai.c: amd64 fix
2899
2900 20070218
2901 --------
2902 include/3d.h: use generic 'struct object' instead of including object.h, so gcc4.0 with Xcode doesn't complain about FSCALE being passed to CLIPLINE in 2d/line.c (strange indeed)
2903
2904 20070217
2905 --------
2906 d2x.ini, main/inferno.c, main/laser.c: added Alex' patch to add FPS independent and physics homing missiles - also implemented command-line to switch back to legacy homers
2907
2908 20070214
2909 --------
2910 Makefile, SConstruct, arch/sdl/mixdigi.c, arch/sdl/mixmusic.c, include/hmp2mid.h, misc/hmp2mid.c: Going back to PHYSFS_File type (lower-case 'f') for compatibility; Turning off sound debug flags; Optional micro versions (see SConstruct); Makefile emulation for SCons
2911
2912 20070211
2913 --------
2914 d2x.ini, main/collide.c, main/collide.h, main/fireball.c, main/inferno.c, main/object.c: improved debris random stuff, added -persistentdebris feature
2915
2916 20070209
2917 --------
2918 arch/ogl/gr.c, arch/sdl/gr.c, include/gr.h, main/inferno.c: set MENU_SCREEN_MODE at init to set movie according to -menu parameter and also prevent unnecessary screen changes
2919 d2x.ini, main/inferno.c: added -gl_voodoo to OpenGL command-line switches and INI
2920 SConstruct: added default lflag path for *NIX build
2921
2922 20070208
2923 --------
2924 main/newdemo.c: fixed demo playback Afterburner gauge and Primary weapon ammo info
2925 main/game.c, main/game.c, main/movie.c, main/movie.h: since Movies are initiated once in runtime, indroduced SCREEN_MOVIE to set desired movie resolutions seperatly from menu or game resolution
2926 main/gauges.c: position alignment for alt-hud2 to prevent overlay with extra views; created offset for LOCK message string if demo record or playback
2927
2928 20070207
2929 --------
2930 main/movie.c: close EXTRA_ROBOT_LIB correctly
2931 iff/iff.c: amd64 fixes
2932 arch/linux/ipx_udp.c, arch/win32/ipx_udp.c: on-screen network error messages
2933
2934 20070206
2935 --------
2936 2d/bitblt.c, main/automap.c, main/titles.c: force show_fullscreen to software drawing if image is bigger than screen, showing Automap background in low resolutions via software, removed obsolete robot briefing fix in OGL, code cleanup
2937
2938 20070205
2939 --------
2940 main/menu.h: make sure Menu_pcx_name gets loaded correctly if resolution is lowres
2941 main/automap.c: fixed secret level name canvas
2942
2943 20070202
2944 --------
2945 main/gauges.c: corrected Y alignment of hud_show_homing_warning
2946 arch/ogl/ogl.c: don't draw bombs with transparency even if -gl_transparency is enabled
2947 main/state.c: complete removal of broken Autosave feature
2948
2949 20070131
2950 --------
2951 main/object.c: If bright ships are enabled cast F1_0*2 light instead of F1_0 which is too dark
2952
2953 20070130
2954 --------
2955 d2x.ini, arch/ogl/gr.c, arch/ogl/ogl.c, include/3d.h, main/inferno.c, main/object.c: added transparency effects for some bitmaps like explosions, powerups, weapons, etc. - to enable with -gl_transparency
2956 arch/linux/ipx_mcast.c, arch/linux/ipx_udp.c, arch/win32/ipx_mcast.c, arch/win32/ipx_udp.c: corrected UDP/IP error output
2957 main/inferno.c: set movie resolution correctly when no parameter is given - referring to rev365
2958 dxx-readme.txt, SConstruct: preparations for v0.51 release
2959
2960 20070129
2961 --------
2962 main/gamecntl.c: fixed energy->shield transfer message output showing 'No transfer: Shields already at max' everytime if there is enough energy
2963
2964 20070127
2965 --------
2966 main/credits: use ogl_ubitmapm_cs instead of show_fullscr in OGL to render faster
2967 main/gamerend.c: corrected position of multi-message entry string
2968
2969 20070126
2970 --------
2971 main/credits.c: improved credits scrolling - not that smooth anymore, but less CPU intense
2972 dxx-readme.txt, dxx-compile.txt: improvements on dxx-readme's
2973
2974 20070125
2975 --------
2976 arch/ogl/gr.c, include/gr.c, main/game.c: write screenshots to subdirectory
2977 main/inferno.c: improved resolution-check method - removed old code
2978 main/gauges.c: don't display lives and score if hud message is longer than 40 chars. preventing overlay of message and lives/score
2979
2980 20070122
2981 --------
2982 SConstruct, arch/linux/ipx_udp.c, arch/ogl/gr.c, arch/ogl/ogl.c, arch/win32/init.c, arch/win32/ipx_udp.c, include/pstypes.h: cfile/cfile.c: special WINDOWS fixes and cleanups, corrected automated UDP broadcast
2983 arch/include/key.h, main/game.c: fixed PRINTSCREEN key for WINDOWS
2984 main/kmatrix.c: fixed multi summary reactor lifetime refresh
2985 main/escort.c: made thief messages brighter
2986
2987 20070120
2988 --------
2989 main/automap.c: for OGL don't display background bitmap if screen height < 400 because it won't fit - just draw grey; adjusted level name alignment in secret levels
2990 main/render.c: removed inaccurate 4D hack
2991 d2x.ini, main/inferno.c: corrected -maxfps switch: MAX_FPS is 80, not 100
2992 d2x.ini, main/inferno.c, main/network.c: made short packets default on. long packets are still available but in general cause more problems than short
2993 main/network.c: additional newline line in netgame menu - looks better
2994 arch/ogl/ogl.c: in g3_draw_sphere align rad according to canvas so it is always in round shape
2995
2996 20070119
2997 --------
2998 arch/ogl/gr.c: gr_upixelc now able to scale pixels to current resolution
2999
3000 20070118
3001 --------
3002 main/gauges.c: draw bomb count correctly in CM_FULL_SCREEN ... finally
3003 main/laser.c: made Omega selectable even if it has no energy left and can't fire
3004 main/kconfig.c: prevent changing weapons if automap is active
3005 main/inferno.c, main/gameseq.c: only read and write lowercase pilots - prevents mistakes in -pilot option as well as multisaves
3006
3007 20070117
3008 --------
3009 main/endlevel.c: draw spheres instead of pixels in draw_stars to show correctly in OGL
3010
3011 20070114
3012 --------
3013 main/hud.c: moved hudlog printf's so they do not spam stdout with redundant messages
3014
3015 20070113
3016 --------
3017 main/object.c: removing the !dead statement (leftover from WraithX Deathcam) from object_move_one() so the function will return correctly if player dies instead running further and creating invalid code and crashes
3018 arch/cocoa/d2x-rebirth.icns: update to Novacron's 128x128-bit icon
3019 main/kconfig.c: do not select weapon if guide-bot shortcut has done and weapon key is mapped from 0 to 9
3020 d2x.ini, main/inferno.c, main/movie.c: removed mipmap for movies - makes not a real sense or effect
3021 main/gamecntl.c: also use ALT-F9/F10 for demo playback
3022
3023 20070112
3024 --------
3025 main/kmatrix.c: fixed canvas stuff to show summary correctly in OGL, added new strings for CTF and HOARD, code cleanup
3026 SConstruct: added NATIVE_IPX and KALINIX to build
3027 main/newdemo.c: removed timer_delay from DoJasonInterpolate - caused slowdowns in some demos
3028
3029 20070110
3030 --------
3031 main/kconfig.c, main/newmenu.c: joystick axes can be reassigned; higher offset for axes moving detection; correction for menus that are bigger than screen
3032
3033 20070109
3034 --------
3035 dxx-changelog.txt: added missing changelog entries
3036
3037 20070107
3038 --------
3039 arch/cocoa/d2x-rebirth.icns, d2x-Info.plist: add Mac OS X icon
3040
3041 20061231
3042 --------
3043 main/inferno.c: fix a memory leak that occurs when listing the search paths
3044 main/inferno.c: if no Descent 2 hog file is available, generate an error, not a warning
3045 main/mission.c: allow an add-on mission to override the built-in hog file, such as the use of custom MIDI tracks
3046
3047 20061230
3048 --------
3049 arch/sdl/mixmusic.c, include/cfile.h, include/hmp2mid.h, misc/hmp2mid.c: use PhysicsFS to write MIDI file, make hmp2mid use PhysicsFS exclusively
3050
3051 20061229
3052 --------
3053 arch/ogl/gr.c, arch/ogl/ogl.c: allocate 'pixels' and 'texbuf' according to current screen resolution, saving over a hundred megabytes of memory
3054
3055 20061228
3056 --------
3057 D2X.make, README: make it easier to build for SDL Video on Mac OS 9, update README
3058 dxx-readme.txt: add some useful comments on installation, including specifically for Mac OS 9
3059 D2X.make, texmap/scanline.c, texmap/tmapppc.a: add PowerPC assembly texture mapper (requires PPCAsm, which is for Mac OS 9 only)
3060
3061 20061226
3062 --------
3063 arch/carbon/conf.h, arch/sdl/gr.c, d2x-Info.plist, d2xgl-Info.plist, main/inferno.c, English.lproj/InfoPlist.strings: update version info, use DESCENT_VERSION instead of PACKAGE_NAME
3064 D2X.make: disable a heap of warnings that are impractical to fix (eg assignment in an if ())
3065
3066 20061225
3067 --------
3068 main/titles.c: fix crash where loading screen function is called before video mode is set (when SDL Video is used as well as -notitles)
3069 arch/carbon/conf.h, arch/carbon/SDL_main.c: fix compile errors when building on Mac OS 9 using SDL 1.2.10 (conflicting macros, use of putenv)
3070
3071 20061224
3072 --------
3073 arch/ogl/gr.c: use PhysicsFS to check for existing screenshots, previous method may have caused writing over of open screenshots (from D2X CVS)
3074 arch/ogl/gr.c: avoid loading OpenGL textures before they have been paged in, bug found by loading Abalyon 5 (from D2X CVS)
3075 main/weapon.c: only autoselect a secondary weapon if the player didn't have any of that type before (fix bug #2671) (from D2X CVS)
3076 texmap/scanline.c: divide negative light rates of change properly (fix bug #2575) (from D2X CVS)
3077 texmap/tmapflat.c: divide negative window x-coordinates properly, fixing random crashes (from D2X CVS)
3078 arch/carbon/conf.h: allow universal binaries to be built using Xcode 2.1 or later (from D2X CVS)
3079 arch/sdl/digi.c: add MIDI stubs for Mac, it doesn't have the 'real' functions yet
3080 arch/sdl/joy.c: use d_strdup instead of strdup to avoid errors when compiling on Mac OS 9, free the joystick button texts when closing
3081 main/inferno.c: use strncpy instead of snprintf, MPW on Mac OS 9 doesn't have snprintf
3082 main/automap.c, main/gamefont.c, main/newmenu.c, main/state.c, main/titles.c: warning fixes for gcc 4.0
3083 main/playsave.c: make sscanf look for "%i.%i" instead of "v%i.%i" because the 'v' isn't written to file (used to cause D2X for Mac OS 9 to crash), use PHYSFS_delete instead of unlink to be safe
3084 include/physfsx.h: chdir to application directory so it uses relative userdir and hogdir paths properly, in Mac OS X it can make the root directory the current one
3085
3086 20061223
3087 --------
3088 main/game.c, main/gamerend.c: small brace tidy up to allow a source code editor to list all the functions (from D2X CVS)
3089
3090
3091 20061219
3092 --------
3093 2d/rle.c, SConstruct, arch/include/gp2x.h, arch/linux/hmiplay.c, arch/ogl/gr.c, arch/sdl/digi.c, arch/sdl/event.c, arch/sdl/gr.c, arch/sdl/joy.c, arch/sdl/key.c, configure.ac, gp2x/buttonmap.txt, gp2x/dxx-rebirth_buttonmap.pdf, gp2x/notes.txt, include/physfsx.h, main/Makefile.am, main/automap.c, main/config.c, main/game.c, main/gamecntl.c, main/gamerend.c, main/gauges.c, main/inferno.c, main/kconfig.c, main/menu.c, main/movie.c, main/newmenu.c, main/physics.c, main/piggy.c, main/playsave.c, main/scores.c, main/text.c, main/titles.c, maths/fixc.c, texmap/scanline.c: GP2X handheld support; added SConstruct file (MAC support incomplete); code optimisations for software renderer; fixed memleaks
3094
3095 20061212
3096 --------
3097 arch/sdl/mixdigi.c, arch/sdl/mixmusic.c: music volume now properly restored and remembered in D1 and D2, using a static int; removed ugly hack that fixed this bug in D1 (inferno.c, revision 230)
3098
3099 20061123
3100 --------
3101 arch/include/mixmusic.h, arch/sdl/mixdigi.c, arch/sdl/mixmusic.c: SDL_mixer backend implementation files for D2
3102
3103 20061113
3104 --------
3105 include/hmp2mid.h, misc/hmp2mid.c: Providing hmp2mid code, which was previously forgotten when introducing sdl_mixer in r264
3106
3107 20061107
3108 --------
3109 arch/linux/Makefile.am, arch/sdl/Makefile.am, arch/win32/Makefile.am, configure.ac, include/cfile.h, misc/Makefile.am, initial integration of SDL_mixer sound system for Linux
3110
3111 20061102
3112 --------
3113 arch/ogl/gr.c, d2x.ini, include/ogl_init.h, main/gauges.c, main/inferno.c, command-line to set glScissor off if needed
3114 arch/include/joy.h, arch/sdl/joy.c: improved joystick code for more buttons
3115
3116 20061101
3117 --------
3118 main/render.c: just turn off detriangulation for OGL
3119
3120 20061031
3121 --------
3122 main/kconfig.c: make sliding use sensitivity
3123 main/game.c, main/inferno.c, main/movie.c, misc/args.c, moved some FindArgs to main() so they are not called in the game; added printf for DEBUG to track FindArgs
3124
3125 20061031
3126 --------
3127 d2x.ini, main/inferno.c: removing -cockpit and -hiresfont parameters which actually belong to D1X-Rebirth
3128
3129 20061029
3130 --------
3131 main/render.c: turning detriangulation off by default; not really needed anymore and makes rendering nicer
3132
3133 20061023
3134 --------
3135 /arch/sdl/joy.c: increased "MAX_HATS_PER_JOYSTICK" from 4 to 128 to prevent axes recognition problems
3136 /d1x.ini, /main/inferno.c, /main/menu.c: in do_options_menu decreased i by 1 to not show d2x options menu if arg -nod2xmenu is found; added help text; added INI line
3137 /arch/ogl/ogl.c: changed ogl_loadtexture to deal with transparent walls
3138 /arch/linux/hmiplay.c: added cut_trough(), a clone of stop_all that is called to flush notes while playing a song to improve song switching
3139 /arch/ogl/sdlgl.c, /arch/ogl/ogl.c, /main/endlevel.c: added GL functions to fix the portal-bug; added exception boolean value tempNoDepthTest to render d1 endlevel correctly; code reformatting
3140 /arch/win32/hmpfile.c, /arch/win32/hmpfile.h, /arch/win32/midi.c, /main/songs.c: midi repeat improvements
3141 /arch/ogl/gr.c, /arch/sdl/gr.c, /main/inferno.c, /d2x.ini: added variable aspect function, changed cmd-help, changed ini file
3142 /arch/ogl/ogl.c, /main/endlevel.c, /main/gameseg.c, /main/render.c: improved use of Depth Test, added experimental hack for 4D levels; removed two Asserts which fail with 4D levels
3143 /main/game.c: added game_flush_input() on automap calls to avaoid control irritations
3144 /main/inferno.c: corrected command-line output in inferno.c
3145 /dxx-readme.txt: corrected typo
3146 /arch/ogl/ogl.c: disabled GL_CULL_FACE at ogl_end_frame to avoid problems with menus after player's death
3147 /d1x.ini, /main/inferno.c, /main/menu.c: rejected -nod2xmenu feature
3148 /main/gameseg.c: disabled another Assert. commented with FIXME's - debugging if needed
3149 /main/inferno.c: made 22k sounds default
3150 /arch/ogl/ogl.c, /main/automap.c: show borders in SDL and OGL, optimized and cleaned
3151 /2d/font.c, /arch/ogl/ogl.c, /d2x.ini, /include/gr.h, /include/ogl_init.h, /main/automap.c, /main/gamefont.c, /main/inferno.c, /main/kconfig.c, /main/menu.c, /main/newmenu.c, /main/newmenu.h, /main/scores.c, /main/state.c, /main/titles.c: made fonts scalable, added command-line to enable fixed fonts, made savegame thumbs scalable, reworked menu borders, new way to display level info in automap to get right with scaled fonts. additionally layed out special characters to newmenu.h
3152 /arch/ogl/ogl.c, /main/credits.c, /main/polyobj.c, /main/titles.c: new code for ogl_offscreen_render, used it to reduce flickering in credits
3153 /arch/ogl/gr.c, /arch/sdl/gr.c, /d2x.ini, /main/automap.c, /main/game.c, /main/gamecntl.c, /main/gamerend.c, /main/gameseq.c, /main/gauges.c, /main/inferno.c, /main/kconfig.c, /main/menu.c, /main/movie.c, /main/newmenu.c, /main/playsave.c, /main/scores.c, /main/screens.h: some fixes for menus and automap; new aspect code; improved code to scale window for cockpits; introducing new variable in playsave.c to store game resolution and saving Game_window_h/h again properly - fixes bugs with screwed resolutions; making menus in game-resolution as default and re-activating old command-line arg '-menu<X>x<Y>' to scale menus
3154 /2d/bitblt.c, /arch/ogl/gr.c, /main/game.c, /main/gamerend.c, /main/gameseq.c, /main/gauges.c: scalable HUD, improvements for HUD and cockpits, cleaner code, fixes to get SDL renderer working again
3155 /arch/sdl/joy.c, /arch/sdl/joydefs.c: added joystick deadzone feature
3156 /main/inferno.c: saving config files in home directory
3157 /main/slew.h: fix error when building editor with RELEASE (d2x-cvs takeover)
3158 /arch/carbon/descent.r: don't allow MPW build to run in OS X (d2x-cvs takeover)
3159 /main/laser.c, /main/object.c: fix crash when a robot's guided missile explodes (d2x-cvs takeover)
3160 /d2x.xcode/project.pbxproj: add references to headers in main for SCM and batch find (d2x-cvs takeover)
3161 /main/inferno.c, /main/multi.c, /main/multi.h: move hoard data saving from main to save_hoard_data (d2x-cvs takeover)
3162 /main/inferno.c, main/titles.c, main/titles.h: move titles, loading screen and order form showing to titles.c (d2x-cvs takeover)
3163 /include/physfsx.h, /main/inferno.c: move PhysicsFS initialisation, search path setup and argument reading to physfsx.h (d2x-cvs takeover)
3164 /ChangeLog: Update
3165 /main/game.c, /main/inferno.c, /main/menu.c, /main/playsave.c: removing unnecessary stuff from game_init_render_buffers; better resolution handling; storing resolution stuff in PLX file (Thanks to Hans de Goede and Chris Taylor)"
3166 /arch/sdl/joydefs.c, /main/config.h, /main/gameseq.c, /main/kconfig.c, /main/newmenu.c, /main/playsave.c: added new control type: Joystick & Mouse (Thanks to The_Lion)
3167 /main/credits.c: code cleanup
3168 /2d/font.c, /arch/ogl/ogl.c, /include/ogl_init.h, /main/automap.c, /main/gamerend.c, /main/gauges.c, /main/newdemo.c, /main/state.c: corrected demo-related font positions; fixed window view glitch in demo playback; merged ogl_ubitmapm_cs and ogl_ubitmapm_cf
3169 /2d/font.c, /main/gamecntl.c, /main/menu.c: cleaned up options menu and removed 'd1x options' because not really necessary anymore
3170 /arch/ogl/gr.c, /arch/sdl/gr.c, /arch/sdl/joy.c , /main/gamerend.c, /main/gauges.c, /main/hud.c, /main/menu.c: print joystick dialog to stdout; print time with hud messages; fixing some graphical glitches; repaired brightness slider (oops); code cleanup
3171 /2d/font.c, /arch/ogl/gr.c, /arch/ogl/internal.h, /arch/ogl/ogl.c, /arch/ogl/sdlgl.c, /main/gamecntl.c, /main/inferno.c: introduced FSAA; fixed fullscreen toggle glitches; adjusted OGL_TEXTURE_LIST_SIZE and OGLTEXBUFSIZE; code cleanup; fixed memleak in game pause; restored font.c (oops)
3172 /main/movie.c: made file extension for TXB files lowercase to match filename case itself. makes easier to use external files
3173 /arch/ogl/gr.c, /main/inferno.c, /main/menu.c, /main/newmenu.c, /main/vers_id.h: if player is deleted also delete PLX file; removed date strings, not necessary; added Menu_special
3174 /configure.ac, /Makefile.am: changed build target to 'rebirth'; changed version string; preparations for v0.50 release
3175 /main/gauges.c: corrected position of shield/energy numbers if 200
3176 /main/movie.c: improved code to show scaled movies
3177 /arch/ogl/gr.c, /arch/ogl/ogl.c, /arch/ogl/sdlgl.c, /include/gr.h, /main/inferno.c: re-enabled SDL_SetGammaRamp; removed FSAA because no function on all platforms; fixed offscreen render; better restriction to show menus ingame
3178 /main/render.c, /main/wall.c: improved 4D room detection
3179 /arch/ogl/gr.c: switching SDL gammaramp off by default because uses too much CPU
3180 /main/hud.c: aligned 'press any key...' message on hud
3181 /main/credits.c: make scrolling smoother by changing time_delay
3182 /main/gauges.c: fixes for alt huds
3183 /main/gauges.c, /main/titles.c: don't show alt hud while guilded missile view; removed unnbecessary delay in show_char_delay to make robo movies smoother
3184 /main/menu.c: print warning if resolution is set too high and don't change after all
3185 /arch/ogl/gr.c, /main/lighting.c, /main/state.c: fixing OGL compile bug; fixing calculation of object light before and after restoring a saved game
3186 /arch/sdl/joydefs.c, /main/config.h: re-activated Weapon Keys menu - aka D2X keys
3187 /arch/sdl/joy.c, /main/inferno.c: fixing mem corruptions while closing joysticks; removed Joystick calibration which should be unnecessary with SDL
3188 /arch/ogl/ogl.c: Fix for inherent limitation in pow2ize() and wrong description thereof
3189 /d1x.ini, /main/inferno.c: cleaned up command-line help; removed old/redundant/unfunctional options; improved code to read -pilot argument
3190 /arch/ogl/gr.c: make write_bmp use PhysFS
3191 /main/credits.c: adjusted credits scroll speed with MenuHires
3192 /include/loadgl.h, /main/gauges.c: introducing draw_wbu_border to draw rounded weapon boxes with glScissor
3193 /main/game.c: removed calibrate joystick line from help menu
3194 /arch/ogl/ogl.c: made lines width scale to resolution; fixed compiler warnings
3195 /main/object.h: fixed compiler warnings in object header
3196 /main/inferno.c, /main/kconfig.c: using global variable for sp-mouselook to save CPU usage
3197
3198 20060416
3199 --------
3200 /main/newmenu.c, /main/gauges.c, /main/gameseg.c, /main/menu.c, /main/gamesave.c, /main/gamerend.c, /include/strutil.h, /main/bm.c, /main/gamepal.c, /main/piggy.c, /misc/strutil.c, /main/object.c, /main/render.c, /main/editor/kfuncs.c, /main/editor/med.c: implementation of current d2x-cvs patches
3201 /main/automap.c: FIX: deleting marker dialog in automap causes major graphical issues in automap
3202 /main/movie.c: more original look of scalable movies
3203 /texmap/tmapppro.S: compile-time bug with ASM
3204 /arch/ogl/ogl.c, /arch/ogl/include/ogl_init.h, /2d/bitblt.c, /main/menu.c, /main/game.c, /main/gamerend.c, /main/gauges.c: scalable cockpits
3205 /main/gamesave.c: FIX: d2x restores window size wrong after restart
3206 /main/gauges.c: FIX: if "you already have 20 concussion missles!" is displayed, lives and score disappeared
3207 /main/gauges.c: better alt-huds, alt-huds in cockpit
3208 /arch/ogl/ogl.c: fixed renderstats option
3209 /main/physics.c: allow asserting objet to none if player is dead - fixes some random crashes
3210 /main/credits.c: new credits code
3211 /main/gauges.c: no use of fading if alt huds and no alt hugs if missile view
3212 /arch/ogl/gr.c: FIX: gamma changes change whole screen
3213 /arch/sdl/gr.c, /arch/ogl/gr.c, /main/inferno.c: added widescreen aspect with command-line option for SDL and OGL build
3214 /main/newmenu.h: possible menu text sring length incrased to 255
3215 /arch/ogl/ogl.c, /include/ogl_init.h, /2d/bitblt.c, /main/movie.c, /main/inferno.c: added mipmap operator to ogl_bitblt_i, added if to MovieShowFrame to switch off movie mipmap if argument -nomoviesmooth given, added command-line option
3216 /arch/ogl/gr.c, /main/menu.c: removed fullok hack for fullscreen changing
3217
3218 20060226
3219 --------
3220 /arch/ogl/include/internal.h fixing "OGL: texture list full"-bug
3221 /arch/linux/ipx_udp.c, /arch/win32/ipx_udp.c: full broadcast as default in UPD/IP games
3222 /configure, /main/vers_id.h: changes in date, version-number
3223 /arch/ogl/gr.c: setting gl_reticle as default (if you don't like it, set -gl_reticle 0)
3224 /main/gauges.c: fixed alt-hud text positions for gl_reticle
3225 /main/menu.c: removed serial connection functions (not really needed anymore)
3226 /main/game.c, /main/inferno.c: implementation of menu in gameres
3227 /arch/ogl/ogl.c, /main/movie.c: scalable movies
3228 /main/menu.c: removed vertigo say for menu_gameres
3229 /main/menu.c: load resolution after player is selected
3230 /main/game.c, /main/gamecntl.c: new keys to get shrink and grow window functions working
3231 /main/automap.c, /main/inferno.c: automap now always in gameres and eat less cpu power
3232 /main/credits.c: credits now working correctly with menu_gameres
3233 /main/scores.c: fixing frames in scoretable in menu_gameres
3234 /main/kconfig.c: fixing frames in controls-config in menu_gameres
3235 /main/menu.c: implementation of custom resolutions
3236 /main/game.c, /main/menu.c: new calls to get right fonts with new resolutions menus-menu
3237 /main/newdemo.c: smoother demo-playback
3238 /arch/sdl/digi.c, /arch/linux/Makefile.am, /arch/linux/Makefile.in: implementation for midi on linux
3239 /main/inferno.c: fixing possibility for midi-loops after game was killed
3240
3241 20060122
3242 --------
3243 /main/menu.c: removed second resolutions menu
3244 /arch/ogl/gr.c: resolution switches now faster in windows (at least as fast as windows is able to)
3245
3246 20060116
3247 --------
3248 /main/inferno.c, /main/gamerend.c: added -fps switch
3249 /arch/ogl/gr.c: fix for screenshot function
3250 /main/inferno.c, /main/kconfig.c: new function for optional mouselook style feature
3251 /arch/ogl/ogl.c: D2X-CVS update - make super transparent textures have alpha
3252 /main/titles.c: D2X-CVS update - for Descent 1 briefings, look for briefings no further than NUM_D1_BRIEFING_SCREENS (fix bug #2270)
3253 /main/inferno.c: new definition of config dir for linux because multiplatform release, fix for soundloops after game quit (some onboard soundcards)
3254 /arch/ogl/gr.c, /main/game.c, /main/menu.c: fix for fullscreen switching in windows
3255 /main/game.c, /main/gamecntl.c /main/gameseq.c: resolution fix after pause, secret level messages and guidebot menu
3256 /main/mission.h: fix to hold up to 5000 addon levels
3257 /main/game.c: made nicefps standard. better gameplay, lesser cpu usage, a little pause in linux for resolution change at new game
3258 /main/gamerend.c: fix for guided missle crosshair
3259 /main/menu.c: resolutions up to 1600x1200
3260 /arch/ogl/gr.c, /arch/ogl/sdlgl.c: fix for ingame screenshots
3261 /arch/include/key.h, /main/game.c: windows fix for PRINTSCREEN key -> is now ALT+P
3262 /main/credits.c: fix for crash while credits in higher game resolutions
3263 /main/escort.c: fix for linespacing in guidebot-menu
3264 /main/inferno.c, /main/gauges.c: added new hud modes
3265 /misc/args.c: fix for crashes while using modified d2x.ini
3266 various: code cleaning, fixes and additional includes for windows build, restructuration for new multiplatform release
3267
3268 20051025
3269 --------
3270 /main/inferno.c: cleaned up the command-line help, removed inactive/defected functions
3271 /main/kconfig.c: improved turn speed on x and y if mouse is used for better/faster control
3272 /main/newmenu.c: fixed messageboxes to prevent chrases in automap, secret leves etc
3273 /main/menu.c: fix to prevent toggles menu from crashing game
3274 README.TXT: removed/changed some kown issues
3275 added gentoo and suse 10 to working ditributions
3276 added Maystorm to Thanks section
3277 Changelog: file created
3278
3279 20050928
3280 --------
3281 README.TXT d2x-install.sh: Added hint to create $HOME/.d2x manually
3282
3283 20050916
3284 --------
3285 initial release
3286 /main/gamerend.c: fix for death-sequence and sdl segfault in 320xXXX
3287 /main/lighting.c: fix for dark models after loading a game