221 Commits

Author SHA1 Message Date
aryanrawlani28
4b6976c558 GUI: U32: Reduce number of files changed and fixes
Up until last commit, everything was working fine but the amount of files changed was too large. This commit tries to reduce the changes.

- Add a fake constructor to Keymap, text-to-speech, setDescription (save-state)
- Redirecting functions for PopUpWidget::appendEntry, ButtonWidget::setLabel, GUIErrorMessage
- Use the above functions and constructors to reduce changes in Engines
- Fix warnings being in unicode. Only output english text in - Warnings, Errors, etc.
- Mark some strings as "translation" strings. (Not yet added to POTFILES)
- Remove some CP related things from po/modules.mk
- Previously used some Common::convertToU32 where it was not necessary, replace this with u32constructor
2020-08-30 14:43:41 +02:00
aryanrawlani28
a9bfe35216 GUI: U32: More issue fixes and general improvements
- Use the fake constructor for message dialog less often
- solve errors regarding comparision between string and u32string in midi
- solve errors in testbed/speech related to ttsMan->say
- fix unsigned comparision warning in tab.cpp
- fix issue with static strings and translations in sdl-graphics
2020-08-30 14:43:41 +02:00
Eugene Sandulenko
5d9006e11b LAB: Added GUI messages to translation 2020-08-28 01:09:37 +02:00
D G Turner
4aaff742fc LAB: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-14 23:48:05 +00:00
D G Turner
03380c0e8a LAB: Replace memcpy of overlapping region with memmove
The result of using memcpy when source and destination overlap is
not clearly defined, so use memmove instead which avoids this problem.
2019-10-05 01:32:41 +01:00
Eugene Sandulenko
dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Ori Avtalion
3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Filippos Karapetis
e6fbf372fb LAB: Fix wrong glowing belt file in getInvName()
A regression from 4fb53ad170f483bbce2e27643cd3ee1fa604cebd
2016-02-02 21:19:59 +02:00
Filippos Karapetis
617ca2e306 LAB: Move mouse code in interfaceOn, for consistency with interfaceOff 2016-01-23 03:18:52 +02:00
Filippos Karapetis
f3cdd217ba LAB: Get rid of _interfaceOff 2016-01-15 21:03:58 +02:00
Filippos Karapetis
afa75b7047 LAB: Separate the interface from the event manager 2016-01-15 21:03:57 +02:00
Filippos Karapetis
46fdd5e7a4 LAB: Clean up the trial warning handling code 2016-01-14 23:41:35 +02:00
Filippos Karapetis
b61ade788e LAB: Call checkRoomMusic() when changing a room 2016-01-14 23:41:33 +02:00
Filippos Karapetis
241c9829f6 LAB: Rename doCloseup() to reflect its actual purpose 2016-01-14 23:41:30 +02:00
Filippos Karapetis
463f889447 LAB: Rename the members of the CrumbData struct
This helps to distinguish them from the LabEngine variables
2016-01-14 23:41:29 +02:00
Filippos Karapetis
7aafcaca1a LAB: Move music reset code into a separate function 2016-01-14 23:41:28 +02:00
Filippos Karapetis
49a45a21ce LAB: The parameter of doMap() isn't needed 2016-01-14 23:41:27 +02:00
Filippos Karapetis
5b5efd4cbe LAB: Use the same text rect in monitors for DOS and Windows versions
The Windows rectangle looks better than the DOS one, with some small
spacing on the top left. This is a minor enhancement, and it does help
to make the monitors slightly better. Also, this helps us clean up the
monitor code a bit
2016-01-08 02:01:27 +02:00
Strangerke
9834d37b33 LAB: Reduce the scope of some variables 2015-12-29 13:31:34 +01:00
Strangerke
b580d2d1d0 LAB: Simplify code in doCloseUp 2015-12-29 12:47:37 +01:00
Strangerke
583f86be27 LAB: Simplify code in perFlipButton 2015-12-29 12:32:09 +01:00
Torbjörn Andersson
fe47fec521 LAB: Free the remaining parts of _moveButtonList and _invButtonList
We can't use freeButtonList(), because apparently some of the button
images are shared between the two lists. At least, that's how I
understand it.
2015-12-28 11:05:36 +01:00
Filippos Karapetis
3977a7ffa1 LAB: Add support for saving and loading games from the GMM 2015-12-27 23:22:54 +02:00
Filippos Karapetis
4548cbddb5 LAB: Add support for loading games from the launcher 2015-12-27 23:07:41 +02:00
Filippos Karapetis
a7959a4ed4 LAB: Remove superfluous mouse show/hide calls
Our mouse cursor is drawn in a separate layer, so we can draw on the
screen without needing to hide it beforehand
2015-12-27 22:50:09 +02:00
Filippos Karapetis
ab8382418d LAB: Do not pause the background music when a sound effect is played 2015-12-27 21:42:51 +02:00
Filippos Karapetis
c5f5fbc208 LAB: Refactor the music code 2015-12-27 21:16:43 +02:00
Willem Jan Palenstijn
86a593af09 LAB: Simplify check order 2015-12-27 13:34:50 +01:00
Filippos Karapetis
3215d14e82 LAB: Rename TilePuzzle to SpecialLocks, to better reflect its purpose
This class handles two different special locks, the tile puzzle and
the combination door
2015-12-27 01:42:45 +02:00
Willem Jan Palenstijn
428f9acdcf LAB: Revert functional change of cleanup commit
(7f2b69b75c8e352ea06c9571992a00d5ffe7308f)
2015-12-27 00:29:05 +01:00
Filippos Karapetis
1d3a3a24fa LAB: Fix regression in the tab handling code 2015-12-27 00:47:21 +02:00
Willem Jan Palenstijn
f23dcd64b0 LAB: Make breadcrumb key checks more consistent
This platform check was lost in
60d4f0a0695f8eaf5aced2df7dfe3c191e37ae25.
2015-12-26 18:55:31 +01:00
Strangerke
dd78b9208b LAB: Add hardcoded data for cumbs images 2015-12-26 17:11:39 +01:00
Willem Jan Palenstijn
33ed5af212 LAB: Remove type ConstDataPtr, add consts 2015-12-26 15:14:37 +01:00
Willem Jan Palenstijn
01d99d213d LAB: Reduce passing around of pointers to the near-global _closeDataPtr 2015-12-26 14:18:44 +01:00
Willem Jan Palenstijn
e3ce65cce8 LAB: Reduce passing around of pointers to the near-global _closeDataPtr 2015-12-26 14:04:39 +01:00
Willem Jan Palenstijn
6daf92cbf4 LAB: Reduce passing around of pointers to the near-global _closeDataPtr 2015-12-26 13:58:07 +01:00
Filippos Karapetis
7f2b69b75c LAB: Rename fromCrumbs() to processEvent() and simplify it a bit 2015-12-25 14:12:06 +02:00
Willem Jan Palenstijn
23ace32e09 LAB: Simplify tab handling 2015-12-25 11:20:03 +01:00
Willem Jan Palenstijn
f2194d595d Merge branch 'master' of github.com:scummvm/scummvm 2015-12-24 20:29:58 +01:00
Willem Jan Palenstijn
0d97d1af82 LAB: Avoid manual memory management of CloseData 2015-12-24 20:28:57 +01:00
Filippos Karapetis
92bc524984 LAB: Rename kMessageDeltaMove to kMessageMoveCursorToCloseup 2015-12-24 19:44:42 +02:00
Filippos Karapetis
a5553b3197 Use Common::Keycode and enums in interface buttons 2015-12-24 19:12:02 +02:00
Filippos Karapetis
19303c49cf LAB: Rename closeFont() to freeFont() 2015-12-24 18:30:54 +02:00
Filippos Karapetis
3097ac8f1e LAB: Change condition defines into an enum 2015-12-24 12:36:26 +02:00
Strangerke
f4bc3c0ab4 LAB: Rename main intro function 2015-12-24 01:47:53 +01:00
Strangerke
0bf89c1eec LAB: Cleanup the way shouldQuit is called 2015-12-24 01:21:40 +01:00
Filippos Karapetis
9d7a2f4e7f LAB: Fix usage of drawMessage() with empty messages 2015-12-23 23:01:17 +02:00
Filippos Karapetis
70ec11d260 LAB: Change the direction and map door defines into enums 2015-12-23 22:59:59 +02:00
Filippos Karapetis
f9641a6d66 LAB: Show a more descriptive message when save/restore is aborted 2015-12-23 21:43:17 +01:00