22 Commits

Author SHA1 Message Date
aryanrawlani28
12e4f871a3 GUI: U32: Improve u32 in all engine subsystems
- Common: add wordWrap function to ustr.cpp
- Bladerunner: Explicitly state we have a U32String in subs (same as Subtitles::loadOuttakeSubsText)
- Don't use translations for engine specific "put strings", because they might not support.
- SCI: Use const references for showScummVMDialog
- SCUMM:
-- Don't use translation in md5 warning. left comments with the translated version.
-- Remove some redundant headers in help.cpp
-- Don't use translation in handleSaveload when printing to console
-- Also, display success transaction correctly via u32::format
- TESTBED: Use fake constructor when setting label of button
- SKY: Correctly use translation when using SaveStateDescription
- ULTIMA: Don't use translations when display_string
- ENGINES:
-- GenerateUnknownGameReport correctly, with proper translations.
-- There was an error, where a function had been declared twice, in a header file. Correct this.
2020-08-30 14:43:41 +02:00
aryanrawlani28
bed05ea134 GUI: U32: Fix compilation errors across entire project
After the initial changes just to scummvm/gui for u32, this commit includes the whole project

- Widget creations now always have u32 descriptions, labels, or tooltips
- Message dialogs make use of default arguments instead of providing the same argument explicitly
- encode String::format properly before passing on as argument where necessary
- Modify hugo utils (yesNoBox and notify box) to use u32
- Also provide fake constructors for the above which redirect to the u32 constructor
- Convert all keymap descriptions to u32 across all engines
- showConfirmationDialog in mohawk now uses u32
- showScummVMDialog also uses u32
- Scumm engine has dialogs now which use u32
- General fixes and wrapping convertToU32String for setLabels and related functions
- Add a fake constructor to MesssageDialog which redirects to the u32 constructor
2020-08-30 14:43:41 +02:00
Einar Johan Trøan Sømåen
3b078b114b TESTBED: Fix a typo in the sound tests: s/smaple/sample 2014-06-19 12:27:29 +02:00
Johannes Schickel
3edca1abb4 TESTBED: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Johannes Schickel
b4d0a8ba66 JANITORIAL: Enforce "} // End of namespace" with a single space after }. 2013-01-26 19:38:02 +01:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Ori Avtalion
9414d7a6e2 JANITORIAL: Reduce header dependencies in shared code
Some backends may break as I only compiled SDL
2011-04-28 15:08:58 +03:00
Max Horn
42ab839dd6 AUDIO: Rename sound/ dir to audio/
svn-id: r55850
2011-02-09 01:09:01 +00:00
Max Horn
059944e59c COMMON: Push #include audiocd.h in system.h out to .cpp files
svn-id: r54148
2010-11-08 23:07:42 +00:00
Max Horn
82e473bc3b BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes only
This commit contains the AudioCDManager changes from the gsoc2010-opengl
branch. The other changes in that branch are restricted to the backends
directory only (plus configure).

The Nintendo DS and Dreamcast ports still need to be ported over to
the new Audio CD system, but that should be fairly easy to do.

svn-id: r54147
2010-11-08 22:53:36 +00:00
Max Horn
e27b05ef35 COMMON: Rename String::printf() to String::format()
This is a first step towards getting rid of all uses of regular printf,
fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase.

The name format() reflects the purpose of the function, and parallels
String.format() in Java, boost::format, and others.

svn-id: r54004
2010-11-01 16:02:28 +00:00
Neeraj Kumar
0a7bda50cc TESTBED: formatting fix, deleted spaces/tabs at end of line
svn-id: r52081
2010-08-14 08:32:39 +00:00
Neeraj Kumar
4c3ea30e32 TESTBED: disable tests when required data is not found
svn-id: r52041
2010-08-12 14:47:25 +00:00
Neeraj Kumar
acb32580ce TESTBED: Some more refinements to the GUI and mouse event tests
svn-id: r51946
2010-08-09 21:18:27 +00:00
Neeraj Kumar
4e92b3a17e TESTBED: Some refinemnts related to skipping tests and display in GUI
svn-id: r51945
2010-08-09 20:10:53 +00:00
Neeraj Kumar
6c0855f3d3 TESTBED: playing audio output with variable sample rates
svn-id: r51766
2010-08-05 21:36:17 +00:00
Neeraj Kumar
fee1bb28bd TESTBED: added audiocd test sound tracks as the testbed engine data
svn-id: r51713
2010-08-03 20:26:28 +00:00
Neeraj Kumar
9dbe6fdb07 TESTBED: Implemented audioCD tests
svn-id: r51711
2010-08-03 19:24:09 +00:00
Neeraj Kumar
9d6d0f8b35 TESTBED: added code to enable the mixer to simultaneously play channels, pause/unpause some of them using GUI, couple of fixes as well
svn-id: r51515
2010-07-30 20:10:30 +00:00
Neeraj Kumar
a6e84128c9 TESTBED: generalized the GUI, added code for the end text gui message and option to rerun tests
svn-id: r51507
2010-07-30 13:54:25 +00:00
Neeraj Kumar
4814db3a6a TESTBED: implemented gui of Sound Subsystem tests
svn-id: r51468
2010-07-29 13:09:14 +00:00
Neeraj Kumar
39780f4a68 TESTBED: implemented some sample beeps using PCSpeaker emulator for testing sound subsystem
svn-id: r51333
2010-07-26 20:59:50 +00:00