Commit Graph
111291 Commits
Author SHA1 Message Date
Martin Gerhardy 329e60ea56 TWINE: minor cleanup 2020-11-05 18:56:07 +01:00
Martin Gerhardy 590660655d TWINE: extracted into own methods 2020-11-05 18:56:07 +01:00
Martin Gerhardy 763b99e189 TWINE: added macro to check if the current actor is the hero 2020-11-05 18:56:07 +01:00
Martin Gerhardy aeb8730151 TWINE: endian safe parsing of grid entries 2020-11-05 18:56:07 +01:00
Martin Gerhardy 0023dfd5ea TWINE: prepare to use memstreams 2020-11-05 18:56:07 +01:00
Martin Gerhardy e513d7de5c TWINE: add resource sizes for sprites 2020-11-05 18:56:07 +01:00
Martin Gerhardy 7079d6d49b TWINE: fixed endian issues in grid data parsing 2020-11-05 18:56:07 +01:00
Martin Gerhardy 936cee63d6 TWINE: fixed endianess issue in hqr loading 2020-11-05 18:56:07 +01:00
Paul Gilbert e2fb4558f5 GLK: COMPREHEND: Add OO-Topos title screen 2020-11-04 20:09:06 -08:00
mdenizdemirci c18b55595a I18N: Update translation (Turkish)
Currently translated at 12.9% (193 of 1490 strings)
2020-11-05 00:43:58 +00:00
Mathias Parnaudeau 10b88aae66 GRIM: Fix alloc-dealloc mismatch in grim engine
A previous fix in ResidualVM changed 2 calls to free() into delete
operators because scumm_strdup() was using the new operator.
Later scumm_strdup() switched to malloc() to be aligned with strdup()
function. So move back to free().
2020-11-04 23:06:46 +00:00
Zvika Haramaty 606eeae46f COMMON: move convertBiDiString out of TranslationManager 2020-11-04 22:27:24 +00:00
Zvika Haramaty 542a3378d3 I18N: Always call BiDi algorithm for U32String
U32String can contain characters from all languages, without relation
to the GUI's language. Therefore, we need to always call it.

Use case:
In Hebrew SQ3, when using the game's original save/restore dialogs, it's
possible to give save games Hebrew names.
What happens when we then use ScummVM's load dialog?
- If ScummVM's GUI language is Hebrew, it's calling BiDI algo, and
  the text direction is OK.
- However, if ScummVM's GUI language is English, before this commit it
  didn't call the BiDI algo, and the text was reversed.
2020-11-04 22:27:24 +00:00
Thierry Crozat 2d64cba73a GRAPHICS: Remove unused function
This was a left over from GUI conversion to U32String.
2020-11-04 22:25:43 +00:00
Martin Gerhardy f388a14ad6 TWINE: fixed max value for getRandomNumber
the value was off-by-one causing all kind of weird errors in the game. E.g.
the first scene didn't drop a key each time.
2020-11-04 22:46:17 +01:00
Martin Gerhardy 3142218801 TWINE: fixed missing 0-byte at the end of the fla movie string 2020-11-04 22:46:17 +01:00
Bartosz Gentkowski 24e3b6096e DOXYGEN: Doxygen improvements part 3
Editing doxygen comments in files:

- debug.h
- dialogs.h
- encoding.h
- endian.h
- error.h
- events.h
- fft.h
- file.h
- frac.h
- fs.h
- gui_options.h
- hash-ptr.h
- hashmap.h
- huffman.h
- ini-file.h

Plus some small changes in the config file.
2020-11-04 19:42:34 +00:00
Martin Gerhardy 61ee3a1ec5 TWINE: doxygen 2020-11-04 20:24:17 +01:00
Martin Gerhardy 556c5a0a86 TWINE: reduced visibility 2020-11-04 20:22:59 +01:00
Martin Gerhardy b14b0c1a13 TWINE: tweaked rendering the playername 2020-11-04 20:22:59 +01:00
Paul Gilbert 04c6113655 NUVIE: Cleanup of FMTowns decoder convertSample method 2020-11-03 20:44:54 -08:00
Paul Gilbert 826ad134ec NUVIE: Further fixes and cleanup for U6 FM-Towns loading 2020-11-03 19:41:52 -08:00
Eugene Sandulenko b855b690e5 GUI: Fix memory overrun 2020-11-03 23:47:23 +01:00
Martin Gerhardy 869d57f042 TWINE: converted the life script parsing to endian safe MemorySeekableReadWriteStream 2020-11-03 22:33:21 +01:00
Martin Gerhardy b89ed87578 TWINE: renamed script context classes
for whatever reason this caused a segfault in the life script when using the same names
2020-11-03 22:29:51 +01:00
Martin Gerhardy 8e341f12b9 TWINE: additional sanity check 2020-11-03 22:12:00 +01:00
Martin Gerhardy a45fa2d1b8 TWINE: prepare to move the life script parsing to stream 2020-11-03 20:19:33 +01:00
Martin Gerhardy d2d49d398c TWINE: replaced magic number with constant and leave a todo comment 2020-11-03 20:12:15 +01:00
Martin Gerhardy 15cb01c18c TWINE: fixed memory leak in holomap location loading 2020-11-03 20:09:31 +01:00
Eugene Sandulenko 75a09f56fc I18N: Update translation (Ukrainian)
Currently translated at 100.0% (1490 of 1490 strings)
2020-11-03 18:43:57 +00:00
Martin Gerhardy 92b68a1132 TWINE: cleanup in debug window 2020-11-03 18:29:37 +01:00
Martin Gerhardy cf8e7339d0 TWINE: implemented drawText for debug window 2020-11-03 18:29:37 +01:00
Martin Gerhardy 3f6828a7a4 TWINE: allow to activate debug options via console 2020-11-03 18:29:37 +01:00
Martin Gerhardy 0488fe67c4 TWINE: reduced cyclic complexity 2020-11-03 18:29:37 +01:00
Martin Gerhardy 688e4a7349 TWINE: replaced magic number 2020-11-03 18:29:37 +01:00
Martin Gerhardy d66db9ad12 TWINE: started to implement holomap location loading 2020-11-03 18:29:37 +01:00
Martin Gerhardy a7f3a63454 TWINE: reduced scoped + const 2020-11-03 18:29:37 +01:00
Martin Gerhardy d3c2f7cd91 TWINE: added ScopedEngineFreeze 2020-11-03 18:29:37 +01:00
Martin Gerhardy d5e0874557 TWINE: reduced visibility 2020-11-03 18:29:36 +01:00
Martin Gerhardy f560390f7e TWINE: implement load-savegame menu
also save game loading from launcher is supported now
2020-11-03 18:29:36 +01:00
Martin Gerhardy 0a3a634daf TWINE: moved scene text bank id into scene class 2020-11-03 18:29:36 +01:00
Martin Gerhardy 7fcf6917db TWINE: hide enum 2020-11-03 18:29:36 +01:00
Martin Gerhardy df8dc9f270 TWINE: replaced magic numbers 2020-11-03 18:29:36 +01:00
Martin Gerhardy f5d3e304ec TWINE: added enum for text banks 2020-11-03 18:29:36 +01:00
Martin Gerhardy b2c114d73f TWINE: don't leave on empty name 2020-11-03 18:29:36 +01:00
Martin Gerhardy a41bf7b8ee TWINE: toggle virtual keyboard in player name menu 2020-11-03 18:29:36 +01:00
Martin Gerhardy 2e5d3977c9 TWINE: reduced memory allocations 2020-11-03 18:29:36 +01:00
Martin Gerhardy 42628c51be TWINE: return the button text - not just the id 2020-11-03 18:29:36 +01:00
Martin Gerhardy 3257107fad TWINE: refactored menu data 2020-11-03 18:29:36 +01:00
Martin Gerhardy 8e926838be TWINE: minor cleanup 2020-11-03 18:29:36 +01:00