Commit Graph
26 Commits
Author SHA1 Message Date
Le Philousophe 93cdbbbf39 GLK: Don't use unsafe strcat and strcpy 2022-10-23 22:46:19 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh a05e54f00c JANITORIAL: Remove trailing whitespaces 2021-05-04 11:46:30 +03: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 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
Paul Gilbert ac7b1e326d GLK: HUGO: Properly fix display images
The resource file format Hugo uses has named entries.
Because of this, the original Glk code added to Hugo
does a whole mess of reading in a picture, then copying
it to a dummy pic file with a dummy number, just so a
call to glk_image_draw could detect it.

Since this isn't the first time I've had to deal with
named resources, it ended up being cleaner to add a new
variation of glk_image_draw and glk_image_draw_scaled
that can take in a string image parameter. That way, I
was able to set up an archive class to represent the
resource file, and pass the resource name directly
without worrying about dummy picture numbers & files
2020-08-29 13:59:52 -07:00
Paul Gilbert 397c9a0755 GLK: HUGO: Cleanup 2019-11-17 14:46:53 -08:00
Paul Gilbert b3ab0cf3ce JANITORIAL: Glk engine block formatting 2019-07-21 11:31:33 -07:00
Paul Gilbert 553bb74f8c GLK: Further changeover of sub-engines to use new savegame code 2019-06-16 14:59:26 -07:00
Paul Gilbert 0325c9315c GLK: HUGO: Support loading savegames from launcher 2019-05-15 17:12:27 -10:00
Paul Gilbert 84bd8c6b46 GLK: HUGO: Move savegame code 2019-05-15 15:47:15 -10:00
Paul Gilbert 120ea78e13 GLK: HUGO: Fix handling of parse errors
Care will really need to be taken in the future if there's
any cleanup of fields to the proper 'bool' type. Hugo
inconsistency mixes use of true/false in fields that can
take non-bool values, such as for full_buffer
2019-05-15 14:22:23 -10:00
Paul Gilbert 6cecf9c0c6 GLK: HUGO: Fix initializing object size 2019-05-15 13:56:34 -10:00
Paul Gilbert 67acfcccd6 GLK: HUGO: Fixes for startup and shutdown 2019-05-12 12:35:29 +10:00
Paul Gilbert 6b6670caf9 GLK: HUGO: Added hemedia & heres 2019-05-12 10:19:48 +10:00
Paul Gilbert 34122d2f47 GLK: HUGO: Added herun 2019-05-11 16:03:14 +10:00
Paul Gilbert 1bbfcca229 GLK: HUGO: Add heparse 2019-05-11 13:59:44 +10:00
Paul Gilbert abb7b22b2e GLK: HUGO: Add heexpr 2019-05-11 13:19:52 +10:00
Paul Gilbert 84c47349a9 GLK: HUGO: Compilation fixes 2019-05-11 13:04:00 +10:00
Paul Gilbert c1f8bd8823 GLK: HUGO: Replace contents of hemisc
Unlike initally where I was ripping out parts of the file and making
code changes, this version is intended to be more identical to the
original, except for the functions being made class methods. This
should make it easier to apply any further upstream code changes to
the codebase in the future
2019-05-11 11:11:23 +10:00
Paul Gilbert 0b2346c1f1 GLK: HUGO: Added heobject 2019-05-11 10:18:13 +10:00
Paul Gilbert 8830063635 GLK: HUGO: Added hemisc, htokens, and stringfn files 2019-05-10 12:11:06 +10:00
Paul Gilbert 2765ba9afa GLK: HUGO: Added Glk interface methods 2019-05-10 12:11:05 +10:00
Paul Gilbert 19a9b9aa31 GLK: HUGO: heglk fields & initialization 2019-05-10 12:11:05 +10:00
Paul Gilbert e3e631e297 GLK: HUGO: Added engine feilds 2019-05-10 12:11:05 +10:00
Paul Gilbert 6b75eff73c GLK: HUGO: Initial sub-engine skeleton 2019-05-10 12:11:04 +10:00