Martin Kiewitz
3eebf2eb41
AGI: Increase time delay for Apple IIgs
...
It seems that either Apple IIgs ran very slowly or that its
AGI interpreter didn't do the delays as on all the other platforms.
Further investigation needed
Fixes all sorts of games running now way too fast.
2016-02-03 03:49:37 +01:00
Martin Kiewitz
9a3454393b
AGI: Remove unused initialized variable
2016-02-03 03:13:25 +01:00
Martin Kiewitz
cc55cb13d3
AGI: Remove _game.state, not needed anymore
2016-02-03 03:07:50 +01:00
Martin Kiewitz
34117170f2
AGI: Change cycle delay handling, seems to fix GR
...
Removed pollTimer()
Renamed pause() to wait()
Doing 10 msec delays instead of at least 50 msec per EventProcess
Seems to fix weird Gold Rush ingame timer issue?! bug #4147
2016-02-03 02:40:01 +01:00
Martin Kiewitz
778c1ddb69
AGI: Cycle event processing changed
...
processEvents() renamed to processScummVMEvents()
mainCycle() renamed to processAGIEvents()
have.key now sets up an inner loop and calls processAGIEvents()
to avoid any further cycle work processing
2016-02-03 02:21:07 +01:00
Martin Kiewitz
c2038e00d0
AGI: Call update screen in have.key for now
...
Some games call it in an endless loop until a key is returned
2016-02-03 01:47:26 +01:00
Martin Kiewitz
702b66a49d
AGI: Make inner loop handlers consistent
2016-02-03 01:41:32 +01:00
Martin Kiewitz
8271058a45
AGI: Implement messageBox() as inner loop
...
Also remove _game.keypress, _game.msgBoxTicks
2016-02-03 01:32:57 +01:00
Martin Kiewitz
9fecbe58a1
AGI: Remove Gold Rush workaround, no longer needed
2016-02-03 01:03:40 +01:00
Martin Kiewitz
563d890991
AGI: Fix regression of have.key changes
...
original commit 8269a94bcd
Now hopefully properly implemented.
Adjusted a few more inaccuracies
(we set v19 to 0, where we shouldn't have)
2016-02-03 00:26:35 +01:00
Martin Kiewitz
920bea0fd9
AGI: add drawCharacterOnDisplay()
2016-02-02 23:27:13 +01:00
Martin Kiewitz
5f41a09701
AGI: Remove inputMode, not needed anyore
2016-02-02 23:02:50 +01:00
Martin Kiewitz
cdc6a2f3c3
AGI: test commands cleanup
2016-02-02 22:41:01 +01:00
Martin Kiewitz
8269a94bcd
AGI: Use inner loop functionality for have.key
...
Also do it like the original interpreter did it
2016-02-02 22:26:39 +01:00
Martin Kiewitz
8a29f98c9c
AGI: Don't pause in game timer while in menus
...
Original interpreter did not do it and we paused music/sfx,
which the original interpreter also didn't do.
Shouldn't cause issues.
2016-02-02 21:28:47 +01:00
Martin Kiewitz
5cd7ad8622
AGI: code formatting
2016-02-02 20:41:11 +01:00
Filippos Karapetis
e6fbf372fb
LAB: Fix wrong glowing belt file in getInvName()
...
A regression from 4fb53ad170
2016-02-02 21:19:59 +02:00
Johannes Schickel
6778175f6d
AGI: Fix formatting.
...
This mostly enforces tabs for indentation and spaces for formatting. But also
fixes spaces on empty lines, some extra/missing spaces.
astyle + manual fixup
2016-02-02 20:15:18 +01:00
Martin Kiewitz
9ad3712aa3
AGI: Add WORKAROUND comment to "render after menu"
...
see commit 0b75bf3721
Original AGI did not do, what we are doing now
2016-02-02 19:58:55 +01:00
Eugene Sandulenko
ec36a50fa4
I18N: Regenerate translations.dat
2016-02-02 19:05:10 +01:00
Eugene Sandulenko
4cf82d63ef
I18N: Update Dutch translation. Patch #1624
2016-02-02 19:04:16 +01:00
Eugene Sandulenko
c0716fc4c3
I18N: Update Galego Translation. Patch #1623
2016-02-02 19:03:38 +01:00
Eugene Sandulenko
7a04c65933
I18N: Fixes to Russian translation. Patch #1625
2016-02-02 18:58:45 +01:00
Martin Kiewitz
223ce70eab
AGI: Don't use status row for menu mouse trigger
...
Use hardcoded first line instead
In Donald Duck the status line is at line 24, but also hidden
2016-02-02 17:47:17 +01:00
Martin Kiewitz
0b75bf3721
AGI: Render after menu, when playarea starts at 0
...
Fixes graphics glitch for Donald Duck
2016-02-02 17:44:53 +01:00
Martin Kiewitz
05a5fc1b65
AGI: mouse support for menu
2016-02-02 17:28:58 +01:00
Martin Kiewitz
604d906038
SCI: make event type, modifiers + character uint16
2016-02-02 15:07:36 +01:00
Martin Kiewitz
7635f3c73e
SCI: Make event handling helper tables static
2016-02-02 15:03:54 +01:00
Martin Kiewitz
b052ff2762
SCI: Fix comment about debugger keys
...
Was changed to Ctrl-Shift-D at some point, because a SCI game
uses Ctrl-D. Comment wasn't changed accordingly back then.
2016-02-02 12:51:25 +01:00
Martin Kiewitz
42cb01f57c
SCI: Keyboard event handling cleanup
...
Renamed "ourModifiers" to "scummVMKeyFlags"
Now also using the flags directly from the ScummVM event in case
it actually was a Keyboard event.
2016-02-02 12:47:47 +01:00
Martin Kiewitz
bc0dd6f821
SCI: Fix regression of previous keycode commit
...
7aeadba863
Thanks LordHoto for spotting it
2016-02-02 11:43:58 +01:00
Martin Kiewitz
7aeadba863
SCI: Removed ".data" from SciEvent
...
Was the ScummVM-system-Keycode, sometimes modified.
Changed Menu/Portrait/Controls32-code to use .character instead.
Cleaned up a bit of code in getScummVMEvent()
2016-02-02 11:33:40 +01:00
Eugene Sandulenko
a9511e78d1
I18N: Regenerated translations.dat
2016-02-02 11:15:05 +01:00
Eugene Sandulenko
fc96d77417
I18N: Update Russian translation
2016-02-02 11:15:05 +01:00
Eugene Sandulenko
3adc02a5ba
I18N: Update Ukrainian translation
2016-02-02 11:15:04 +01:00
Martin Kiewitz
5acce8276e
AGI: changed debug msg VGA font -> PC BIOS font
2016-02-02 11:04:08 +01:00
Martin Kiewitz
82a27a33da
SCI: fix typo in comment
2016-02-02 10:46:16 +01:00
Johannes Schickel
d88b1c9477
Merge pull request #656 from lordhoto/xdg-dirs-posix
...
POSIX: Follow XDG Base Directory Specification for User's Files
2016-02-02 09:22:41 +01:00
Johannes Schickel
7d014be0a2
NEWS: Mention switch to XDG style locations for Unix ports.
2016-02-02 09:16:40 +01:00
Johannes Schickel
687f6067f5
POSIX: Use XDG specification for default save path.
...
This is what the XDG Base Directory Specification suggests to use. We still
use ~/.scummvm as default path in case the directory exists.
This tackles an aspect of bug #6036 "POSIX: Use XDG dirs instead of HOME".
2016-02-02 09:16:40 +01:00
Johannes Schickel
2622cded72
POSIX: Move assureDirectoryExists to posix-fs{.h,.cpp}.
2016-02-02 09:16:40 +01:00
Johannes Schickel
dde89c36f5
POSIX: Move default config file location to '$XDG_CONFIG_HOME/scummvm/scummvm.ini'.
...
This is what the XDG Base Directory Specification suggests to use. We still
use the old location of '~/.scummvmrc' in case that is present.
This tackles an aspect of bug #6036 "POSIX: Use XDG dirs instead of HOME".
2016-02-02 09:16:40 +01:00
Johannes Schickel
79acfd28e9
POSIX: Use modern path for log file.
...
This makes use use the XDG Base Directory Specification for the log file path.
This tackles one part of bug #6036 "POSIX: Use XDG dirs instead of HOME".
2016-02-02 09:16:40 +01:00
Johannes Schickel
b4e360188f
POSIX: Restructure code in OSystem_POSIX::createLogFile.
2016-02-02 09:16:40 +01:00
Johannes Schickel
589c3046aa
POSIX: Make assureDirectoryExists create full path if needed.
...
This is kind of like 'mkdir -p' now. But the permissions are different from
standard POSIX behavior.
2016-02-02 08:45:58 +01:00
Johannes Schickel
d8394d3f77
POSIX: Factor directory creation code into its own function.
2016-02-02 08:45:58 +01:00
Tarek Soliman
be2af06131
MAEMO: Update debian/changelog
2016-02-01 22:40:48 -06:00
Willem Jan Palenstijn
658306d005
Merge pull request #659 from wjp/sword25_loading
...
SWORD25: Use more appropriate function for growing the stack
2016-02-02 02:17:43 +01:00
Willem Jan Palenstijn
ad688f9d6f
SWORD25: Remove now unused function
2016-02-02 02:16:41 +01:00
Martin Kiewitz
59d2c4b27e
SCI: Do not pass/use .data for mouse button type
...
Also added comment about .data field. Should be renamed.
2016-02-02 02:10:43 +01:00