Commit Graph
720 Commits
Author SHA1 Message Date
Eugene Sandulenko db38a36369 WAGE: Remove redundant call 2017-08-04 21:54:20 +02:00
Eugene Sandulenko 91615eb940 WAGE: Remove now redundant input processing 2017-08-04 21:54:19 +02:00
Eugene Sandulenko b8f6ce5f00 WAGE: Remove redundant code 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 94a57f534f WAGE: Make drawInput() a noop with MacTextWindow 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 737c2e4f88 WAGE: Now we need to render newline at the end of each text 2017-08-04 21:54:19 +02:00
Eugene Sandulenko cb48575c91 WAGE: Switched console rendering to MacTextWindow 2017-08-04 21:54:19 +02:00
Eugene Sandulenko 2f5b1f08ef WAGE: Render console text in MacTextWindow 2017-08-01 10:42:22 +02:00
Eugene Sandulenko 63e9f41f4e WAGE: Simplified text adding to MacTextWindow 2017-08-01 10:42:22 +02:00
Eugene Sandulenko 8643a08350 WAGE: Properly add input text to console on Enter 2017-08-01 10:42:22 +02:00
Eugene Sandulenko 5149226255 WAGE: Started processing of input text from MacTextWindow 2017-08-01 10:42:22 +02:00
Eugene Sandulenko 15d0d12c71 WAGE: Draw cursor only when MacTextWindow is not used 2017-08-01 10:42:22 +02:00
Eugene Sandulenko e5ccc3fd55 WAGE: Correctly set font in MacTextWindow console 2017-08-01 10:42:21 +02:00
Eugene Sandulenko 042b3dc60e WAGE: Switched Console window to MacTextWindow 2017-08-01 10:42:21 +02:00
Eugene Sandulenko 6443bee147 JANITORIAL: Fix code identation 2017-08-01 10:42:21 +02:00
Eugene Sandulenko 2092c10d33 WAGE: Fix compilation with MacTextWindow enabled 2017-08-01 10:42:21 +02:00
VelocityRa 3a2ce12288 WAGE: Fix resizing and text selection bug
Revise/Simplify old optional text rendering
Set things up a bit for selected text rendering
Add MacTextWindow::clearText and MacTextWindow::setSelection
Add MacTextWindow::appendText variant that accepts a MacFont
2017-07-17 23:45:22 +02:00
VelocityRa 0f65852d2f WAGE: Experimental MacText(Window) console rendering
Currently the font specified in the constructor is not
being used, I explain why in gui.cpp, line 182.

Use the 2 defines in gui.h to specify whether:
1) The new text rendering in general is used
   (USE_NEW_TEXT_RENDERER)
2) The MacTextWindow class is used
   for rendering (USE_MACTEXTWINDOW)
2017-07-17 23:45:22 +02:00
Eugene Sandulenko 0ecaa79f08 GRAPHICS: Renamed Menu to MacMenu to avoid potential name collision 2017-01-14 13:17:38 +01:00
Eugene Sandulenko 8690fe444e WAGE: Switch menu reading to common code 2017-01-14 13:04:40 +01:00
Eugene Sandulenko 95d0477674 WAGE: Switch to the common readPascalString 2017-01-14 12:46:27 +01:00
Eugene Sandulenko ff29e5c391 WAGE: Update games status 2016-12-14 11:16:47 +01:00
rootfather b0fe56dae9 WAGE: Add POTFILES 2016-11-26 16:13:00 +01:00
Eugene Sandulenko 086963fd23 GRAPHICS: Search for font substitution for MacFonts 2016-10-07 19:42:55 +02:00
Eugene Sandulenko b2dcd1bb1e GRAPHICS: Move font-related MacGUI code to MacFontManager 2016-10-06 23:49:39 +02:00
Eugene Sandulenko f1aec5a5a2 WAGE: Fix warning 2016-09-05 08:15:29 +02:00
Eugene Sandulenko fab199d37e JANITORIAL: Make GPL headers uniform 2016-09-03 12:46:38 +02:00
Eugene Sandulenko bfbfbd3e1a Merge pull request #788 from Tkachov/cloud
ALL: Add Cloud storage support
2016-08-30 13:54:12 +02:00
Eugene Sandulenko 381e8fc51d WAGE: Fix think line drawing, as pointed by md5 2016-08-24 23:23:47 +02:00
Alexander Tkachev b665fc933d ALL: Make simpleSaveNames() a MetaEngineFeature
Added it into hasFeature() of all engines which returned `true` in
simpleSaveNames() before.

As mentioned in #788, SCI is not always using simple names, so it
doesn't have such feature now.
2016-08-24 16:07:55 +06:00
Alexander Tkachev ab1d160ec8 ALL: Add MetaEngine::simpleSaveNames()
Engines with "simple" savenames would support "Run in background" in
save/load dialog and gradual save slots unlocking. Other engines
save/load feature would be locked until save sync is over.
2016-08-24 16:07:55 +06:00
Eugene Sandulenko 78f1d707c3 WAGE: Fix warnings 2016-08-20 23:54:07 +02:00
Alexander Tkachev 18a3f5c125 WAGE: Fix crash in Brownie's Dream
I guess it would crash everywhere else as well, if console window would
be placed the same way. The problem is that console window goes off
screen a little in that game, but copyRectToScreen arguments are not
adjusted to stay within screen area.

This commit adds some checks and adjusts these arguments.
2016-08-05 14:44:31 +06:00
Alexander Tkachev 8fcc919b56 WAGE: Fix cursor
It's now being clipped within window borders.
2016-08-05 14:40:53 +06:00
Alexander Tkachev ef631c9e75 WAGE: Update saves format
Offset is added in the end of the file, so ScummVM would know where to
look for description, version, thumbnail information.
2016-08-04 15:15:45 +06:00
Eugene Sandulenko 0cccd0ddd1 GRAPHICS/WAGE: Made MacWindowManager font maping requiring font size 2016-08-03 23:39:10 +02:00
Eugene Sandulenko 7c12e80552 WAGE/GRAPHICS: Move standard Mac font mapping to gui/ 2016-08-03 17:28:15 +02:00
Borja Lorente a0bea8567b WAGE: Revert indentation 2016-08-02 08:33:50 +02:00
Borja Lorente 38f80f10f8 WAGE: Remove leftover files 2016-08-02 08:33:50 +02:00
Borja Lorente 2b586e7c59 WAGE: Fallback to built-in borders 2016-07-31 14:47:22 +02:00
Borja Lorente fafd209d04 WAGE: Remove custom borders 2016-07-31 14:45:37 +02:00
Borja Lorente 638e8e99c8 WAGE: Change GUI Scene to load BMP borders 2016-07-31 14:45:37 +02:00
Borja Lorente 1bfb1a561c WAGE: Implement active/inactive borders 2016-07-31 14:45:36 +02:00
Borja Lorente d49d573edc WAGE: Fix border loading 2016-07-31 14:05:15 +02:00
Borja Lorente 4a16f5fc39 WAGE: Begin adding borders to the windows 2016-07-31 14:05:15 +02:00
Borja Lorente 3d950ad125 WAGE: Remove superfluous comment 2016-07-31 14:05:15 +02:00
Borja Lorente 98d0838df3 WAGE: Add basic border loading code 2016-07-31 14:05:15 +02:00
Borja Lorente b8d36443f3 WAGE: Remove unnecessary border code 2016-07-31 14:05:15 +02:00
Borja Lorente 5bb5bb64f0 WAGE: Fix style issues 2016-07-31 14:05:14 +02:00
Borja Lorente b9ca6836bd WAGE: Adapt to namespace change 2016-07-31 14:05:14 +02:00
Borja Lorente 9ce6fbd0d7 GRAPHICS: Move MacMenu constants 2016-07-31 14:05:14 +02:00