Commit Graph
720 Commits
Author SHA1 Message Date
Borja Lorente 1080f19995 GRAPHICS: Create wrapper namespace for MacWindowManager constants 2016-07-31 14:05:14 +02:00
Borja Lorente 941617fc38 GRAPHICS: Create wrapper namespace for MacWindow constants 2016-07-31 14:05:14 +02:00
Borja Lorente ffbc6b0c78 GRAPHICS: Create wrapper namespace for MacMenu constants 2016-07-31 14:05:14 +02:00
Borja Lorente 68b2d44a0f WAGE: Extract MacMenu 2016-07-31 14:04:48 +02:00
Borja Lorente 8a2aeeecc9 WAGE: Adapt to MacMenu namespace change 2016-07-30 10:06:14 +02:00
Borja Lorente 744034bd98 WAGE: Extract MacWindow 2016-07-30 10:06:09 +02:00
Borja Lorente 592a6defb7 WAGE: Change namespace of MacWindow 2016-07-30 09:42:49 +02:00
Borja Lorente 3d4087b9d0 WAGE: Extract MacWindowManager 2016-07-30 09:41:54 +02:00
Alexander Tkachev f50d9feee1 WAGE: Make menu items show Save/Load dialog
Default ScummVM Save/Load dialog shows up on click.
2016-07-29 17:48:23 +06:00
Eugene Sandulenko b9198d37f7 Merge pull request #793 from Tkachov/wage
WAGE: Add save/load code
2016-07-29 10:09:13 +03:00
Alexander Tkachev faed7c7973 WAGE: Fix Chr::ChrArmorType unknown identifier
It should've been `Chr` instead.
2016-07-29 11:35:36 +06:00
Alexander Tkachev a80547b206 WAGE: Refresh menus on load 2016-07-28 21:47:52 +06:00
Eugene Sandulenko a72b7ab0f7 WAGE: Fix weapons menu size 2016-07-28 16:52:31 +03:00
Alexander Tkachev a854217bd6 WAGE: Refine loadGame()
It now actually does the loading.
2016-07-28 15:21:14 +06:00
Alexander Tkachev 18476dc752 WAGE: Add loadGame() sketch 2016-07-27 21:38:10 +06:00
Alexander Tkachev a4f02c7383 WAGE: Move some code in saveGame()
Now flags, version, description and thumbnail are added in the end of
the file, thus making saves compatible with original ones.
2016-07-27 18:06:39 +06:00
Alexander Tkachev 3588351799 WAGE: Refine saveGame() once more
_resourceId is added to entities, so saveGame() can access these ids and
save them.
2016-07-27 17:51:00 +06:00
Alexander Tkachev 6b21b1f893 WAGE: Add World's _signature 2016-07-27 17:38:43 +06:00
Alexander Tkachev 5d804f379c WAGE: Refine saveGame()
Base/Current stats fix + loopNum, aim, opponentAim saving.
2016-07-27 17:27:18 +06:00
Alexander Tkachev fe1f5352aa WAGE: Refine WageEngine::saveGame()
More values are saved now, yet some are still not found.
2016-07-27 12:36:41 +06:00
Alexander Tkachev a5fc17f0b1 WAGE: Add saveGameState() sketch
Copy-pasted from asvitkine/wage-engine (on java). I've managed filling
in some values, the others are 0 for now.
2016-07-26 20:07:45 +06:00
Eugene Sandulenko 9d2a35710a JANITORIAL: Indentation fixes 2016-07-20 23:18:05 +03:00
Eugene Sandulenko a2e4157114 JANITORIAL: Fix indentation 2016-07-20 23:11:08 +03:00
Torbjörn Andersson 246d48b467 WAGE: Free memory used by loadWorld() debug code 2016-07-15 11:41:50 +02:00
Torbjörn Andersson 72269b6c9d WAGE: Fix memory leak in drawBitmap()
The 'tmp' surface was never freed when in _boundsCalculationMode.
2016-07-15 11:29:19 +02:00
Torbjörn Andersson 9284204cf6 WAGE: Free memory for buttons when dialog is destroyed 2016-07-15 11:24:05 +02:00
Eugene Sandulenko 8698df1c0a WAGE: Use # as savefile matching pattern 2016-06-08 10:19:43 +02:00
Eugene Sandulenko 531b190d59 GRAPHICS: Added FloodFill class to Surface.
Moved from WAGE engine and is using stack-based classic floodfill
implementation.
2016-06-03 00:45:56 +02:00
Eugene Sandulenko 7ffa209a79 WAGE: Initialize class variables 2016-05-02 15:19:07 +02:00
Eugene Sandulenko 7fd850c745 WAGE: Remove yet another indirect reference to WAGE engine in WM 2016-04-28 17:14:13 +02:00
Eugene Sandulenko 8b41a50766 WAGE: Compose MacMenu instead of screen copying.
This completes making Mac* classes engine-agnostic.
2016-04-28 16:45:07 +02:00
Eugene Sandulenko 859cd9d1f9 WAGE: Removed dependency of Menu on Wage::Design 2016-04-28 16:13:27 +02:00
Eugene Sandulenko 72b8f3a1c7 WAGE: Implemented menu commands as callback 2016-04-28 15:25:14 +02:00
Eugene Sandulenko 3027433b66 WAGE: Moved game-specific menu creation to gui.cpp 2016-04-28 13:43:29 +02:00
Eugene Sandulenko 6c610e7a18 WAGE: Move rest of console-related functionality to gui-console.cpp 2016-04-28 12:51:30 +02:00
Eugene Sandulenko 5fb5d7a814 WAGE: Reduce header dependency 2016-04-28 12:45:59 +02:00
Eugene Sandulenko 5fbac749e2 WAGE: Moved patterns to WindowManager 2016-04-28 12:37:03 +02:00
Eugene Sandulenko b5335ed9d4 WAGE: Moved cursor management to WM 2016-04-28 12:09:08 +02:00
Eugene Sandulenko 6998182b1f WAGE: Moved pattern and palette to WM 2016-04-28 11:28:55 +02:00
Eugene Sandulenko 367946f83b WAGE: Renamed menu.* to macmenu.* 2016-04-28 11:19:02 +02:00
Eugene Sandulenko c31e59b10c WAGE: Moved font loading to WM. wage.dat is now classicmacfonts.dat 2016-04-28 11:14:13 +02:00
Eugene Sandulenko bbd107825f WAGE: Decoupled Window class too 2016-04-28 10:22:13 +02:00
Eugene Sandulenko 137d6b9727 WAGE: More Menu class decoupling from the engine 2016-04-28 09:59:35 +02:00
Eugene Sandulenko 056767bfb9 WAGE: Fix background restoring on menu navigation 2016-04-26 19:38:06 +02:00
Eugene Sandulenko d26c12c497 WAGE: Reuse WM _screen for Menu 2016-04-26 19:35:27 +02:00
Eugene Sandulenko fab749cbe6 WAGE: More abstraction to menu rendering 2016-04-26 11:17:56 +02:00
Eugene Sandulenko 587f03fab9 WAGE: Moved menu shortcut processing to Menu class 2016-04-26 11:05:39 +02:00
Eugene Sandulenko 365f06d836 WAGE: Cleanup 2016-04-25 20:01:21 +02:00
Eugene Sandulenko 98061bdc4c WAGE: Move menu event processing to WindowManager 2016-04-25 19:54:26 +02:00
Eugene Sandulenko df6ee16631 WAGE: Moved menu rendering to WindowManager 2016-04-25 19:47:08 +02:00