Commit Graph
129 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
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
Eugene Sandulenko dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Filippos Karapetis b2ec7acbf7 LAB: Fix waiting for sounds embedded in animations
A regression of 75d1385c8d
2016-05-17 11:22:27 +03:00
Bendegúz 82e73c38fc LAB: Process events during ending sequence
LAB: Fix bug #7022 - Events not processed during ending sequence
2016-03-05 15:33:34 +01:00
Willem Jan Palenstijn 727ba4f2b1 LAB: Fix loading rules from room 0
Regression from cd3ebf687c.

This fixes bug #6997.
2016-02-02 00:18:34 +01:00
Strangerke 75d1385c8d LAB: Wait for the end of sound effects when they are played in Diff files. Fixes toilet noises. 2016-01-25 01:11:51 +01:00
Filippos Karapetis b61ade788e LAB: Call checkRoomMusic() when changing a room 2016-01-14 23:41:33 +02:00
Filippos Karapetis 7aafcaca1a LAB: Move music reset code into a separate function 2016-01-14 23:41:28 +02:00
Filippos Karapetis c5f5fbc208 LAB: Refactor the music code 2015-12-27 21:16:43 +02:00
Filippos Karapetis 29342b1331 LAB: Document usage of some opcodes and mark some unused ones 2015-12-27 21:13:09 +02:00
Filippos Karapetis bce260bb5f LAB: Get rid of _doReset
This resulted in calling resetMusic() twice
2015-12-27 14:36:00 +02:00
Willem Jan Palenstijn 33ed5af212 LAB: Remove type ConstDataPtr, add consts 2015-12-26 15:14:37 +01:00
Willem Jan Palenstijn ae519716a2 Merge branch 'master' of github.com:scummvm/scummvm 2015-12-26 14:20:15 +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 f72de724e9 LAB: Reduce passing around of pointers to the near-global _closeDataPtr 2015-12-26 14:07:46 +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 d1b5d41005 LAB: Clean up sound effect looping, starting and stopping code 2015-12-26 12:45:48 +02:00
Filippos Karapetis c9b103b2db LAB: Use friendlier names for lists 2015-12-25 14:12:05 +02:00
Willem Jan Palenstijn 23ace32e09 LAB: Simplify tab handling 2015-12-25 11:20:03 +01:00
Willem Jan Palenstijn da2074146f LAB: Make tab behave more logically
When skipping to the next closeup, it seems to make little sense to
check the _graphicName of the current one.
2015-12-24 20:28:57 +01:00
Willem Jan Palenstijn 0d97d1af82 LAB: Avoid manual memory management of CloseData 2015-12-24 20:28:57 +01:00
Willem Jan Palenstijn 1a1525a155 LAB: Avoid manual memory management of ViewData 2015-12-24 20:28:57 +01:00
Willem Jan Palenstijn cd3ebf687c LAB: Avoid manual memory management of RuleList 2015-12-24 20:28:57 +01:00
Willem Jan Palenstijn b614ccc2e8 LAB: Avoid manual memory management in Action lists 2015-12-24 17:42:40 +01:00
Filippos Karapetis 35f53bb522 LAB: Error out on unused opcodes
This also fixes a warning
2015-12-23 23:07:40 +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 29d85c8d50 LAB: Use int in for loops, instead of uint16 2015-12-23 21:43:17 +01:00
Strangerke 34b59256fc LAB: Replace g_system by _system 2015-12-23 21:43:16 +01:00
Filippos Karapetis 9d53245f73 LAB: Get rid of _waitTillFinished
There is no point waiting for looping sound effects to end
2015-12-23 21:43:16 +01:00
Filippos Karapetis f7395ba0ab LAB: Rewrite the action message functionality (_doNotShowMessage) 2015-12-23 21:43:16 +01:00
Filippos Karapetis ced5b677f6 LAB: Add enums for action types, rule types ad rule actions 2015-12-23 21:35:35 +01:00
Filippos Karapetis f59ccf534c LAB: Get rid of the _doNotDrawMessage hack (from the original)
This is actually a nasty hack in the original to avoid duplicate
messages, but it ended up hiding some game messages. This hack isn't
really necessary at all for game functionality, so it has been
removed, without any notable side-effects
2015-12-23 21:35:35 +01:00
Strangerke be4c436dca LAB: Move event update functions out of updateMusic 2015-12-23 21:35:34 +01:00
Strangerke 7380ddf400 LAB: Change RuleList to a Common::List<Rule> as suggested by wjp 2015-12-23 21:35:34 +01:00
Strangerke 137e12bf95 LAB: Fix regression in intro 2015-12-23 21:35:33 +01:00
Strangerke fa222f0ca8 LAB: Make string check more readable, remove a useless c_str() 2015-12-23 21:35:32 +01:00
Strangerke cff1f99b26 LAB: Set a default to the second parameter of readPict 2015-12-23 21:35:32 +01:00
Strangerke 4dfc428bac LAB: Some cleanup and refactoring 2015-12-23 21:35:32 +01:00
Strangerke feeaf09486 LAB: Use rectScale in two other places 2015-12-23 21:35:32 +01:00
Strangerke 6981d750ea LAB: Fix a bug pointed out by wjp in getObject 2015-12-23 21:35:31 +01:00
Strangerke ae9c2fea51 LAB: Replace char* by Common::String in several functions 2015-12-23 21:35:31 +01:00
Strangerke a4d3bda5c1 LAB: Use an array of Common::Strings instead of bytes in Action 2015-12-23 21:35:31 +01:00
Strangerke 28c74aed05 LAB: More work on the comments 2015-12-23 21:35:30 +01:00
Strangerke b9326e3850 LAB: Refactor some DispMan functions to use Common::String 2015-12-23 21:35:30 +01:00
Strangerke 7f5826cfcb LAB: Fix check of ending animation, some renaming 2015-12-23 21:35:30 +01:00