aboutsummaryrefslogtreecommitdiff
path: root/gui/launcher.cpp
AgeCommit message (Collapse)Author
2012-02-26COMMON: Move RenderMode and GUIOptions functionality into separate filesMax Horn
2012-02-21Merge pull request #182 from fingolfin/forbid-ctypeWillem Jan Palenstijn
ALL: Avoid using is* macros from ctype.h
2012-02-20COMMON: Move isFoo functions to namespace Common, add doxygen commentsMax Horn
2012-02-15JANITORIAL: Fix missing whitespace in pointer castTarek Soliman
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g' This seems to have caught some params as well which is not undesirable IMO. It also caught some strings containing this which is undesirable so I excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15ALL: Avoid using is* macros from ctype.hMax Horn
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them.
2011-10-25GUI: Fix search clear button when switching themes or resolution.Johannes Schickel
This only fixes the clear button of the launcher's search. For the other clear buttons this is would be a bit more work since they are embedded in tabs.
2011-10-25LAUNCHER: Fix MIDI override settingEugene Sandulenko
2011-10-25GUI: Refactor clear buttonsEugene Sandulenko
2011-10-25GUI: Added clear button to pathsEugene Sandulenko
2011-10-25LAUNCHER: benefit from PicButton being derivative of ButtonEugene Sandulenko
2011-10-25LAUNCHER: Do not show clear image in classic themeEugene Sandulenko
2011-10-24GUI: Added icon to clear button. Reverted PNG supportEugene Sandulenko
2011-10-23LAUNCHER: Do not show MIDI and MT32 tabs if game does not have MIDIEugene Sandulenko
2011-10-23AD: Swtich GUI options to a char array.Eugene Sandulenko
This eliminates nasty limitation of caping number of flags to 31. Current code has limitation of 255 flags, though. Only SCUMM engine is converted, rest do not even compile. Detection of fan talkie MI is broken as it has to be implemented differently.
2011-08-06GUI: Removed redundant button labelEugene Sandulenko
2011-06-02GUI: Replace some s(n)printf uses by Common::String::formatMax Horn
2011-06-01Merge branch 'branch-1-3-0' into masterMax Horn
I manually resolved all conflicts, and inspected every single change. Many were due to the version string mismatch and thus easily resolved. The MSVC project files add in the 1-3-0 branch were not merged, neither where the changes to gui/themes/translations.dat. Conflicts: NEWS backends/base-backend.cpp backends/graphics/samsungtvsdl/samsungtvsdl-graphics.cpp backends/module.mk backends/platform/ds/arm9/makefile backends/platform/psp/README.PSP backends/platform/samsungtv/main.cpp backends/platform/samsungtv/samsungtv.cpp backends/saves/posix/posix-saves.cpp base/commandLine.cpp base/internal_version.h base/main.cpp common/array.h configure devtools/create_project/create_project.cpp dists/android/AndroidManifest.xml dists/android/plugin-manifest.xml dists/iphone/Info.plist dists/irix/scummvm.spec dists/macosx/Info.plist dists/redhat/scummvm-tools.spec dists/redhat/scummvm.spec dists/scummvm.rc dists/slackware/scummvm.SlackBuild dists/wii/meta.xml engines/sci/parser/vocabulary.cpp engines/tinsel/handle.cpp gui/themes/translations.dat
2011-05-21DS: Port of changes from branch-1-2-0 that I should really have moved into ↵agent-q
the trunk. "DS: Prevent the command line help string from being included in the binary." 5f3a90a5f6911188b8d1ded08dbdf6d233e9eb7b "GUI: Allow disabling of Mass Add dialog. Saves a few Kb of binary size on the DS, and is not particularly useful on that platform." 240ff87cf4472538d25a1c5628c8d15f1791ab1c "GUI: Don't search for theme zip files on startup when running on the DS. Themes aren't supported anyway, and the search severely delays startup." fe3b18ce0df03117081e83d99f4a2cbd864d3286
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-07GUI: Rename SaveLoadChooser::runModal to runModalWithPluginAndTargetMax Horn
This avoids hiding an overloaded virtual method, which in turn can cause weird bugs (see also the next commit). svn-id: r55815
2011-01-18GUI: Fix implicit signed to unsigned conversion warnings for some compilers.Johannes Schickel
svn-id: r55313
2011-01-16GUI: Fix language popup in the game options.Johannes Schickel
r49786 introduced a regression which made the game options menu set the game language to "zh-cn" in case "<default>" was selected. Also in case no language key was present in the game's config domain no text was shown at all, now it shows "<default>" in that case again. svn-id: r55267
2010-12-23PLUGINS: switched plugin manager to inheritance rather than #definesYotam Barnoy
The reason for this was that I found issues where the wrong functions were called in EngineManager for single plugin operation. Rather than inserting more messy #defines, I preferred to change the PluginManager to use virtual functions, which also makes EngineManager simpler. svn-id: r55024
2010-11-16GUI: Rename gui/GuiManager.* to gui/gui-manager.*Max Horn
svn-id: r54265
2010-11-16GUI: Move major widgets to new directory gui/widgetsMax Horn
Also renamed the source/header files, now they are more closely aligned to how we rename most other source files svn-id: r54264
2010-11-05PLUGINS: improved one-at-a-time plugin codeYotam Barnoy
I reduced memory fragmentation using 2 principles: Plugins should be loaded for as little time as possible, and long lasting memory allocations should be allocated before plugins are loaded. There might still be a little fragmentation left. Note that command line settings that require plugins to be loaded don't work yet, but they didn't work (properly) before either. svn-id: r54097
2010-11-05COMMON/GUI/SCI: Changes to the EGA dithering checkboxFilippos Karapetis
- Changed the new dithering checkbox to be more generic (i.e. relevant for all engines that may support such a feature in the future) - Changed the checkbox to be unchecked by default. As discussed on -devel, game enhancements in ScummVM should be off by default, and opt-in - Changed the option from "sci_undither" to "disable_dithering" - Changed theme version style to X.Y.Z and bumped it to 0.8.2 svn-id: r54090
2010-11-04SCI/SCUMMVM: Added an option to enable the dithering removal algorithm (so ↵Filippos Karapetis
called "undithering") in the graphics options tab. The algorithm is now disabled by default, after popular demand. In retrospect, we really shouldn't have made it default, in order to preserve the authenticity of the graphics in early SCI EGA games, and allow the user to opt in and enable the option if needed. Unfortunately, the lack of an easy way to modify the option made it hard to do so. svn-id: r54066
2010-11-03Merge from gsoc2010-pluginsYotam Barnoy
This merge was extremely difficult to carry out. It wasn't entirely SVN's fault -- there were several merges to the branch that were done by hand. Please check for any issues and regressions. Also note that the DS makefile was not copied over since the "one at a time" plugin mode currently has too much fragmentation ie. it doesn't work. svn-id: r54051
2010-10-31Updated with latest from trunkYotam Barnoy
svn-id: r53976
2010-10-12JANITORAL: Clean trailing whitespaces.Jordi Vilalta Prat
svn-id: r53160
2010-10-12I18N: Forward-port r53063 (minor lowres fixes)Jordi Vilalta Prat
svn-id: r53159
2010-09-19I18N: Add lowres context for one string.Thierry Crozat
Also update German and French translations. svn-id: r52808
2010-09-11i18n: Add lowres context in a few placesThierry Crozat
Also update the Italian and French translations. svn-id: r52677
2010-09-05MERGE: Merge trunk to branch.Andre Heider
svn-id: r52564
2010-08-31I18N: Add "lowres" context in one place for the Add Game buttonThierry Crozat
svn-id: r52475
2010-08-30I18N: Add "lowres" context for several GUI strings when in 1x mode.Thierry Crozat
This enables translators to use a different translation for these strings in 1x mode (e.g. 320x200 or 320x240) and in 2x or 3x modes. svn-id: r52461
2010-08-23i18n: Add support for context in translations.Thierry Crozat
This change means there can now be different translations for the same english string depending on the context. It is based on gettext msgctxt feature. There is a new macro _c(msg, ctxt) that should be used instead of _(msg) in the source code when we want to add a context to the message. For the moment I have added contexts to only one message ("None") so that I could test the changes. Context could be added also to get shorter translations when GUI is in 1x mode. I have also added back the fuzzy option to msmerge since it is useful when adding contexts to populate the translations for the new contexts. svn-id: r52308
2010-08-13refactored NEW_PLUGIN_DESIGN_FIRST_REFINEMENT define into ONE_PLUGIN_AT_A_TIMETony Puccinelli
svn-id: r52058
2010-08-10merged trunk into branch, reverted Cruise Singleton changesTony Puccinelli
svn-id: r51961
2010-08-05added intermediary function 'findGameOnePlugAtATime' and switched load game ↵Tony Puccinelli
and run game code to use it. Added checks for DYNAMIC_MODULES defines to the checks for NEW_PLUGIN_DESIGN_FIRST_REFINEMENT svn-id: r51746
2010-07-24GUI: Fix bug #3027772 by adding MT-32 tabEugene Sandulenko
Bug #3027772: "Can't switch between Text and Speech". The problem was in overcrowded Audio tab in any resolution with height < 480. Solved by adding new MT-32 tab and grouping all relevant widgets there. TODO: - The problem still exists for 320x200 resolution where Subtitle speed control is not accessible - Apparently nobody tested tab control scrolling after switching to new GUI, and now there are artifacts svn-id: r51265
2010-06-15GUI: Implemented Languages as GUI options.Eugene Sandulenko
SCUMM and AdvancedDetector support this feature. svn-id: r49786
2010-06-15GUI: Added tooltips to more widgets.Eugene Sandulenko
svn-id: r49779
2010-06-15GUI: Added tons of tooltips.Eugene Sandulenko
svn-id: r49777
2010-06-15GUI: Implement tooltips. FR #2821513.Eugene Sandulenko
FR #2821513: "GUI: add tooltips". Added tooltips for Add Game button, clear field buttons and couple other. Current problem: Only first call correctly restores text. I could not find where restore information gets lost. svn-id: r49774
2010-06-15GUI: Added in-place hotkeys for widgets.Eugene Sandulenko
Now it is possible to specify hotkeys in place for ButtonWidget and CheckboxWidget (the only widgets with hotkeys now). Use de-facto standard with putting hotkey between tildes (~). Like '~O~pen'. The tildes gets stripped before after hotkey is extracted. This is done for giving translators possibility to specify their own hotkeys. Old hotkeys defined at widget instance creation are left for leaving possibility to specify non-printable hotkeys such as Common::ASCII_ESCAPE. Translation files were updated respectively. svn-id: r49766
2010-06-15Implement translation support for ScummVM GUI.Eugene Sandulenko
Based on patch #2903830: "Updated Translation Prototype" by alexbevi which in turn is based on patch #1739965 by jvprat. Currently it builds all translations right into ScummVM. Once the feature will be accepted more widely, i.e. more translations will pop up, it will be trivial to move translation strings to external file. Finished translation: Russian Unfinished translation: Hungarian Things which are nice to do: - Language code -> language mapping for more user friendness - Specifying fonts to be used with language - Updating of interface language without restart. It will require moving of much code to reflowLayout() methods for each dialog The .po files must be in single byte encodings. I.e. no support for Unicode. svn-id: r49759