1154 Commits

Author SHA1 Message Date
Eugene Sandulenko
44b9e139c2 XEEN: Rename enum constants to avoid clashes and fix compilation 2021-01-01 01:35:42 +01:00
Eugene Sandulenko
e471116fa8 XEEN: Fix compilation 2021-01-01 01:15:28 +01:00
Jonathan Phénix
60abac9576 XEEN: Added class Stream to simplify SoundDriver::execute
The current version was complex enough to confuse Codacy.
2020-12-28 15:11:50 -10:00
Jonathan Phénix
2abfd5c71e XEEN: Deleted member SoundDriver::_exclude7
It's always false and makes the code unnecessarily more complex.
2020-12-28 15:11:50 -10:00
Jonathan Phénix
bb0f6a8cc0 XEEN: please_wait.cpp: Fix Codacy issue 2020-12-28 15:11:50 -10:00
Jonathan Phénix
ac6220b663 XEEN: sound.cpp: Fix Codacy issues 2020-12-28 15:11:50 -10:00
Jonathan Phénix
cdd9aa483d XEEN: dialogs_query.cpp: Fix Codacy issues 2020-12-28 15:11:50 -10:00
Jonathan Phénix
7bc15237f3 XEEN: debugger.cpp: Fix issues found by Codacy 2020-12-28 15:11:50 -10:00
Jonathan Phénix
38d04decf4 XEEN: debugger.cpp: Simplify to fix Codacy false positive 2020-12-28 15:11:50 -10:00
Jonathan Phénix
4ede7a43c5 XEEN: files.cpp: Fix issues found by Codacy 2020-12-28 15:11:50 -10:00
trembyle
fd6e776ea5 XEEN: Detect Chinese variants 2020-12-07 01:35:53 +01:00
Eugene Sandulenko
a865703d0b XEEN: Added detection for Russian fan translation of cloudofxeen. More work is needed 2020-12-06 19:53:16 +01:00
Cameron Cawley
4ced49acd4 ENGINES: Changed AdvancedMetaEngine::createInstance to return a Common::Error 2020-12-04 20:57:14 +00:00
Jonathan Phénix
2e4f224043 XEEN: Fix dismiss button not fully implemented 2020-12-02 18:12:58 -08:00
Paul Gilbert
0632e6231f XEEN: Fix minor mispelling of Darkside of Xeen
Thanks to Trembyle for pointing out it's only a single word
2020-12-01 19:58:27 -08:00
Jonathan Phénix
a1df8ce5f1 XEEN: Unselect char when leaving shops like original 2020-11-29 10:01:13 -08:00
Jonathan Phénix
f9eacae806 XEEN: Fix missing char selection in char info screen 2020-11-29 10:00:54 -08:00
Eugene Sandulenko
9ea38c179f XEEN: Use macros in the detection tables 2020-11-28 17:41:23 +01:00
Jonathan Phénix
921a318ab7 XEEN: Sprinkle 'static' where appropriate 2020-11-21 20:14:52 -08:00
Jonathan Phénix
2e30aa882c XEEN: Fix build warning by adding SpriteResource copy constructor 2020-11-21 20:14:52 -08:00
Jonathan Phénix
557c3cecfc XEEN: Fix signedness compares for TrainingLocation::_maxLevel 2020-11-21 20:14:52 -08:00
Eugene Sandulenko
5936026209 ALL: Clarify POTFILES, remove redundant common/translations.h includes 2020-11-10 03:03:49 +01:00
Eugene Sandulenko
7ff34bc9ec PLUGINS: MetaEngineStatic -> MetaEngineDetection 2020-10-11 23:14:39 +02:00
Eugene Sandulenko
7ea6781043 PLUGINS: PLUGIN_TYPE_METAENGINE -> PLUGIN_TYPE_ENGINE_DETECTION 2020-10-11 23:12:32 +02:00
Paul Gilbert
0c5271ebcf XEEN: Fix mouth animations in Clouds intro 2020-10-10 09:52:26 -07:00
Paul Gilbert
2a393c8333 XEEN: Tweak Clouds intro to be more like original 2020-10-09 21:33:41 -07:00
Paul Gilbert
96586504f2 XEEN: Don't show curosr during intro cutscenes 2020-10-08 21:11:36 -07:00
Paul Gilbert
759c954cf2 XEEN: Allow for screenshots in cutscenes 2020-10-08 20:28:35 -07:00
aryanrawlani28
d26bbe521c ENGINES: ALL: Finish renaming ME & AME classes
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28
a56dc094b9 ENGINES: ALL: Move detection_enums -> detection.h
- Cleans up headers quite a bit.
2020-10-03 14:56:36 +02:00
aryanrawlani28
29ceb07959 ENGINES: ALL: Revert detection submodule to be directly present in the engine directory
- DETECT_OBJS are present and added inside an engine's modules.mk file.
2020-10-03 14:56:36 +02:00
aryanrawlani28
f3b9477893 ENGINES: ALL: Add header guards for the new detection-header files. 2020-10-03 14:56:36 +02:00
aryanrawlani28
8189a05316 ENGINES: ALL: Adapt to changes for new plugins by defining a new detection module
For each engine:
- Make a new folder detection
- Move detection-related files inside the folder
- Add a new module "enginename/detection"
- Add DETECT_OBJS here
- Adjust the normal engine module to remove detect_objs
- Adjust every file for the new changes.
2020-10-03 14:56:36 +02:00
aryanrawlani28
cd87a9150e XEEN: Split detection features & adapt to new plugins. 2020-10-03 14:56:36 +02:00
Paul Gilbert
41f4e6e95a XEEN: Fix occasional border corruption during fights 2020-09-15 20:47:06 -07:00
Paul Gilbert
7451fc50d3 XEEN: Fix animation of border faces during clairvoyance 2020-09-12 20:08:07 -07:00
Paul Gilbert
d9926ba5bb XEEN: Fix attributes going negative 2020-09-12 17:57:16 -07:00
Paul Gilbert
23d15f1a1c XEEN: Fix crash reading book in Great Pyramid 2020-09-12 17:38:52 -07:00
Paul Gilbert
19f5559620 XEEN: Fix mirror destination for Dragon Tower 2020-09-12 16:38:13 -07:00
Paul Gilbert
b32adea527 XEEN: Fix U/D keys in Quests dialog 2020-09-12 15:45:27 -07: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
bd19eaa5bf GUI: U32: More code improvements in engines and misc fixes
- Xeen's GUIError now takes in U32String
- Scumm's ValueDisplayDialog takes in U32
- Mohawk's InfoDialog & PauseDialog takes in U32
- Mohawk - in riven.cpp, Some assignment fixes
- Backends -in sdl.cpp, Remove incorrect conversion from iso8859 when setting text in clipboard
- Graphics - Add u32 strings instead of decoding each piece in format
2020-08-30 14:43:41 +02:00
aryanrawlani28
e22b32abfe GUI: U32: Use Common::U32String::format where necessary and GUIError to u32
- Where necessary as in, where translated messages are used.
- GUIErrorMessage now takes in U32String
- error messages across some engines use U32Strings. they are changed because they show a message dialog.
2020-08-30 14:43:41 +02:00
Eugene Sandulenko
ac6932bd89 I18N: Added missing files to POTFILES 2020-08-27 20:26:45 +02:00
Jonathan Phénix
8e8f94b5bb XEEN: Prevent reduced font display in quick ref
This can currently happen if you go in any character screen and click
on "Resistances" and then consult "Quick Ref".
2020-07-11 18:39:43 -07:00
Jonathan Phénix
d62c667ca7 XEEN: Fix typo and improve comment 2020-07-06 18:46:09 -07:00
Jonathan Phénix
e01ce5ed73 XEEN: Delete unused items.cpp file 2020-06-20 15:24:10 -07:00
Paul Gilbert
61593a0a9f XEEN: Do auto-capitalization of input text like original
Thanks to FrostyHitoshura
2020-06-20 09:27:47 -07:00
Jonathan Phénix
9ace55fa8d XEEN: Display actual Warzone Wins instead of a hardcoded value 2020-06-14 15:30:51 -07:00
Jonathan Phénix
54de4a0071 XEEN: Fix crash when accessing character stats with keyboard 2020-06-13 15:50:33 -07:00