Commit Graph
291 Commits
Author SHA1 Message Date
Cameron Cawley 4a1d7a1753 ULTIMA: Disable unstable subengines by default 2020-09-10 19:38:55 -07: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
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
Paul Gilbert b705a5e90e NUVIE: Fix crash whilst resting 2020-08-02 11:57:18 -07:00
mataniko 581a6ec7d6 JANITORIAL: Rename kSupportsRTL to kSupportsReturnToLauncher 2020-05-12 10:36:38 +02:00
Paul Gilbert 45771e098c ULTIMA4: Better handling of LF in vendor scripts 2020-05-11 20:32:20 -07:00
Eugene Sandulenko 771a0a01ce ULTIMA: Added override keywords 2020-05-10 14:00:05 +02:00
Matthew Duggan 09bf38c120 ULTIMA: Add missing initializers for coverity 2020-05-09 22:02:27 +09:00
Paul Gilbert 57453ad556 ULTIMA4: Fix implementation of peer action 2020-05-07 18:29:08 -07:00
Paul Gilbert d352578887 ULTIMA4: Cleanup of CombatController moveCreatures 2020-05-01 17:23:58 -07:00
jepael 7aeba38621 JANITORIAL: Fix compiler warning 2020-04-30 13:51:41 -07:00
Paul Gilbert d9a9e0f91d ULTIMA4: Extract data tables from exes into ultima.dat 2020-04-29 22:00:44 -07:00
Paul Gilbert c8fa755049 ULTIMA4: Created a ConfSerializer class to simply settings read/write 2020-04-23 18:06:25 -07:00
Paul Gilbert 6f4f4e828f ULTIMA4: Hooking up movement as keybinding actions 2020-04-12 18:54:30 -07:00
Paul Gilbert 7eca8b6c8c ULTIMA4: Skeleton beginnings of debugger & keymapper 2020-04-11 11:20:47 -07:00
Paul Gilbert 05af6bb0e4 ULTIMA4: Fix compiler warning 2020-04-09 18:00:54 -07:00
Paul Gilbert 22c6f17824 ULTIMA4: Imrpove XML whitespace handling for text 2020-04-09 18:00:54 -07:00
Paul Gilbert 7df36d7e4d ULTIMA4: Move static methods into XMLNode class 2020-04-09 18:00:54 -07:00
Paul Gilbert 129b508903 ULTIMA4: Fix defaults for XML node attribute reads 2020-04-09 18:00:54 -07:00
Paul Gilbert b633ac0010 ULTIMA4: Refactoring XML parser to handle text as separate nodes
This is needed for the vendor scripts, which have a series of
text interleaved with elements to define vendor behaviour.
The previous behaviour of having text as an optional property
on element nodes was too simplistic
2020-04-09 18:00:54 -07:00
Paul Gilbert e2b0e99539 ULTIMA4: Fix indexing of deque [] operator 2020-04-09 18:00:54 -07:00
Paul Gilbert 733e262706 ULTIMA4: Fix for handling comments as child elements
Previously, the mini-XML Parser was creating dummy nodes for
comments, rather than just properly skipping them
2020-04-09 18:00:54 -07:00
Paul Gilbert 53e17a57fd ULTIMA4: Fix parsing of sound.xml 2020-04-09 18:00:54 -07:00
Paul Gilbert f693cdc159 ULTIMA4: Refactor Script class to use shared XML parser 2020-04-09 18:00:54 -07:00
Paul Gilbert b4f185eb4d ULTIMA4: Properly implement ConfigElement reading XML properties 2020-04-09 18:00:54 -07:00
Paul Gilbert 9116dded37 ULTIMA4: Handle comment tags that have tags within their text 2020-04-09 18:00:54 -07:00
Paul Gilbert 5c2df17e30 ULTIMA4: Support loading from secondary XML files 2020-04-09 18:00:54 -07:00
Paul Gilbert 1555c0916b ULTIMA4: Add support for element attributes to XMLNode 2020-04-09 18:00:54 -07:00
Paul Gilbert 77cf21fdc6 ULTIMA4: Improving XML parser 2020-04-09 18:00:54 -07:00
Paul Gilbert 0a8ccaa03a ULTIMA4: Fix loading config.xml 2020-04-09 18:00:54 -07:00
Paul Gilbert fdc42e4feb ULTIMA4: Starting to change Config to use XMLTree 2020-04-09 18:00:54 -07:00
Paul Gilbert 521292bb4d NUVIE: Add an XMLTree constructor for loading from a passed stream 2020-04-09 18:00:54 -07:00
Paul Gilbert 419837937f NUVIE: Cleanup of XMLTree fields and method parameters 2020-04-09 18:00:54 -07:00
Paul Gilbert 9a37b504f5 NUVIE: Move XMLTree and XMLNode into a new shared/conf/ folder 2020-04-09 18:00:54 -07:00
Paul Gilbert eead5589ee ULTIMA4: Further implementation of std replacement classes 2020-04-09 18:00:54 -07:00
Paul Gilbert dd17688521 ULTIMA: Support running games using uncompressed .dat files
To make it easier to continous changes to the contents of the
ultima.dat file in the future, this development allows the
Extra Path to be set to the devtools/create_ultima folder, and
it will use the files in the files/ subfolder in preference to
the ultima.dat archive
2020-03-14 17:27:20 -07:00
Paul Gilbert 844a26e34b ULTIMA8: Fix compilation of DEBUG code 2020-02-22 11:42:21 -08:00
Paul Gilbert 16379e7856 ULTIMA8: Fixing compiler warnings 2020-02-17 21:30:36 -08:00
Paul Gilbert 91801a9c55 ULTIMA: Refactor out use of meta engine pointer 2020-02-16 15:44:28 -08:00
Paul Gilbert 8288e9579b ULTIMA: Remove autosave code 2020-02-16 15:44:28 -08:00
Paul Gilbert c811d4c658 ULTIMA: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Lothar Serra Mari d81b51a065 ULTIMA: Make OSD message regarding missing ultima.dat translateable 2020-02-15 08:27:23 +01:00
Bastien Bouclet 0888b42f15 ULTIMA: Fix getDebugger to override. 2020-02-09 13:08:23 +01:00
Bastien Bouclet aedcefea74 ULTIMA: Add override keywords 2020-02-09 12:55:00 +01:00
Eugene Sandulenko 88ce1aaed9 ULTIMA: Fix inheritance 2020-02-09 11:30:56 +01:00
Paul Gilbert 3c0be1d7a6 ULTIMA: Added skeleton debugger classes 2020-02-08 19:55:02 -08:00
Paul Gilbert 055a9effc2 ENGINES: Adding an isAutosave flag to the new saveGameStream method
This is primarily future-proofing. Many games either show a message
or do some other UI action like closing an open game menu, and
obviously that should only be done when a savegame created by the
user is done, rather than for regular autosaves. By making this a
flag, when engines override saveGameStream, they'll be able to
tell if it's an autosave, and only do UI changes if not
2020-02-04 19:05:26 -08:00
Paul Gilbert 866cc57d64 ULTIMA: Move methods for showing save/restore dialogs into Engine class 2020-02-04 19:05:26 -08:00
Eugene Sandulenko 2b17ee563c ULTIMA: Added override keywords 2020-02-02 23:15:31 +01:00
Paul Gilbert e70a114929 ULTIMA: Shared std & map comilation fixes 2020-02-01 20:10:52 -08:00