49 Commits

Author SHA1 Message Date
Vincent Herbet
a828ee8fda Merge pull request #21 from Nextra/newmenus
Newmenus: Add menu timeouts (+ extra bugfix)
2014-05-27 12:31:30 +02:00
Valentin Grünbacher
dc3e68c507 Newmenus: Fix typo in error message 2014-05-27 10:38:25 +02:00
Valentin Grünbacher
a6ffae72f5 Newmenus: Add get_menu_by_id and use it everywhere 2014-05-27 10:33:53 +02:00
Valentin Grünbacher
50fbf29b3b Newmenus: Fix unsigned underflow on "end" variable 2014-05-22 00:07:37 +02:00
Valentin Grünbacher
ff18b03250 Newmenus: Add MEXIT_FORCE for proper exit button on non-paginated menus 2014-05-21 22:18:48 +02:00
Valentin Grünbacher
3b87c428dc Newmenus: Add necessary API changes for newmenu timeouts 2014-05-21 19:17:04 +02:00
Valentin Grünbacher
fa5336cade Newmenus: Use Menu::Close everywhere 2014-05-21 18:58:51 +02:00
Valentin Grünbacher
34337fb959 Newmenus: Add Menu::Close to remove a bunch of redundant code 2014-05-21 18:51:55 +02:00
Valentin Grünbacher
2e8ce87c23 Newmenus: Add MENU_TIMEOUT status code and pass it where necessary 2014-05-21 18:45:40 +02:00
Nextra
21a00e00a2 Add menu_addblank2 and menu_addtext2 to fix unexpected behavior with the original ones when slot=1 (bug 3096, r=Arkshine)
Former-commit-id: b4f84a5cee58d4a8fad716af82bca5b8aa0f5ff2
2013-07-02 14:54:07 +02:00
Vincent HERBET
5cb07b900a Fix unexpected behaviors when a game menu is overlapped with custom one (bug 3199, r=me)
Former-commit-id: 96390761d3b26dd5e6329fa0e836de935b4263c4
2013-06-16 22:33:48 +02:00
Steve Dudenhoeffer
55d18da46c Fix for amb1648: typo in validate_menu_text 2008-05-07 04:58:32 +00:00
Steve Dudenhoeffer
9100ec753c Added amb1167: menu_addtext(menu, const text[], slot=1) 2008-04-27 19:19:53 +00:00
David Anderson
a749aad1b4 - inserted a nasty backwards compatibility shim specifically for war3ft 3.0-rc. this may be extended globally if i can find a way to generalize it without breaking menu_create().
- updated comment about player_menu_info() as it was wrong.
2007-09-02 18:35:53 +00:00
David Anderson
d682375d7d rewrote how new menus are detected -- menucmds are no longer used since they're idiotic anyway 2007-04-25 14:44:37 +00:00
Steve Dudenhoeffer
2c2259ea15 Fixed possible issue that could arise with the new newmenu last page handler :O 2007-04-20 15:47:55 +00:00
Steve Dudenhoeffer
be4fdb1776 Fixed the completely börked handling of the last page with newmenus. 2007-04-20 15:27:04 +00:00
Steve Dudenhoeffer
599029b68e Fixed an issue where "exit" wasn't working properly on pages with valid next and more selections. 2007-04-20 02:59:35 +00:00
Steve Dudenhoeffer
1ed1d0005c Added menu property to change number color 2007-04-18 04:20:48 +00:00
David Anderson
1ec4d9cc7d fixed amb18 and various associated menu re-entrancy bugs 2007-04-16 18:00:54 +00:00
David Anderson
5d4669d52e implemented amb17
expanded menu tests
deprecated MEXIT_NORMAL, MPROP_ORDER, MPROP_PADMENU
fixed various bugs in PagekeyToItem
2007-04-16 06:58:28 +00:00
Steve Dudenhoeffer
7b4283bf4a Fixed amb207: Last item displayed as "10" instead of "0" on new menus. 2007-04-13 23:59:52 +00:00
Steve Dudenhoeffer
1f423dc39f Fixed amb208: new menu state not being reset when item has no state callback. 2007-04-13 23:57:14 +00:00
David Anderson
71065a65dd attempted merge at 1.77 back into trunk... Oh MY GOD 2007-03-09 03:04:40 +00:00
David Anderson
83631e95aa fixed bug amb41 2007-02-24 21:08:00 +00:00
David Anderson
d6ed1a8d8a Fixed bug am48234 2006-12-19 02:24:09 +00:00
David Anderson
a60e9d205b fixed bug where blanks misaligned the item selection process 2006-10-21 21:13:39 +00:00
David Anderson
d55542aa8d fourth time's a charm 2006-06-11 22:04:10 +00:00
David Anderson
8e03e67a8f fixed a menu exit calculation bug in newmenus (omg) 2006-06-10 22:12:46 +00:00
David Anderson
b3b9e72b01 fixed another newmenu calc bug 2006-06-06 17:59:38 +00:00
David Anderson
e0f1a93d6e fixed a bug where an empty modules file would crash
fixed a bug where newmenu with default exit and a single page would not return MENU_EXIT on exit
2006-06-06 07:00:27 +00:00
David Anderson
89c58265aa page numbering does not appear with no pages 2006-03-29 22:48:45 +00:00
David Anderson
522511d059 implemented menu_cancel 2006-03-14 17:49:29 +00:00
David Anderson
8502fb51b3 fixed bug where deleting oldmenus would make the next key non-unique 2006-02-24 08:34:37 +00:00
David Anderson
a195a0af30 fixed a re-entrancy bug 2006-02-09 12:04:35 +00:00
David Anderson
52aa992a2f fixed recursion problem
fixed handle leak
fixed player defaults
2006-02-09 11:53:22 +00:00
David Anderson
c602308acb fixed bug where exit wasn't guaranteed
fixed menu destroy bug at25132
2006-02-09 11:19:57 +00:00
David Anderson
2a13d923fa committed menu padding and title setting 2006-02-08 22:09:31 +00:00
David Anderson
1e4c71e8e3 fixed blank items destroying menus 2006-02-08 05:39:03 +00:00
David Anderson
506a6e0465 added never display exit option to newmenus 2006-02-06 13:22:33 +00:00
David Anderson
e2c1b8c178 Fixed bug where invalid keys were saved as blank translations
Fixed bug where dictionary caches were invalidated before being used
Loads with MM 5:11 now
2006-02-06 11:13:27 +00:00
David Anderson
df082de817 committed newmenu api, take two 2006-02-03 03:00:48 +00:00
Borja Ferrer
2ac00713a7 fixed a menu bug at19364 2005-11-13 20:33:30 +00:00
Pavol Marko
c8d69c41bc Hello quickfix 64bit negative values to executeForwards -> now upcasting everything 32bit to cell before passing to executeForwards 2005-10-18 21:05:52 +00:00
Borja Ferrer
ebd4974c75 final cleaned revision (I hope) 2005-09-16 23:48:51 +00:00
Borja Ferrer
76760b221d more cleaned-up code 2005-09-10 20:09:14 +00:00
David Anderson
b2ade117ec Added bug fix at17218 (Freecode) 2005-08-17 16:12:45 +00:00
David Anderson
32a42886dd Finished new menu system (for now)
Fixed bug where client_print did not add newlines properly
2005-07-29 19:13:55 +00:00
David Anderson
166b5ca650 omg new menu system 2005-07-29 06:33:57 +00:00