Chris Taylor
|
6068bf961d
|
All gadgets now send events
|
2012-03-03 20:12:25 +08:00 |
|
Chris Taylor
|
e05a2d3483
|
Actually add editor data files and make sure DXX can find them
|
2012-03-03 16:02:16 +08:00 |
|
Chris Taylor
|
6124b1affc
|
Increment version to 0.57.2 for Mac and RELEASE-NOTES
|
2012-03-03 13:36:17 +08:00 |
|
Chris Taylor
|
a4be50fdfe
|
Give the last use of a dialog in ui, in PopupMenu, a callback
|
2012-01-09 23:06:29 +08:00 |
|
zicodxx
|
af6caef756
|
Unbuffered writing of gamelog.txt has it's own argument and is not triggered by -verbose argument anymore; Also increases verbosity of packet-loss-prevented packets by showing their types when added to queue
|
2012-01-09 15:19:12 +01:00 |
|
Chris Taylor
|
9c686ce92a
|
Give the dialog in MessageBoxN a callback
|
2012-01-03 17:23:42 +08:00 |
|
Chris Taylor
|
200e66a839
|
Give the dialog in (also presently unused) MenuX a callback
|
2012-01-03 16:22:17 +08:00 |
|
Chris Taylor
|
fdef129f7e
|
Give the dialog in (presently unused) GetKeyCode a callback
|
2012-01-03 13:24:45 +08:00 |
|
Chris Taylor
|
a5c4992c58
|
Give ui_get_filename a callback for its dialog. Happy new year
|
2012-01-02 15:49:08 +08:00 |
|
Chris Taylor
|
1c6ecbece0
|
Make editor menubar and associated menus into windows; either remove or make event-based all the B1_* macros
|
2011-12-31 17:10:40 +08:00 |
|
Chris Taylor
|
ff3f419c31
|
Remove redundant canvas, next and prev members in the UI_DIALOG struct
|
2011-12-18 20:33:51 +08:00 |
|
zicodxx
|
b4bf4e8c75
|
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:35:58 +01:00 |
|
zicodxx
|
1a89c345a8
|
Just as in Descent 2, let flares die in lava
|
2011-11-25 22:45:40 +01:00 |
|
zicodxx
|
b3329c6c86
|
Fixed forgotten MALLOC in g3_draw_morphing_model crashing game when rendering morphing robot (created from matcen for example)
|
2011-11-25 11:40:41 +01:00 |
|
zicodxx
|
49649ab697
|
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:30:29 +01:00 |
|
zicodxx
|
84b60ab017
|
Smoothed disabling of friendly fire to re-enable splash damage possible when friendly fire is disabled
|
2011-11-24 11:04:43 +01:00 |
|
zicodxx
|
517bc77692
|
Sliders can now be operated with Numpad arrows if numlock if off
|
2011-11-14 22:14:52 +01:00 |
|
Chris Taylor
|
d1a995ef6d
|
Make ui_userbox_do fully event-responsive
|
2011-11-14 19:27:04 +08:00 |
|
Chris Taylor
|
33b1b6118d
|
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:46:29 +08:00 |
|
Chris Taylor
|
1c305434f4
|
Make ui_radio_do fully event-responsive
|
2011-11-06 20:05:43 +08:00 |
|
Chris Taylor
|
d8a1aaff32
|
Make ui_listbox_do fully event-responsive
|
2011-11-06 11:05:45 +08:00 |
|
Chris Taylor
|
744e51c877
|
Say when the event was handled for ui_inputbox_do (was already event-responsive)
|
2011-11-05 20:11:48 +08:00 |
|
Chris Taylor
|
ee05f99a3c
|
Fix implicit function declaration in last commit, make ui_icon_do fully event-responsive
|
2011-11-05 19:43:54 +08:00 |
|
Chris Taylor
|
d2d68bc4ee
|
Make ui_checkbox_do fully event-responsive
|
2011-11-05 17:45:10 +08:00 |
|
Chris Taylor
|
b15bbb982d
|
Fix crash on exit for non-Linux, when it tries to show an editor warning (unfreed blocks) but doesn't have the images to render it
|
2011-11-05 17:23:20 +08:00 |
|
Chris Taylor
|
89b36e8be0
|
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:07:25 +08:00 |
|
zicodxx
|
2b6a62a5b9
|
Do not attempt to check for MULTI_PROTO_VERSION when requesting lite_info
|
2011-11-03 14:26:43 +01:00 |
|
zicodxx
|
1371874e0d
|
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:38 +01:00 |
|
Chris Taylor
|
1200f8017b
|
Return 1 (event handled) in ui_dialog_handler for mouse button events if the mouse was in the dialog
|
2011-10-30 19:08:02 +08:00 |
|
Chris Taylor
|
91e0f976f7
|
Pass the event to the individual gadgets' 'do' functions, fix compile warnings introduced in last commit
|
2011-10-25 09:38:12 +08:00 |
|
Chris Taylor
|
5d6c06c723
|
Pass the event to ui_dialog_do_gadgets and use it in that immediate function
|
2011-10-23 17:07:18 +08:00 |
|
Chris Taylor
|
87c8c25580
|
Move calls to ui_dialog_do_gadgets to the dialog event handler, making sure ui_event_handler gets called beforehand
|
2011-10-09 20:30:31 +08:00 |
|
Chris Taylor
|
8e0579c4a6
|
Fix comparison is always false warning
|
2011-10-09 20:07:21 +08:00 |
|
Chris Taylor
|
3121fb4990
|
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:31:44 +08:00 |
|
Chris Taylor
|
5f87108ba4
|
Initialise dyn_light using memset, fixing a warning
|
2011-10-09 18:25:33 +08:00 |
|
zicodxx
|
fb775b35c3
|
Fixed set but unused variables
|
2011-09-27 01:31:17 +02:00 |
|
zicodxx
|
bcdbff0665
|
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:23 +02:00 |
|
zicodxx
|
aafc5ec877
|
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:35 +02:00 |
|
zicodxx
|
d8263a85b6
|
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:39 +02:00 |
|
zicodxx
|
c2b3c64314
|
Code consistency checks by _Tyr_; Fixed set but unused variables
|
2011-09-26 19:03:12 +02:00 |
|
zicodxx
|
22316fa5d6
|
Code consistency checks by _Tyr_; Fixed set but unused variables
|
2011-09-26 18:58:06 +02:00 |
|
zicodxx
|
80e69421d8
|
Fixed misuse of gr_bitblt_find_transparent_area() caused rear view to be shifted on some cockpits
|
2011-09-25 01:01:51 +02:00 |
|
zicodxx
|
0df7146226
|
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:33 +02:00 |
|
zicodxx
|
4e299e4f83
|
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:24 +02:00 |
|
zicodxx
|
7a4d7e3bc4
|
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:45 +02:00 |
|
zicodxx
|
8f483e690b
|
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:41 +02:00 |
|
zicodxx
|
60f8606813
|
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:09 +02:00 |
|
zicodxx
|
5f17f6a40b
|
Removed saving/restoring the state of Packet Loss Prevention from Netgame profiles
|
2011-09-19 13:41:58 +02:00 |
|
zicodxx
|
3cad8885d4
|
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:08 +02:00 |
|
zicodxx
|
6fdf44035e
|
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:45 +02:00 |
|