Chris Taylor
|
ef2df1225d
|
Rename MessageBox to ui_messagebox to avoid a conflict with Windows' MessageBox
|
2012-04-17 16:11:42 +08:00 |
|
Chris Taylor
|
17bdf55a05
|
Call free_mission() if a demo is corrupt, so the editor doesn't load a corrupt level
|
2012-04-17 15:46:39 +08:00 |
|
Chris Taylor
|
aecfbbee23
|
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
|
2012-04-17 15:36:23 +08:00 |
|
Chris Taylor
|
5197d7665a
|
Skip rendering of OBJ_NONE objects to avoid a failed Assert (can happen when playing a demo then going to the editor)
|
2012-04-17 15:20:14 +08:00 |
|
Chris Taylor
|
770080f612
|
Reset the player object for the editor, since demo playback mucks it up
|
2012-04-17 15:13:08 +08:00 |
|
Chris Taylor
|
1c85ce7848
|
Finish the game cleanly, closing Game_wind, if Current_level_num is 0
|
2012-04-17 15:05:43 +08:00 |
|
Chris Taylor
|
e55406d1ee
|
Make sure Cursegp is initialised if using it to set an object when loading a game (EDITOR build). Thought I already committed this
|
2012-04-17 14:28:50 +08:00 |
|
Chris Taylor
|
1fd979a76b
|
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
|
2012-04-16 14:42:34 +08:00 |
|
Chris Taylor
|
82cce8afb6
|
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
|
2012-04-16 13:26:55 +08:00 |
|
zicodxx
|
8fc772586c
|
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
|
2012-04-16 01:13:29 +02:00 |
|
zicodxx
|
0011e44087
|
Fixed set but unused variables in OGL build
|
2012-04-15 16:15:21 +02:00 |
|
zicodxx
|
19d792cff2
|
Addition for last change in hmp_reset(): execute midiOutShortMsg() even if midiOutPrepareHeader() fails as not related to SysEx part
|
2012-04-15 15:52:14 +02:00 |
|
zicodxx
|
3a96935748
|
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
|
2012-04-15 15:32:48 +02:00 |
|
Chris Taylor
|
27279480ca
|
Create a centers dialog that won't crash
|
2012-04-15 14:14:16 +08:00 |
|
Chris Taylor
|
311f835bf8
|
Clicking on mine elements in the editor now works in ogl
|
2012-04-15 13:45:45 +08:00 |
|
Chris Taylor
|
b20044e14f
|
Set edge_list_size to Num_segments*12 to avoid crashes in the editor with certain third party levels
|
2012-04-15 09:34:06 +08:00 |
|
zicodxx
|
90e41c1c85
|
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()
|
2012-04-15 03:05:28 +02:00 |
|
Chris Taylor
|
71831d308f
|
Set the correct edge colors for editor wireframe drawing (in LargeView)
|
2012-04-14 18:52:06 +08:00 |
|
Chris Taylor
|
96d872adb8
|
Set the correct palette for the editor
|
2012-04-14 18:29:02 +08:00 |
|
Chris Taylor
|
d0544583fd
|
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
|
2012-04-14 17:42:44 +08:00 |
|
Chris Taylor
|
7b6bfa5fc8
|
Fix crash when playing a level straight from the editor (check if Current_mission has actually been loaded, like the other ex-crash)
|
2012-04-14 15:18:50 +08:00 |
|
Chris Taylor
|
2ca5303028
|
Delete-E while playing a level now works properly - it closes Game_wind and sets Cursegp if necessary when going to the editor
|
2012-04-14 15:09:21 +08:00 |
|
Chris Taylor
|
2ab19658dc
|
Only do an Int3 in write_game_text_file when PHYSFS_close returns 0, which is an error, not when it returns 1
|
2012-04-14 14:13:01 +08:00 |
|
Chris Taylor
|
8ba0bdc492
|
Fix crash when loading a level in the editor
|
2012-04-14 13:34:43 +08:00 |
|
zicodxx
|
2c7a8b419b
|
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()
|
2012-04-12 19:45:45 +02:00 |
|
zicodxx
|
f35eba5f04
|
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
|
2012-04-12 02:15:26 +02:00 |
|
Chris Taylor
|
496b40ab35
|
Fix a crash when going into a directory with no files in the editor file browser, clicking on listboxes for same sets inputbox correctly
|
2012-04-11 12:05:39 +08:00 |
|
Chris Taylor
|
a6e65196b8
|
Draw the object rotation velocity, file browser and MessageBox dialogs properly
|
2012-04-11 10:52:57 +08:00 |
|
Chris Taylor
|
785540dd7b
|
Fix unused variable warning in last commit
|
2012-04-09 20:52:25 +08:00 |
|
Chris Taylor
|
e7e034b7bd
|
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)
|
2012-04-09 20:41:47 +08:00 |
|
Chris Taylor
|
e2bf33dbdc
|
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)
|
2012-04-09 19:20:02 +08:00 |
|
Chris Taylor
|
fba833f773
|
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.
|
2012-04-09 17:30:40 +08:00 |
|
Chris Taylor
|
83bc26ff29
|
Fix a nasty bug where pressing 'Alt' to explore the editor menubar would split the window stack in two, rendering the editor unresponsive
|
2012-04-09 17:13:11 +08:00 |
|
Chris Taylor
|
ea2de8cb44
|
Get the clock, 'keypad' info, texture choosing page and object choosing page to draw (latter two just show black squares for ogl)
|
2012-04-09 10:14:10 +08:00 |
|
zicodxx
|
bf2a058129
|
in software rendering scale savestate thumbnail to correct size
|
2012-04-09 00:19:16 +02:00 |
|
zicodxx
|
091dbd8769
|
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
|
2012-04-08 16:59:51 +02:00 |
|
zicodxx
|
6a4ea459e7
|
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
|
2012-04-08 15:47:58 +02:00 |
|
zicodxx
|
a22b6aa6ec
|
record shields if player is invulnerable to get proper shield display in demo playback if player respawns with invulnerability on
|
2012-04-07 16:13:12 +02:00 |
|
zicodxx
|
d0ddf0362a
|
fixed glitch when reappear and explode packets are misordered, rendering player invisible
|
2012-04-07 12:32:22 +02:00 |
|
zicodxx
|
d940dcb381
|
removed redundant definitions of FILENAME_LEN
|
2012-04-07 11:41:17 +02:00 |
|
zicodxx
|
45e351e46c
|
in choose_drop_segment let fallback correctly check for reactor segment
|
2012-04-07 10:58:46 +02:00 |
|
zicodxx
|
84a3eb2fac
|
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
|
2012-04-05 02:41:59 +02:00 |
|
zicodxx
|
39b0dacd6a
|
variable declarations come first
|
2012-04-05 02:21:33 +02:00 |
|
Chris Taylor
|
fd42ac5cb1
|
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
|
2012-03-31 20:25:09 +08:00 |
|
Chris Taylor
|
cb86ece872
|
Use correct coordinates for dialog border (still doesn't draw fully)
|
2012-03-31 19:55:39 +08:00 |
|
Chris Taylor
|
b937b4e409
|
Make the main stuff (gadgets, two viewers) draw for the editor in ogl, still more tweaking required
|
2012-03-31 18:36:07 +08:00 |
|
Chris Taylor
|
a6502d4471
|
Complete previous change (whoops)
|
2012-03-31 12:38:14 +08:00 |
|
Chris Taylor
|
8a250ad48a
|
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
|
2012-03-31 12:28:01 +08:00 |
|
Chris Taylor
|
2062876912
|
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)
|
2012-03-31 11:47:38 +08:00 |
|
zicodxx
|
b65f0e6d33
|
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
|
2012-03-30 16:29:11 +02:00 |
|
Chris Taylor
|
e60981310b
|
Make 2d/font.c more similar between d1x-rebirth and d2x-rebirth
|
2012-03-30 20:36:35 +08:00 |
|
zicodxx
|
565f629688
|
Fixed Redbook playback which was not repeating the CD after finishing
|
2012-03-29 14:49:45 +02:00 |
|
zicodxx
|
c3b520b6e2
|
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
|
2012-03-29 10:16:33 +02:00 |
|
zicodxx
|
66827b4b18
|
Release Fusion charge when changing to another weapon similar to D1X-Rebirth
|
2012-03-28 13:49:02 +02:00 |
|
zicodxx
|
df87e110b0
|
Dynamically allocate line to read from descent.cfg and ensure a safe length
|
2012-03-28 13:43:35 +02:00 |
|
zicodxx
|
26bb1f6a34
|
Allow a total of 32 different player ship textures and stored N_PLAYER_SHIP_TEXTURES in player.h
|
2012-03-28 12:26:24 +02:00 |
|
zicodxx
|
4323096cc4
|
Since the kicked message is shown after player is technically removed from the game we do not know hosts name anymore. Message changed accordingly
|
2012-03-28 12:09:22 +02:00 |
|
zicodxx
|
41365995e8
|
Fixed unhandled case in key reading when escort hotkeys are disabled
|
2012-03-28 11:07:17 +02:00 |
|
zicodxx
|
d3666c4033
|
Fixed double wall-object-damage introduced 20111124 by applying more strict rules to wall-colliding and wall-scraping where latter now is player-exclusive
|
2012-03-28 11:02:30 +02:00 |
|
zicodxx
|
a5369e13d5
|
properly disable cheats when loading a saved game so only cheats that were stored are re-enabled
|
2012-03-28 10:07:16 +02:00 |
|
zicodxx
|
4852ceb347
|
Allow .flac to be a filename extension for sng file and jukebox
|
2012-03-28 10:03:26 +02:00 |
|
zicodxx
|
b22a6b5582
|
Fix compile-time error when building without editor
|
2012-03-28 09:56:33 +02:00 |
|
zicodxx
|
7d823c593d
|
Call all necessary MVE functions when initializing robot movies to prevent crashes if a robot movie is the first one the program plays
|
2012-03-28 09:53:24 +02:00 |
|
Chris Taylor
|
2b7bb2bddc
|
Fix bug where pad buttons would disappear when clicking on them, after opening then closing a dialog
|
2012-03-24 17:52:08 +08:00 |
|
Chris Taylor
|
4acf60c1c7
|
Draw in response to EVENT_UI_DIALOG_DRAW, uncomment medlisp_update_screen call. You can now see what you're doing
|
2012-03-24 17:19:30 +08:00 |
|
Chris Taylor
|
0c7e61de92
|
Update the canvas data pointers for all windows after changing the screen mode, so the main menu draws properly after leaving the editor
|
2012-03-24 14:43:45 +08:00 |
|
Chris Taylor
|
c0ed4870c5
|
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
|
2012-03-24 13:27:27 +08:00 |
|
Chris Taylor
|
b542189ab6
|
Remove all remaining uses of Function_mode, checking for the existence of EditorWindow where necessary instead
|
2012-03-19 14:09:26 +08:00 |
|
Chris Taylor
|
e28ba63503
|
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
|
2012-03-19 13:49:19 +08:00 |
|
Chris Taylor
|
2d54617b91
|
Remove redundant ui_event_process and duplicate mouse.c in ui/. All editor input is now event-based.
|
2012-03-18 18:03:29 +08:00 |
|
Chris Taylor
|
8d784e848b
|
Make editor_handler into a proper callback, iron some problems out. Seems to draw a different bunch of stuff now (still erroneous)
|
2012-03-18 16:02:32 +08:00 |
|
Chris Taylor
|
cb0f7a4b04
|
Do a bit of a tidy up for the editor, dump code from editor() within the loop into new editor_handler()
|
2012-03-18 12:13:12 +08:00 |
|
Chris Taylor
|
69c3fd694d
|
Make do_wall_window into a proper callback. Only one dialog left - the main one.
|
2012-03-17 21:34:45 +08:00 |
|
Chris Taylor
|
41c6587ee9
|
Make do_robot_window and do_object_window into proper callbacks, doing both in the same commit because of global recycling
|
2012-03-17 19:43:03 +08:00 |
|
Chris Taylor
|
97d3f3b4e4
|
Make do_trigger_window into a proper callback
|
2012-03-17 17:39:24 +08:00 |
|
Chris Taylor
|
ffab790447
|
Use the gadget-sent events in the dialogs in ui
|
2012-03-05 19:08:41 +08:00 |
|
Chris Taylor
|
dc84147b51
|
All gadgets now send events
|
2012-03-03 20:19:15 +08:00 |
|
Chris Taylor
|
e50a82c743
|
Actually add editor data files and make sure DXX can find them
|
2012-03-03 16:03:03 +08:00 |
|
Chris Taylor
|
0b8e9b4873
|
Increment version to 0.57.2 for Mac and RELEASE-NOTES
|
2012-03-03 13:37:06 +08:00 |
|
Chris Taylor
|
c0d7659a9c
|
Give the last use of a dialog in ui, in PopupMenu, a callback
|
2012-01-09 23:17:10 +08:00 |
|
Chris Taylor
|
ce2b13c956
|
Give the dialog in MessageBoxN a callback
|
2012-01-03 17:24:31 +08:00 |
|
Chris Taylor
|
5336ee198d
|
Give the dialog in (also presently unused) MenuX a callback
|
2012-01-03 16:23:13 +08:00 |
|
Chris Taylor
|
11daae4a2d
|
Give the dialog in (presently unused) GetKeyCode a callback
|
2012-01-03 13:25:53 +08:00 |
|
Chris Taylor
|
ead5b43319
|
Give ui_get_filename a callback for its dialog. Happy new year
|
2012-01-02 15:49:59 +08:00 |
|
Chris Taylor
|
16b5d1b101
|
Make editor menubar and associated menus into windows; either remove or make event-based all the B1_* macros
|
2011-12-31 17:12:09 +08:00 |
|
Chris Taylor
|
9da79266ee
|
Remove redundant canvas, next and prev members in the UI_DIALOG struct
|
2011-12-18 20:41:31 +08:00 |
|
zicodxx
|
4366adbea9
|
break out of loop in event_send() in case window_send_event() closed the window to prevent invalid read on memory
|
2011-11-27 21:36:02 +01:00 |
|
zicodxx
|
3ce46392ef
|
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
|
2011-11-24 11:31:05 +01:00 |
|
zicodxx
|
7eff144bbe
|
Smoothed disabling of friendly fire to re-enable splash damage possible when friendly fire is disabled
|
2011-11-24 11:04:45 +01:00 |
|
zicodxx
|
093c841e50
|
Sliders can now be operated with Numpad arrows if numlock if off
|
2011-11-14 22:14:57 +01:00 |
|
Chris Taylor
|
4a3b1532b1
|
Make ui_userbox_do fully event-responsive
|
2011-11-14 19:27:59 +08:00 |
|
Chris Taylor
|
3c2f291b5e
|
Make ui_scroll_do fully event-responsive, make sure scrolling actually works by calling all controls' ui_*_do functions (like before)
|
2011-11-12 12:48:26 +08:00 |
|
Chris Taylor
|
c52b571391
|
Make ui_radio_do fully event-responsive
|
2011-11-06 20:06:41 +08:00 |
|
Chris Taylor
|
576054be55
|
Make ui_listbox_do fully event-responsive
|
2011-11-06 11:06:38 +08:00 |
|
Chris Taylor
|
203314b8e7
|
Say when the event was handled for ui_inputbox_do (was already event-responsive)
|
2011-11-05 20:12:39 +08:00 |
|
Chris Taylor
|
aee464c4ac
|
Fix implicit function declaration in last commit, make ui_icon_do fully event-responsive
|
2011-11-05 19:45:27 +08:00 |
|
Chris Taylor
|
aaeaa30c7b
|
Make ui_checkbox_do fully event-responsive
|
2011-11-05 17:46:05 +08:00 |
|
Chris Taylor
|
6fe012fbc1
|
Put back use of med_show_warning for Linux, but then clear it properly when leaving the editor
|
2011-11-05 17:24:40 +08:00 |
|
Chris Taylor
|
008b24a451
|
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)
|
2011-11-05 17:08:17 +08:00 |
|
zicodxx
|
de3c04c582
|
Do not attempt to check for MULTI_PROTO_VERSION when requesting lite_info
|
2011-11-03 14:26:46 +01:00 |
|
zicodxx
|
2f08947f48
|
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
|
2011-11-02 01:04:42 +01:00 |
|
Chris Taylor
|
6978ef2dd0
|
Return 1 (event handled) in ui_dialog_handler for mouse button events if the mouse was in the dialog
|
2011-10-30 19:09:11 +08:00 |
|
Chris Taylor
|
b8b6a234c2
|
Pass the event to the individual gadgets' 'do' functions, fix compile warnings introduced in last commit
|
2011-10-25 09:39:35 +08:00 |
|
Chris Taylor
|
25c1b74e57
|
Pass the event to ui_dialog_do_gadgets and use it in that immediate function
|
2011-10-23 17:08:47 +08:00 |
|
Chris Taylor
|
96e619ae29
|
Move calls to ui_dialog_do_gadgets to the dialog event handler, making sure ui_event_handler gets called beforehand
|
2011-10-09 20:31:39 +08:00 |
|
Chris Taylor
|
6eb4629ac2
|
Fix comparison is always false warning
|
2011-10-09 20:08:26 +08:00 |
|
Chris Taylor
|
5dc76799f2
|
Add support for 'modeless' windows - windows that will allow events to be passed on to the underlying window. Intended for the editor
|
2011-10-09 18:32:53 +08:00 |
|
Chris Taylor
|
e01c25fbd2
|
Initialise dyn_light using memset, fixing a warning
|
2011-10-09 18:26:43 +08:00 |
|
zicodxx
|
aa8286c1d6
|
Fixed set but unused variables
|
2011-09-27 01:31:19 +02:00 |
|
zicodxx
|
52f3f87359
|
Avoided variable array initializations which some compilers do not like; Also made sure declarations happen first inside (sub)functions; Fixed set but unused variables
|
2011-09-26 23:00:24 +02:00 |
|
zicodxx
|
80bf0580e4
|
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
|
2011-09-26 20:22:38 +02:00 |
|
zicodxx
|
e10975b3b4
|
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()
|
2011-09-26 19:15:43 +02:00 |
|
zicodxx
|
8422d07cae
|
Code consistency checks by _Tyr_; Fixed set but unused variables
|
2011-09-26 19:03:20 +02:00 |
|
zicodxx
|
ba3d2e2d42
|
Code consistency checks by _Tyr_; Fixed set but unused variables
|
2011-09-26 18:58:12 +02:00 |
|
zicodxx
|
d444c571f5
|
Fixed misuse of gr_bitblt_find_transparent_area() caused rear view to be shifted on some cockpits
|
2011-09-25 01:01:53 +02:00 |
|
zicodxx
|
236e1c97fc
|
Reworked wall_toggle() to work with index for segnum instead of a pointer, hopefully making the consistency check less error prone
|
2011-09-24 22:03:36 +02:00 |
|
zicodxx
|
2802ea7f08
|
Consistency check for segment number in find_vector_intersection() and obj_create(); Added more debug output for invalid segment numberin get_seg_masks()
|
2011-09-24 11:15:31 +02:00 |
|
zicodxx
|
813dd1a05b
|
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
|
2011-09-23 19:48:48 +02:00 |
|
zicodxx
|
a5d7454f64
|
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
|
2011-09-21 20:03:46 +02:00 |
|
zicodxx
|
8b5b6b822d
|
Fixed overuse of multi_send_sound_function when handling afterburner in case player is dead or escaped
|
2011-09-21 19:49:29 +02:00 |
|
zicodxx
|
aa165490e6
|
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
|
2011-09-21 12:04:10 +02:00 |
|
zicodxx
|
c71591c4e6
|
Removed saving/restoring the state of Packet Loss Prevention from Netgame profiles
|
2011-09-19 13:42:00 +02:00 |
|
zicodxx
|
951f3edd80
|
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
|
2011-09-19 13:01:11 +02:00 |
|
zicodxx
|
a8892bd13a
|
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
|
2011-09-15 10:45:48 +02:00 |
|
zicodxx
|
d9ca3a2287
|
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
|
2011-09-14 01:15:32 +02:00 |
|
Chris Taylor
|
81f2b39cb3
|
Define USE_TRACKER for Mac OS X, remove reference to deleted cfile.h
|
2011-09-13 09:42:37 +08:00 |
|
Chris Taylor
|
2de1258995
|
Mention Mac command keys
|
2011-09-13 09:28:13 +08:00 |
|
Chris Taylor
|
94f896c169
|
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
|
2011-09-12 11:03:57 +08:00 |
|
zicodxx
|
7efd8f8183
|
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
|
2011-08-26 18:56:22 +02:00 |
|
zicodxx
|
27a638a33a
|
Added Polygon model viewer and GameBitmaps viewer in non-Release build for debugging, messing around, DXX-Redrawn, etc.
|
2011-07-20 14:44:49 +02:00 |
|
zicodxx
|
aff2318e3f
|
Changed my eMail address
|
2011-07-19 22:00:25 +02:00 |
|
zicodxx
|
03f0613c8d
|
Keep copyright information up to date
|
2011-07-19 11:36:26 +02:00 |
|
zicodxx
|
0e50a9e7c4
|
Properly call multi_leave_game() when host leaves multi game to let clients exit smoothly
|
2011-07-19 11:31:08 +02:00 |
|
zicodxx
|
7275fd8b87
|
Changed version to 0.57.1; Updated release notes
|
2011-07-16 21:21:14 +02:00 |
|
zicodxx
|
5ea72ad2fc
|
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
|
2011-07-16 16:02:22 +02:00 |
|
zicodxx
|
a28f482027
|
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
|
2011-07-16 11:36:40 +02:00 |
|
zicodxx
|
dafe61b488
|
properly check and fix viewMatrix in free flight auotmap
|
2011-07-15 16:01:40 +02:00 |
|
zicodxx
|
4367c9a117
|
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
|
2011-07-15 11:46:06 +02:00 |
|
zicodxx
|
b83e27005f
|
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
|
2011-07-15 10:43:03 +02:00 |
|
zicodxx
|
8a495dab09
|
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
|
2011-07-15 01:34:36 +02:00 |
|
zicodxx
|
fa96b3e5d7
|
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
|
2011-07-14 13:38:04 +02:00 |
|
zicodxx
|
0eca250fd4
|
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
|
2011-07-14 13:36:44 +02:00 |
|
zicodxx
|
97f2bb11cb
|
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
|
2011-07-13 23:26:43 +02:00 |
|
zicodxx
|
9726c06b6a
|
Fixed uninitialized bytes in multi_do_create_robot_powerups() and two set but unused variables
|
2011-07-12 15:34:42 +02:00 |
|
zicodxx
|
a87dccd1bf
|
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
|
2011-07-12 00:11:00 +02:00 |
|
zicodxx
|
fbc6112d44
|
Added complex error output if illegal segnum passed to get_seg_masks(); Fixed warning about set but unused variables
|
2011-07-10 01:09:43 +02:00 |
|
zicodxx
|
6f0567041a
|
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
|
2011-07-09 21:39:22 +02:00 |
|
zicodxx
|
7072a067a9
|
Just like for players do not protect robot firing or positional data (via PLP) to prevent jumpy movement with delayed packets
|
2011-07-09 13:30:33 +02:00 |
|
zicodxx
|
41b4c080fa
|
In Multiplayer games show player names in big guided window as well
|
2011-07-09 13:25:11 +02:00 |
|
zicodxx
|
325fe4f23f
|
Make sure hmp_reset() is only executed if a song was playing
|
2011-07-08 01:46:31 +02:00 |
|