Commit Graph

43116 Commits

Author SHA1 Message Date
Martin Kiewitz
1ac8533b1f SCI32: Fix save patching for ScummVM dialog
- Patch game super object for saving instead of game object
- Remove re-adding planes+screen items, game::replay does that
We would only have to do that for soft-failing on restore
- Change debug levels of kNumLoops/kNumCels to 9
- Add special comment about -info- selector in syncWithScripts()

This should now make ScummVM menu saving work properly at
least in SQ6.
2016-02-21 20:33:17 +01:00
Martin Kiewitz
210a6b10ac SCI32: Add comment about SQ6's option plane 2016-02-21 17:30:25 +01:00
Martin Kiewitz
3e4efdbd27 SCI32: Implement syncing planes+screen items from VM for restore
Fixes restoring saved games, when ScummVM dialogs are patched in
Removing clearing planes+screen items as well, because the scripts
actually did that, but did not clear everything.
Fixes "Invalid screen item" message when entering options menu,
after restoring in SQ6.
2016-02-21 17:21:48 +01:00
Colin Snover
0abd5b5c4e SCI: Use nullptr instead of 0 for null pointer checks 2016-02-21 09:32:34 -06:00
Martin Kiewitz
7b9c15634f SCI32: Use debugC instead of debugCN for debug output 2016-02-21 14:20:11 +01:00
Martin Kiewitz
edd1efb049 SCI32: Add debug output to Add/Update/DeleteScreenItem+Planes
debugflag Graphics
level 6 for Add+Delete
level 7 for Update
2016-02-21 14:14:11 +01:00
Martin Kiewitz
0941dcdb67 SCI32: Add a bit more debug info to errors + screenitems 2016-02-21 13:59:17 +01:00
Martin Kiewitz
51256ab7bb SCI: Add script patch for Laura Bow 1 easter egg
Fixes view-loop for PC version
2016-02-21 13:06:37 +01:00
Willem Jan Palenstijn
26a5efe6e8 SCI: Fix redrawAll updating visiblePlanes
It was comparing ScreenItem*'s directly, instead of objects.
2016-02-21 12:52:25 +01:00
Willem Jan Palenstijn
3c3b7ec13d SCI: Skip NULL entries in FindByObject
Lists can contain gaps if they're searched before Pack() is called.
2016-02-21 12:51:31 +01:00
Willem Jan Palenstijn
748b7684b2 SCI: Clear visible planes in GfxFrameout::clear() too
This caused planes and visibleplanes to go out of sync when loading.
2016-02-21 01:45:28 +01:00
Filippos Karapetis
b6f84d37b3 SCI: Fix showStyle check in palMorphFrameOut() - thanks snover 2016-02-20 23:28:41 +02:00
Thierry Crozat
849f4f2d49 CGE2: Add events.cpp to POTFILE 2016-02-20 21:24:49 +00:00
Thierry Crozat
742d33d703 CGE: Add events.cpp to POTFILE 2016-02-20 21:24:38 +00:00
Thierry Crozat
7d489da5fa AVALANCHE: Add missing POTFILES 2016-02-20 21:24:14 +00:00
Thierry Crozat
5d668d13b3 HUGO: Add missing POTFILES 2016-02-20 21:24:03 +00:00
Thierry Crozat
4338b51a28 SHERLOCK: Add missing POTFILES 2016-02-20 21:23:51 +00:00
Thierry Crozat
76e1f36ae9 TOON: Add missing POTFILES 2016-02-20 21:23:40 +00:00
Thierry Crozat
181c12ba8f PARALLACTION: Translate buttons in load and save dialogs. 2016-02-20 21:08:34 +00:00
Thierry Crozat
41ff2a9f02 TOON: Translate buttons in load and save dialogs. 2016-02-20 21:08:34 +00:00
Thierry Crozat
79bfe91bfe HUGO: Translate buttons in load and save dialogs. 2016-02-20 21:08:34 +00:00
Thierry Crozat
369d23dc3f CGE2: Translate buttons in load and save dialogs. 2016-02-20 21:08:34 +00:00
Thierry Crozat
245afb1fcb CGE: Translate buttons in load and save dialogs. 2016-02-20 21:08:34 +00:00
Thierry Crozat
9769dc24c7 AVALANCHE: Translate buttons in load and save dialogs. 2016-02-20 21:08:34 +00:00
Eugene Sandulenko
29670a1a1e QUEEN: Added detection for Russian Floppy 2016-02-20 19:27:02 +01:00
Colin Snover
b804483e5e SCI: Fix missing whitespace causing create_project errors 2016-02-20 10:36:48 -06:00
Martin Kiewitz
a1246901ee SCI32: Change kAddLine to use kStubNull b/c signatures 2016-02-20 16:27:59 +01:00
Martin Kiewitz
dda637e7ac SCI32: kIsOnMe apply scaling + use mulru() thx snover 2016-02-20 16:15:01 +01:00
Filippos Karapetis
9cb7caeb24 SCI: Fix a regression in the fallback detector. Some cleanup
Removed the superfluous initForDetection() function, which was not
updated in commit 2f17ba2b0a and
caused the fallback detector to crash because of uninitialized
variables
2016-02-20 16:56:08 +02:00
Martin Kiewitz
ed251ea004 SCI32: kIsOnMe searches _visiblePlanes, not just _planes
Forgot to mention that in last commit
2016-02-20 15:47:53 +01:00
Martin Kiewitz
5425ff6e99 SCI32: Splitting up GfxFrameout::kernelIsOnMe() into 2 methods 2016-02-20 15:46:12 +01:00
Martin Kiewitz
4ad1bbf108 AGI: Add detection for fan games with broken volume bug #7035
Plenty of fan games set volume to mute, because they thought 15
would be loudest. It's in fact "mute" in AGI. Those games were
made primarily for PC AGI, which did not use the volume setting.
We do, so such games would get muted audio. We try to detect
such games. Hopefully fully fixes bug #7035.
Too many games to try them all out.
2016-02-20 14:53:17 +01:00
Filippos Karapetis
62546273ca SCI: Document and disable the unverified code used in GK1 2016-02-20 15:30:40 +02:00
Filippos Karapetis
d0ef09d17a SCI: Add a more detailed explanation about kernelSetZoomZone 2016-02-20 15:30:39 +02:00
Filippos Karapetis
5a99bef4f1 SCI: Document kernelSetZoomZone() 2016-02-20 15:30:39 +02:00
Bastien Bouclet
f3265626ed MOHAWK: Fix Channelwood's opcode 129
It should only play the sound if no other is already playing
2016-02-20 14:00:59 +01:00
Bastien Bouclet
9c99f74bda MOHAWK: Remove an unneeded TODO
The original did not set the argument to wait until the foreground
sound has finished before playing the background sound, so it's fine to
play both at the same time.
2016-02-20 14:00:59 +01:00
Bastien Bouclet
23c251bac9 MOHAWK: Replace an unneeded TODO with an explanation 2016-02-20 14:00:59 +01:00
Bastien Bouclet
84841fa635 MOHAWK: Clip the videos to make sure they don't go outside of the screen 2016-02-20 14:00:59 +01:00
Bastien Bouclet
406cc5a553 MOHAWK: Default to the first card when jumping to the intro stack 2016-02-20 14:00:59 +01:00
Filippos Karapetis
988d5a2051 SCI: Add a better explanation of the visibility code used in GK1 2016-02-20 14:26:55 +02:00
Martin Kiewitz
29456da421 AGI: Added comments about Black Cauldron+KQ2, removed warning
Also removed old comments about testing needed for IIgs
Also removed warning when game speed is overwritten for IIgs,
b/c all games were tested and should run properly now.
2016-02-20 13:17:16 +01:00
Filippos Karapetis
b3b6de4fd0 SCI: Handle the "visible" object selector. Fixes the inventory in GK1 2016-02-20 13:57:11 +02:00
Filippos Karapetis
1dd7844c99 SCI: kernelSetZoomZone is a stub in Mac versions. Fixes bug #7040
Cursor handling is quite different in Mac SCI versions. Among other
changes, the screen where a zoom cursor was used in Freddy Pharkas
has been redesigned to work without such a cursor, and the relevant
zoom cursor call has been stubbed
2016-02-20 13:57:10 +02:00
Willem Jan Palenstijn
53ed7f6ac1 SCI: Rewrite Plane::mergeToRectList
The old one would continue reading from outerRect after it was deleted.
2016-02-20 12:26:54 +01:00
Martin Kiewitz
19283b94a9 SCI32: Some work on kIsOnMe
Plenty of hotspots seem to work now
Not fully done yet
2016-02-20 05:38:22 +01:00
Paul Gilbert
8706f8c288 SHERLOCK: RT: Fix violin not playing all the way through 2016-02-19 20:07:51 -05:00
Eugene Sandulenko
12fadf713d SWORD25: Fixing bug #7041: SWORD25: Crash in final scene
The original was ignoring Lua errors in that scene and was
restoring the state with longjmp.

We are yet to see the platform compatibility, but Lua's code
is too tangled to make simple replacement with error() work.

Another possible alternative would be to rework the original
game scripts. We will do it if this commit is problematic.
2016-02-19 22:42:01 +01:00
Martin Kiewitz
5b528a5582 SCI32: Make upscaled games work (e.g. gk1 hires) 2016-02-19 16:57:21 +01:00
Martin Kiewitz
327ba19d4a AGI: Comment about another artificial delay situation
Gold Rush, Stagecoach path, after solving steep hill
2016-02-19 16:24:58 +01:00
Martin Kiewitz
4a204af5b7 AGI: Fix a tiny inaccuracy in string word wrapper
Fixes one message box in Gold Rush during Stagecoach path,
that wasn't wrapped correctly.
2016-02-19 15:56:00 +01:00
Martin Kiewitz
453a8ac11d AGI: Add artificial delay for GR stagecoach path 2016-02-19 15:28:34 +01:00
Martin Kiewitz
22522196f4 AGI: Slightly change artificial delay to detect GR mule
Now also detects the text, that is shown when following your
mule in Gold Rush!
2016-02-19 12:52:19 +01:00
Martin Kiewitz
dd83d7a544 AGI: Fix comment about end.of.loop/motion 2016-02-19 10:38:24 +01:00
Martin Kiewitz
5484f0bc58 AGI: Add detection+workaround for endofloop+motion at the same time
Detects when end.of.loop + motions are used on the same screen
object at the same time, which would have resulted in flag
corruption in the original interpreter. We detect this
situation now, show a warning and disable the cycler in case
cycler was activated first.
This solves a new issue in kq1, when grabbing the eagle in room
22, that was previously hidden just like in the original AGI.
Fixes bug #7046
2016-02-19 10:34:37 +01:00
Colin Snover
1c4778d571 SCI: Minor cleanup
1. Reorder member initialisations to match class member order
2. Use #pragma mark instead of comments for annotating sections
3. Remove useless >=0 checks on unsigned types
2016-02-18 21:11:06 -06:00
Martin Kiewitz
cca9fc918f AGI: Save screen object loop_flag
loop_flag was previously vt.parm1, which was shared for multiple
uses. Was split up during graphics rewrite in commit
8a595e7771

Is indirectly part of bug #7046. Saving, restarting ScummVM and
restoring right after grabbing the eagle resulted in the glitch
not happening (which was of course an inaccuracy anyway). This
was caused by AGI currently not saving/restoring the loop_flag.
Needs to get further figured out what's exactly happening
internally and if this issue was just hidden by the shared
vt.parm1 in previous versions. If triggered, it would have
just set another pseudo-random flag on end-of-loop.
2016-02-19 02:00:35 +01:00
Filippos Karapetis
c1dacbe65d SCI: Use American English, like we do in other parts of ScummVM
This replaces "colour" to "color"
2016-02-19 02:50:16 +02:00
Filippos Karapetis
9aac0bdaaa SCI: Compare offsets in the Plane comparison operator
Fixes a crash in the first scene of Torin's Passage
2016-02-19 02:43:55 +02:00
Filippos Karapetis
52f11b1357 SCI: Use proper constification in overriden base class functions 2016-02-19 02:37:35 +02:00
Filippos Karapetis
62ae61dd22 SCI: Silence false positive warnings by MSVC 2016-02-19 02:36:12 +02:00
Colin Snover
3e820ee9b3 SCI: Fix bad positioning of relatively positioned pic cels 2016-02-18 13:18:03 -06:00
Colin Snover
5a1fa5efa1 SCI: When rewriting lookup tables, also actually record what scale they are for 2016-02-18 13:18:03 -06:00
Colin Snover
766cf6cee7 SCI: Fix too-fast rendering
Now that the renderer is loading resources without spinning CPU time
on decompression every frame, it becomes apparent that kFrameOut is
spammed constantly by the interpreter and needs to be throttled to
ensure that transitions and fades work properly.
2016-02-18 13:18:03 -06:00
Colin Snover
03e3f2c68c SCI: Fix some rect off-by-ones 2016-02-18 13:18:03 -06:00
Colin Snover
3c9b930506 SCI: Add comments to plane code 2016-02-18 13:18:03 -06:00
Colin Snover
2f17ba2b0a SCI: Increase LRU resource cache for SCI32 games
A single picture in SCI32 is often larger than the 256KiB limit,
meaning that the cache is useless for these games -- which is bad,
because the renderer works directly off raw resource data so it
must be decompressed and in-cache for rendering performance to be
acceptable.
2016-02-18 13:18:03 -06:00
Colin Snover
bb82350630 SCI: Fix broken LRU debugging 2016-02-18 13:18:02 -06:00
Colin Snover
775c39102a SCI: Implement templated drawing subroutines 2016-02-18 13:18:02 -06:00
Colin Snover
2c0e64fdaf SCI: Add short-lived kSetFontRes kernel function
kSetFontRes didn't exist in SCI2, showed up in SCI2.1early,
then was replaced with kFont subop 1 in SCI2.1mid.
2016-02-18 13:18:02 -06:00
Colin Snover
20ccad80bf SCI: WIP GfxText32 code
This at least prevents SQ6 from crashing when going into the
introduction
2016-02-18 13:18:02 -06:00
Colin Snover
3bddd869ab SCI: Build kernel table for ScrollWindow and stub seen functions
Signatures in subops table are correct for length but unknown
types are marked as . instead of the correct type.
2016-02-18 13:18:02 -06:00
Colin Snover
b829e48228 SCI: Remove wrong comments in kernel.h and break apart logical sections 2016-02-18 13:18:02 -06:00
Colin Snover
37539625d7 SCI: Fix palette equality check 2016-02-18 13:18:02 -06:00
Colin Snover
75ccabc325 SCI: Implement accurate renderer architecture for SCI32 2016-02-18 13:18:02 -06:00
Eugene Sandulenko
1a542ae82c AGI: Add missed comma 2016-02-18 17:43:38 +01:00
Martin Kiewitz
ed92ccde23 AGI: Apple IIgs time delay override MH1 completed
+ Disable hide.mouse for MH1 Apple IIgs
2016-02-18 16:55:49 +01:00
Eugene Sandulenko
0d369f716e METAENGINE: Hint the compiler that we intentionally ignore pollEvents() return value 2016-02-18 10:30:35 +01:00
Eugene Sandulenko
51dca83011 WAGE: Safety check on parsing main game file 2016-02-18 10:30:34 +01:00
Eugene Sandulenko
c3bae66b56 WAGE: Plug memory leak 2016-02-18 10:30:34 +01:00
Eugene Sandulenko
b01fb9f3f3 WAGE: Plug memory leak 2016-02-18 10:30:34 +01:00
Eugene Sandulenko
a2dcddc06d WAGE: Safer string concatenation 2016-02-18 10:30:34 +01:00
Eugene Sandulenko
ab9e2fdca3 WAGE: Initialize class variables 2016-02-18 10:30:18 +01:00
Martin Kiewitz
4d85aa193c AGI: Apple IIgs time delay override KQ4 completed 2016-02-18 02:01:51 +01:00
Martin Kiewitz
736d7cd533 AGI: Make SQ2 Apple IIgs get a AGI 2.917 equivalent and not 2.936
Solves the priority issues at the end, because the set.pri.base
call is now rejected by us. The IIgs interpreter seems to feature
177 kernel calls, but the last few are not what we expect them to
be. It seems set.pri.base was discard.sound for this interpreter.
It seems it was cleaned up for kq4. That one actually uses
dynamic priority bands and it's working properly.

Fixes bug #7034
2016-02-17 21:40:37 +01:00
Eugene Sandulenko
7bbe1a94c1 WAGE: Implement sound decoder 2016-02-16 21:41:41 +01:00
Eugene Sandulenko
57449d32d4 WAGE: Moved Sound class definition to sound.h 2016-02-16 21:41:41 +01:00
Eugene Sandulenko
a1e5c5a8cc WAGE: Moved sound code stubs to sound.cpp 2016-02-16 21:41:41 +01:00
Martin Kiewitz
5c1eb40bd3 SHERLOCK: RT: Only see German Sharp-S char as printable
And not the full 0xE0 -> 0xFF range
Fixes bug #7042
2016-02-16 19:49:38 +01:00
Martin Kiewitz
a8ede10863 AGI: Added comment about artificial delay sq2 scene 2016-02-16 19:27:37 +01:00
Martin Kiewitz
591e0522b9 AGI: Set.pri.base comments added (Apple IIgs KQ3+SQ2)
For KQ3 the calls are currently blocked b/c interpreter version
For SQ2 they aren't, which causes a few priority issues at the end
2016-02-16 16:51:43 +01:00
Eugene Sandulenko
bd7ef4143d WAGE: Enable required menu items to allow game restart 2016-02-16 11:32:48 +01:00
Eugene Sandulenko
a6120d8b27 WAGE: Started post-gameover code implementation 2016-02-16 11:32:47 +01:00
Eugene Sandulenko
9b77e5c890 WAGE: Remove debug code 2016-02-16 11:32:47 +01:00
Eugene Sandulenko
2ccbfd2ede WAGE: Fix random direction choosing logic 2016-02-16 11:32:47 +01:00
Martin Kiewitz
b31990246e AGI: Added console command to disable automatic saves
Helps creating various saved games for Mixed Up Mother Goose
2016-02-16 05:36:53 +01:00
Martin Kiewitz
562649c7c0 AGI: Change how VM timer vars are handled
Instead of directly converting play time to VM timer vars,
we only adjust VM timer vars according to play time seconds delta.
This is needed for at least Mixed Up Mother Goose. The game
sets the VM "second" variable to 0 and then uses it for syncing
the text to the songs. We even adjust second calculation, so
that the timing should always be the same and not depend on
basically luck (seconds may wrap right after setting it, because
internal cycles counter is not changed).
2016-02-16 03:18:10 +01:00
Eugene Sandulenko
f8119dea7c WAGE: Added Midnight Snack and Time Bomb detection 2016-02-15 21:06:47 +01:00
Eugene Sandulenko
2753571155 WAGE: Fix input string after script execution 2016-02-15 21:06:46 +01:00
Eugene Sandulenko
f06263a1d0 WAGE: Added Magic Rings detection 2016-02-15 21:06:46 +01:00
Eugene Sandulenko
b007821d36 WAGE: Move detection tables to separate file 2016-02-15 21:06:46 +01:00
Eugene Sandulenko
6c895643aa Merge pull request #667 from a-detiste/master
JANITORIAL: Typos detected with lintian & grep
2016-02-15 18:31:50 +01:00
Alexandre Detiste
6c298e964f JANITORIAL: Typos detected with lintian & grep 2016-02-15 18:27:02 +01:00
Paul Gilbert
eef0b11feb SHERLOCK: RT: Implement saving journal to file 2016-02-14 23:51:45 -05:00
Martin Kiewitz
123b934fab SHERLOCK: RT: Replace accent char with \202 in fixed text 2016-02-15 02:29:38 +01:00
Martin Kiewitz
1bd06d88f9 SHERLOCK: RT: Make darts game properly multilingual
Hopefully all issues were caught
Also added a "wait for keypress" right after result of latest dart
throw is shown like in the original, so that dart results are
not immediately cleared.
Also added support for "1 point" instead of writing "1 points"
2016-02-15 02:26:20 +01:00
Paul Gilbert
64d40caecd SHERLOCK: RT: Fix starting different darts game modes 2016-02-14 18:10:20 -05:00
Martin Kiewitz
873ba15b66 AGI: Changes to vm var seconds heuristic (delay loop detection)
- small fix (forgot to reset the hit counter)
- rename methods
- added more information about PQ1 in comment
2016-02-14 23:05:28 +01:00
Martin Kiewitz
7b75936f56 AGI: Add heuristic to detect delay loops within scripts
And in that case poll events, delay for a few milliseconds and
update screen.
This somewhat worked before the graphics rewrite because of
a timer hack.
This one tries to detect actual inner loops.
Happens in at least Police Quest 1 when playing poker.
2016-02-14 22:43:52 +01:00
Eugene Sandulenko
aa6ae7ac35 SCUMM: Fix warning 2016-02-14 17:51:30 +01:00
Eugene Sandulenko
7d2d5e371d GOB: Fix warning 2016-02-14 17:35:09 +01:00
Eugene Sandulenko
effd02bdc1 WAGE: Fix uninit members 2016-02-14 17:33:52 +01:00
Eugene Sandulenko
bd01771720 WAGE: Fix warning 2016-02-14 17:30:13 +01:00
Eugene Sandulenko
11e03fbce2 Merge pull request #658 from sev-/wage
WAGE: New Engine
2016-02-14 17:20:25 +01:00
Eugene Sandulenko
499519fec3 WAGE: Fix int/uint comparison 2016-02-14 17:13:25 +01:00
Eugene Sandulenko
eef56e167e WAGE: Simplify savename generation code 2016-02-14 17:13:24 +01:00
Eugene Sandulenko
acdddf8ade WAGE: Simplify bitmap reading code 2016-02-14 17:13:24 +01:00
Eugene Sandulenko
9d9fefb17a WAGE: Simplify polygon reading code 2016-02-14 17:13:24 +01:00
Eugene Sandulenko
33b8a265c5 WAGE: Remove redundant check 2016-02-14 17:13:24 +01:00
Eugene Sandulenko
8e8145ef25 WAGE: Fix name in accordance with our naming conventions 2016-02-14 17:13:23 +01:00
Eugene Sandulenko
b09e70d1ca WAGE: Consistently use .empty() instead of .size() == 0 2016-02-14 17:13:23 +01:00
Eugene Sandulenko
13c979ae8f WAGE: Indentation fixes 2016-02-14 17:13:23 +01:00
Eugene Sandulenko
e83a0ce32e WAGE: Moved non-trivial method implementation to .cpp file 2016-02-14 17:13:23 +01:00
Eugene Sandulenko
eacbe42e3a WAGE: Simplify operand stringification 2016-02-14 17:13:23 +01:00
Eugene Sandulenko
e56fa50889 WAGE: Better names for constants 2016-02-14 17:13:22 +01:00
Eugene Sandulenko
e105ec8df3 WAGE: Proper name for include guard 2016-02-14 17:13:22 +01:00
Eugene Sandulenko
362557935b WAGE: Use String::clear() for emptying stings 2016-02-14 17:13:22 +01:00
Eugene Sandulenko
13da5d5376 WAGE: Renames to follow our conventions 2016-02-14 17:13:22 +01:00
Eugene Sandulenko
c0697f7f2b WAGE: const goodness 2016-02-14 17:13:21 +01:00
Eugene Sandulenko
c5a01f3f38 WAGE: Marked some methods as static, const'ness 2016-02-14 17:13:21 +01:00
Eugene Sandulenko
9c8d0352ad WAGE: Avoid potential race condition in cursor drawing code 2016-02-14 17:13:21 +01:00
Eugene Sandulenko
d91b52052d WAGE: Rename to match our naming conventions 2016-02-14 17:13:21 +01:00
Eugene Sandulenko
5e21a82c1e WAGE: Simplify code 2016-02-14 17:13:21 +01:00
Eugene Sandulenko
96cb9a620a WAGE: More const 2016-02-14 17:13:06 +01:00
Eugene Sandulenko
5cea5a4d3a WAGE: Implement Cut and Clear actions 2016-02-14 17:13:06 +01:00
Eugene Sandulenko
1b27abafdc WAGE: Skip disabled command on shortcuts 2016-02-14 17:13:06 +01:00
Eugene Sandulenko
1158987a1e WAGE: Disable Undo action after command exectution 2016-02-14 17:13:06 +01:00
Eugene Sandulenko
fcebf28fd2 WAGE: Fix behavior of the multiline paste 2016-02-14 17:13:06 +01:00
Eugene Sandulenko
1e2d292eb4 WAGE: Finally fix input text behavior 2016-02-14 17:13:05 +01:00
Eugene Sandulenko
c80bc8cbe0 WAGE: Move all console-related stuff to gui-console.cpp 2016-02-14 17:13:05 +01:00
Eugene Sandulenko
47e3fec8ea WAGE: Firther work on input improvements 2016-02-14 17:13:05 +01:00
Eugene Sandulenko
c0be640d5e WAGE: More const'ness 2016-02-14 17:13:05 +01:00
Eugene Sandulenko
a31cfff9d6 WAGE: Let compiler optimize %8's 2016-02-14 17:13:05 +01:00
Eugene Sandulenko
7dd3874a43 WAGE: Indentation fixes 2016-02-14 17:13:04 +01:00
Eugene Sandulenko
c1d548764a WAGE: Event more const 2016-02-14 17:13:04 +01:00
Eugene Sandulenko
ab9bda22b2 WAGE: Remove redundant type casts 2016-02-14 17:13:04 +01:00
Eugene Sandulenko
82fff0ab86 WAGE: Made code cleaner 2016-02-14 17:13:04 +01:00
Eugene Sandulenko
c72c92a3ef WAGE: More const'ness 2016-02-14 17:13:03 +01:00
Eugene Sandulenko
6f2c769aae WAGE: REmove redundant .gitignore 2016-02-14 17:13:03 +01:00
Eugene Sandulenko
ab20b96f60 WAGE: Improve text entry 2016-02-14 17:13:03 +01:00
Eugene Sandulenko
5e002c4fe2 GRAPHICS: Move generic primitives from WAGE engine 2016-02-14 17:13:03 +01:00
Eugene Sandulenko
1d5220ef3f WAGE: Implement Undo action 2016-02-14 17:13:03 +01:00
Eugene Sandulenko
3570e417c9 WAGE: Implement Paste action 2016-02-14 17:13:03 +01:00
Eugene Sandulenko
e56d934836 WAGE: Make keyboard shortcuts work for the Edit menu 2016-02-14 17:13:02 +01:00
Eugene Sandulenko
08b3f89b09 WAGE: Made copy command working 2016-02-14 17:13:02 +01:00
Eugene Sandulenko
fe40bb284c WAGE: Started copy command implementation 2016-02-14 17:13:02 +01:00
Eugene Sandulenko
a2e3d33a2d WAGE: Get rid of magic constants in menu code for referring menu items 2016-02-14 17:13:02 +01:00
Eugene Sandulenko
7e8c1028d3 WAGE: Implement API to enable/disable menu items 2016-02-14 17:13:02 +01:00
Eugene Sandulenko
c02c36ce88 WAGE: Implemented a way to remove selection 2016-02-14 17:13:02 +01:00
Eugene Sandulenko
06ba17395d WAGE: Fix cursors during dialogs 2016-02-14 17:13:01 +01:00
Eugene Sandulenko
8ee5d6e9d1 WAGE: Fix crash and remove debug output 2016-02-14 17:13:01 +01:00
Eugene Sandulenko
30713e4262 WAGE: Implement highlighting one line selection 2016-02-14 17:13:01 +01:00
Eugene Sandulenko
5ac2581645 WAGE: Fix text coordinate calculation 2016-02-14 17:13:01 +01:00
Eugene Sandulenko
40cdf028b3 WAGE: Fix end of selection calculation 2016-02-14 17:13:01 +01:00
Eugene Sandulenko
61dc7d5d04 WAGE: Fix regression leading to a crash 2016-02-14 17:13:01 +01:00
Eugene Sandulenko
d56590784f WAGE: Fix text end marking 2016-02-14 17:13:00 +01:00
Eugene Sandulenko
b24be406d2 WAGE: Fixes to selection highlighting 2016-02-14 17:13:00 +01:00
Eugene Sandulenko
d585719c2d WAGE: First attempt to draw partial highlights 2016-02-14 17:13:00 +01:00
Eugene Sandulenko
9d9e769b5e WAGE: Mark full lines of selected text 2016-02-14 17:13:00 +01:00
Eugene Sandulenko
b0941e247c WAGE: Hid more debug messages 2016-02-14 17:13:00 +01:00
Eugene Sandulenko
6cbd4d4749 WAGE: Hid debug message deeper 2016-02-14 17:12:59 +01:00
Eugene Sandulenko
db7d5aa218 WAGE: Removed another leftover warning 2016-02-14 17:12:59 +01:00
Eugene Sandulenko
1d0eed9cdd WAGE: Remove leftover debug message 2016-02-14 17:12:59 +01:00
Eugene Sandulenko
81fb44960f WAGE: Rename function to CamelCase 2016-02-14 17:12:59 +01:00
Eugene Sandulenko
ed3372d8bf WAGE: Fix formatting 2016-02-14 17:12:59 +01:00
Eugene Sandulenko
ed21eaef99 WAGE: Fixed typo in game name 2016-02-14 17:12:59 +01:00
Eugene Sandulenko
42793dac25 WAGE: Show warning for missing functionality 2016-02-14 17:12:58 +01:00
Eugene Sandulenko
0ab0daa1dc WAGE: Further work on console selection 2016-02-14 17:12:58 +01:00
Eugene Sandulenko
53e68cf92c WAGE: Calculate click position in text 2016-02-14 17:12:58 +01:00
Eugene Sandulenko
d812706328 WAGE: Started text selection implementation 2016-02-14 17:12:58 +01:00
Eugene Sandulenko
63ef49ec8a WAGE: Rename mouse event processor to add clarity 2016-02-14 17:12:58 +01:00
Eugene Sandulenko
52c317b842 WAGE: Make shortcuts functional 2016-02-14 17:12:58 +01:00
Eugene Sandulenko
95a3a31ee1 WAGE: Initial code for shortcuts 2016-02-14 17:12:57 +01:00
Eugene Sandulenko
9d67bd022a WAGE: Fix regression with commands menu 2016-02-14 17:12:57 +01:00
Eugene Sandulenko
0a57ac4fc9 WAGE: Remove redundant operation 2016-02-14 17:12:57 +01:00
Eugene Sandulenko
6e3cd0bcb2 WAGE: Better processing of direction abbreviations 2016-02-14 17:12:57 +01:00
Eugene Sandulenko
12f02969be WAGE: Fix crashes during direction change 2016-02-14 17:12:57 +01:00
Eugene Sandulenko
efc7bf6451 WAGE: FIx crash in amot 2016-02-14 17:12:57 +01:00
Eugene Sandulenko
e41c3c50de WAGE: Fix crash in Deep Angst, when border is beyond the screen 2016-02-14 17:12:56 +01:00
Eugene Sandulenko
cedee5b3d9 WAGE: Drop language and platform for WAGE games 2016-02-14 17:12:56 +01:00
Eugene Sandulenko
4aa7440ffd WAGE: Added Deep Angst detection 2016-02-14 17:12:56 +01:00
Eugene Sandulenko
6e91ae4b9f WAGE: Added ZikTuria detection 2016-02-14 17:12:56 +01:00
Eugene Sandulenko
3911c5c031 WAGE: Added detection for Zoony 2016-02-14 17:12:55 +01:00
Eugene Sandulenko
b44ba1b901 WAGE: Use extra as game name for generic games 2016-02-14 17:12:55 +01:00
Eugene Sandulenko
07d176cace WAGE: Put less significant games to generic target 2016-02-14 17:12:55 +01:00
Eugene Sandulenko
345effab98 WAGE: Implement WageEngine::setMenu() 2016-02-14 17:12:55 +01:00
Eugene Sandulenko
c2341f3948 WAGE: Refactor commands menu creation 2016-02-14 17:12:54 +01:00
Eugene Sandulenko
0e34bff8ab WAGE: Implement getMagicalObjects() 2016-02-14 17:12:54 +01:00
Eugene Sandulenko
da0611ec30 WAGE: Implement handleAttack() 2016-02-14 17:12:54 +01:00
Eugene Sandulenko
e226265294 WAGE: Implement attackHit() 2016-02-14 17:12:54 +01:00