Commit graph

340 commits

Author SHA1 Message Date
Ilari Liusvaara
e4db2486b5 Be more careful when parsing macros
... Don't throw random exceptions when encountering something of wrong
type, instead throw exception with more proper message.
2013-08-19 09:22:09 +03:00
Ilari Liusvaara
c4bcddbfbd Reserve 1 byte for each macro button instead of 2 bits 2013-08-18 23:11:25 +03:00
Ilari Liusvaara
4feb4b6290 Macros: Support ? modifier for macros (press at random) 2013-08-18 23:03:43 +03:00
Ilari Liusvaara
a38ce6b99e Make port_type::legal based on data instead of generated 2013-08-17 17:58:43 +03:00
Ilari Liusvaara
065b59cd64 Fix parsing Oggopus files with tags spanning multiple pages 2013-08-14 23:52:35 +03:00
Ilari Liusvaara
707c1a4041 Joystick dialog: Compactify
... Otherwise the dialog will be frickin' big, especially with things like
PS3 controller using EVDEV driver.
2013-08-14 14:40:06 +03:00
Ilari Liusvaara
9ebf20f19c Much more compact joystick dialog 2013-08-12 13:27:38 +03:00
Ilari Liusvaara
be852e63e1 Use tree control instead of pair of listboxes in hotkeys&controls 2013-08-11 16:48:35 +03:00
Ilari Liusvaara
b3f8f7f1b7 Decouple sets of functions from Lua states 2013-08-07 17:31:09 +03:00
Ilari Liusvaara
7b67bfaac4 Lua: callback.register/callback.unregister 2013-08-06 16:17:01 +03:00
Ilari Liusvaara
32b98a880c Kill port type IDs
Those IDs are not used for anything.
2013-08-03 17:07:13 +03:00
Ilari Liusvaara
05d25513fb Improve inverse_bind/controller_key handling
This allows unbounded number of keys in inverse bind or controller_key,
instead of the old limits of 2 and 1.
2013-08-02 21:11:26 +03:00
Ilari Liusvaara
2308401234 Refactor joystick code
Gamepads are now remembered across emulator restarts
2013-08-02 11:50:56 +03:00
Ilari Liusvaara
19040b2033 Fix binary file saving (renames) 2013-07-31 15:38:35 +03:00
Ilari Liusvaara
59710f8f38 Merge branch 'rr1-maint' 2013-07-24 19:57:08 +03:00
Ilari Liusvaara
d10c863a56 Used_indices can be defined the same way for all ports, do so 2013-07-20 12:35:21 +03:00
Ilari Liusvaara
ff86d2f0c2 Merge branch 'rr1-maint' 2013-07-17 22:58:24 +03:00
Ilari Liusvaara
a8a1f09e94 Lua: Allow direct loading of PNG/PAL/BITMAP from string 2013-07-17 22:28:54 +03:00
Ilari Liusvaara
319d23ca69 Merge branch 'rr1-maint' 2013-07-17 15:22:07 +03:00
Ilari Liusvaara
da6d1256d2 (D)Bitmap decoding from PNG support 2013-07-17 14:58:53 +03:00
Ilari Liusvaara
8fe4f70d9a Lots of dispatch refactoring 2013-07-07 13:54:56 +03:00
Ilari Liusvaara
95bbae153e Whitespace cleanup 2013-07-06 23:21:11 +03:00
Ilari Liusvaara
fbf7c48b84 More code simplification using C++11 initializers. 2013-06-23 15:57:21 +03:00
Ilari Liusvaara
992096c8c5 Macro support 2013-06-23 15:57:20 +03:00
Ilari Liusvaara
511a2aef1c JSON library 2013-06-23 15:57:20 +03:00
Ilari Liusvaara
f87a5fd453 copy_from_utf8_2 (iterators to std::function) 2013-06-21 22:14:05 +03:00
Ilari Liusvaara
5fb06d7e78 Fix Lua functions when called in coroutines 2013-06-21 00:26:48 +03:00
Ilari Liusvaara
3bcddd27cc Support runtime loading of libopus 2013-05-19 14:49:25 +03:00
Ilari Liusvaara
d531dc6afc opus.hpp: Untested (but compiles) support for surround API 2013-05-18 11:56:35 +03:00
Ilari Liusvaara
54ebc86762 Add special change dialogs for numeric and path settings 2013-05-17 21:37:53 +03:00
Ilari Liusvaara
2b7268a0dc Support enumerated settings 2013-05-17 17:22:24 +03:00
Ilari Liusvaara
7039c28305 Change boolean settings without prompting 2013-05-17 15:25:33 +03:00
Ilari Liusvaara
6fc02d459b Allow per-variable names for boolean values 2013-05-17 11:29:34 +03:00
Ilari Liusvaara
fd16f6f6eb Lua: Don't crash if method execution throws 2013-05-12 15:02:38 +03:00
Ilari Liusvaara
2cf05458bc Lua: Fix lua_state::do_once() 2013-05-12 13:48:52 +03:00
Ilari Liusvaara
b0edee81c8 Projects support 2013-05-12 11:18:59 +03:00
Ilari Liusvaara
192ac85aa2 Lua: Move some stuff 2013-05-12 11:18:59 +03:00
Ilari Liusvaara
bce5e8a936 Movie editor: Backport UTF-32 stuff from master
Makes it easier to change the movie editor code by reducing
incompatiblities between rr1 and rr2.
2013-05-03 15:39:27 +03:00
Ilari Liusvaara
efbc60d494 Allow button display symbols to be Unicode characters 2013-05-01 18:06:24 +03:00
Ilari Liusvaara
04f32ca48a Cleanup port defintions
- Replace explicit display methods with data-driven stuff.
- Deduplicate the default system port types.
- Remove generic_port_* because those aren't used in more than one place.

Serialization/Deserialization can't be made data-driven due to performance
constraints (those things are still autogenerated).
2013-05-01 17:18:56 +03:00
Ilari Liusvaara
a85619270d Merge branch 'rr1-maint'
Conflicts:
	include/core/movie.hpp
	src/core/movie.cpp
2013-04-16 03:45:00 +03:00
Ilari Liusvaara
4f92b11336 New settings framework 2013-04-13 17:55:33 +03:00
Ilari Liusvaara
3ae089cf05 Merge branch 'rr1-maint' 2013-04-01 14:08:44 +03:00
Ilari Liusvaara
03c03fc4c1 Fix value search to work with byte types 2013-04-01 14:08:24 +03:00
Ilari Liusvaara
e27a06f7c3 Lua: CUSTOMFONT: Allow painting with halo
Conflicts:

	manual.txt
	src/lua/gui-text-cf.cpp
2013-03-29 17:15:28 +02:00
Ilari Liusvaara
31e05b501d Lua: CUSTOMFONT: Allow painting with halo 2013-03-29 00:43:14 +02:00
Ilari Liusvaara
73fd1d4737 Merge branch 'rr1-maint'
Conflicts:
	include/core/loadlib.hpp
	src/core/loadlib.cpp
	src/platform/wxwidgets/mainwindow.cpp
2013-03-25 11:35:41 +02:00
Ilari Liusvaara
5b0f5b25f9 Movie editor: Use UTF-32 internally 2013-03-25 10:58:06 +02:00
Ilari Liusvaara
92adf8519c Use std::u32string instead of std::vector<uint32_t> for UTF-32 strings
This also uncovered a bug in copy_from_utf8.
2013-03-25 00:29:48 +02:00
Ilari Liusvaara
3e48ffcf98 Analog passthrough 2013-03-16 00:12:35 +02:00