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 |
|