Commit Graph

1268 Commits

Author SHA1 Message Date
Vicent Marti
10dff40de6 Dirty screen handling, round three.
svn-id: r33209
2008-07-22 17:39:30 +00:00
Vicent Marti
a9ab9c0189 Cleanup.
svn-id: r33201
2008-07-22 13:33:32 +00:00
Vicent Marti
daa32f77f8 Segfault in dirty rectangles is no longer a 'feature'. Fixed segfault with the last tab in config dialogs.
svn-id: r33200
2008-07-22 13:32:18 +00:00
Vicent Marti
1558fdb918 Bugfix: Segmentation fault when removing unused dirty rects.
svn-id: r33195
2008-07-22 12:07:03 +00:00
Vicent Marti
7f3b60e2da Dirty screen handling!
svn-id: r33190
2008-07-22 09:23:37 +00:00
Vicent Marti
7071a95a57 Fixed several segfaults and graphical glitches when drawing at low resolutions. Fixed dialog stack redrawing.
svn-id: r33182
2008-07-21 21:23:23 +00:00
Vicent Marti
c7b624d91e Bugfix: Rounded squares at low resolutions were not drawn.
Cleanup.

svn-id: r33179
2008-07-21 19:42:35 +00:00
Vicent Marti
0883615a23 Cleanup.
Massive documentation update. (zzzzz)

svn-id: r33177
2008-07-21 19:15:59 +00:00
Vicent Marti
8bfaacf587 Cleanup.
Fix: Scroll widget background.

svn-id: r33174
2008-07-21 16:14:06 +00:00
Vicent Marti
f218ab3a9d Milestone: Rendering pipeline is fully working. 'Yay...'
svn-id: r33172
2008-07-21 14:03:37 +00:00
Vicent Marti
89a21f1613 Valgrind fix: Invalid read/write while restoring background
svn-id: r33166
2008-07-21 09:53:06 +00:00
Vicent Marti
b7edb14e55 Fixed: Backbuffer blitting
svn-id: r33155
2008-07-20 22:49:24 +00:00
Vicent Marti
4e7b9f287e Fixed: Text/button drawing
svn-id: r33154
2008-07-20 22:23:35 +00:00
Vicent Marti
9aa07d206e Rendering pipeline. Broken WIP.
svn-id: r33152
2008-07-20 21:47:28 +00:00
Vicent Marti
b5081a02ec Changed drawdata names to a struct.
Fixed text drawing.

svn-id: r33112
2008-07-19 15:49:08 +00:00
Vicent Marti
cf3832fcce Background restoration in rendering pipeline. WIP.
svn-id: r33097
2008-07-18 16:44:42 +00:00
Vicent Marti
4645e706a8 Rendering pipeline (almost) fixed. This time for real.
svn-id: r33092
2008-07-17 21:58:43 +00:00
Vicent Marti
6214815e6e Finished tabs drawing.
Added support for dynamic parameters in the Vector Renderer.

svn-id: r33088
2008-07-17 08:36:16 +00:00
Vicent Marti
14c8d5d6c3 Stroking on tab widgets. Basic support for backcaching.
svn-id: r33084
2008-07-16 10:48:14 +00:00
Vicent Marti
47119ee8b1 Tab widget / tab drawing for the renderer. Improved text handling.
svn-id: r33076
2008-07-15 18:53:22 +00:00
Vicent Marti
b44b37d4ca More widgets.
svn-id: r33071
2008-07-15 10:50:31 +00:00
Vicent Marti
d3d34ef295 Popup widget, separator widget.
svn-id: r33059
2008-07-14 18:42:38 +00:00
Vicent Marti
23101e3dee Bugfix: Triangle AA at low resolutions.
svn-id: r33047
2008-07-13 22:25:11 +00:00
Vicent Marti
e7e7ff9b34 Bugfix of the bugfix. Rounded squares work now on all resolutions.
svn-id: r33040
2008-07-13 17:08:44 +00:00
Vicent Marti
a95c6fc76d Bugfix: Strange behaviour in rounded square corners.
svn-id: r33039
2008-07-13 16:41:44 +00:00
Vicent Marti
9a4992cc37 More widgets.
svn-id: r33029
2008-07-13 11:07:56 +00:00
Vicent Marti
4cb2b8c3c4 Improved support for graphics positioning.
More widgets.
New triangle drawing function.

svn-id: r33027
2008-07-13 10:50:57 +00:00
Vicent Marti
4539cdf218 - Better support for relative positions in Vector Renderer.
- More widgets.

svn-id: r33016
2008-07-12 18:17:11 +00:00
Vicent Marti
db932dce89 Debug widgets.
Added dialog backgrounds.

svn-id: r33011
2008-07-12 01:59:33 +00:00
Vicent Marti
e64711378e Widget backgrounds
svn-id: r33005
2008-07-11 13:25:23 +00:00
Vicent Marti
a90be07c3e Support for Vertical text alignement.
svn-id: r32995
2008-07-10 20:36:02 +00:00
Vicent Marti
e0aad7f4be Bugfix: Delayed loading of fonts
svn-id: r32993
2008-07-10 16:37:45 +00:00
Vicent Marti
ccf9368c53 Added support for Text Steps in the Vector Renderer.
svn-id: r32991
2008-07-10 15:50:44 +00:00
Sven Hesse
24a8fb1820 Fixing compilation
svn-id: r32947
2008-07-07 18:42:57 +00:00
Vicent Marti
92ef8dd750 Rendering pipeline. Bugfixes / debug widgets.
svn-id: r32946
2008-07-07 18:37:22 +00:00
Vicent Marti
9b7faedb0d Bug fixes for "judgement day" (yay).
svn-id: r32932
2008-07-06 21:38:26 +00:00
Vicent Marti
96f2d9ca18 Memory leaks.
Bug fixes.

svn-id: r32908
2008-07-04 20:05:30 +00:00
Vicent Marti
8240e5b96d Rendering pipeline. WIP.
(I see working buttons)

svn-id: r32898
2008-07-03 19:42:04 +00:00
Vicent Marti
48fd843e75 Rendering pipeline. WIP.
svn-id: r32882
2008-07-03 10:26:55 +00:00
Vicent Marti
8dbec866d6 GCC fix again, case mismatch in Linux.
svn-id: r32878
2008-07-02 18:49:58 +00:00
Vicent Marti
2d87b29058 GCC compiling fixes.
svn-id: r32877
2008-07-02 18:43:17 +00:00
Vicent Marti
d385c34dd0 InterfaceManager functionality translated into a Theme subclass "ThemeRenderer" to easen integration with the current GUI.
svn-id: r32876
2008-07-02 18:11:41 +00:00
Vicent Marti
6c85e960b2 Rendering pipeline. WIP.
svn-id: r32869
2008-07-01 15:57:30 +00:00
Vicent Marti
e44505cda4 Rendering pipeline. WIP.
svn-id: r32845
2008-06-29 19:59:16 +00:00
Vicent Marti
f1173f52a2 Changes to rendering pipeline. WIP.
svn-id: r32837
2008-06-29 12:08:53 +00:00
Vicent Marti
0e4cd6fc8e Expanded InterfaceManager API to mimic NewGUI. (WIP)
svn-id: r32831
2008-06-28 16:49:39 +00:00
Vicent Marti
3f0f7fa08b Improved support for parsing integers in the XML parser.
Bug fixes.

svn-id: r32818
2008-06-28 00:02:54 +00:00
Vicent Marti
8d696760b3 Bugfixes
svn-id: r32814
2008-06-26 23:15:34 +00:00
Vicent Marti
5534ce68a1 - MILESTONE: A widget is drawn on screen loaded straight from its XML description. Yippie.
- XMLParser: Bugfixes.
- ThemeParser: Support for default color values.

svn-id: r32808
2008-06-26 19:54:55 +00:00
Vicent Marti
0cd183b94b InterfaceManager now loads themes.
svn-id: r32800
2008-06-26 13:50:16 +00:00
Vicent Marti
73d5715a79 - XMLParser: Improved file stream support
- InterfaceManager: Config file loading/parsing added.
- ThemeParser: Fixed GCC warnings/various bugs.

svn-id: r32792
2008-06-25 22:30:28 +00:00
Vicent Marti
917b750839 XMLParser:
- Bug fixes.

ThemeParser:
- Support for palette colors.
- Expanded theme syntax.

svn-id: r32787
2008-06-25 17:56:00 +00:00
Vicent Marti
2fcbb97005 XMLParser:
- Cleanup.
- Support for file/buffer loading.

ThemeParser:
- Triangle orientation.

svn-id: r32784
2008-06-25 14:19:56 +00:00
Vicent Marti
f0e63a49e3 - Reverted getHostPlatformString() from util.cpp (Yeah, Max was right)
- XMLParser now supports streams!
- Added remaining key values for DrawStep parsing.
- XMLParser parserError() bugfixes.

svn-id: r32782
2008-06-25 11:34:58 +00:00
Vicent Marti
8caa7d3f8b Common:
- Added function to get the active host type as a string.

XMLParser: 
- Added support for ignoring keys while parsing (check documentation). Backwards compatible.
- parserError() has been revamped. Shows all kinds of detailed information regarding the error ala Python

InterfaceManager/ThemeParser:
- DrawData keys and their DrawStep subkeys are now successfully parsed and loaded into structs. That's a win.
- Bug fixes.

svn-id: r32768
2008-06-24 19:48:01 +00:00
Vicent Marti
a4b4534a66 Split ThemeParser into XMLParser and ThemeParser as child class to have a common XML Parser.
svn-id: r32734
2008-06-18 23:49:47 +00:00
Vicent Marti
42036e7fd3 Expanded parser.
Added regex support for Common::String
Changed drawstep state saving.

svn-id: r32729
2008-06-18 00:15:21 +00:00
Vicent Marti
6932c836cf Added massive parser documentation.
Some parser changes.

svn-id: r32726
2008-06-16 23:38:21 +00:00
Christopher Page
7009aae893 Fixed a problem where the function that I previously implemented, popAllCursors(), was causing the mouse cursor to disapear
svn-id: r32719
2008-06-16 18:47:32 +00:00
Vicent Marti
cb6cb1361b Code formating conventions.
Fix in test drawing code.

svn-id: r32704
2008-06-14 17:45:26 +00:00
Vicent Marti
8e2601d195 Parser fixes.
svn-id: r32703
2008-06-14 16:14:50 +00:00
Vicent Marti
d0b27cf9c6 Merged trunk into the GUI branch.
Fixed MSVS9 project files.

svn-id: r32702
2008-06-14 14:44:29 +00:00
Vicent Marti
d51a0cab3f Parser redesign. Fixed most possible overflows.
svn-id: r32697
2008-06-13 22:05:21 +00:00
Vicent Marti
04b36a12e1 Formating conventions.
Function parameter fixes.
Parser fixes.

svn-id: r32696
2008-06-13 17:47:56 +00:00
Vicent Marti
5d92e2710a Parser cleanup.
svn-id: r32691
2008-06-13 09:39:13 +00:00
Vicent Marti
e0d7301cb0 Parser update. Variable depth.
svn-id: r32690
2008-06-13 09:24:41 +00:00
Vicent Marti
ace171e22f Parser update.
svn-id: r32686
2008-06-12 23:13:58 +00:00
Vicent Marti
7a9a74691f Parser skeleton
Expanded drawing interface

svn-id: r32678
2008-06-12 19:06:37 +00:00
Vicent Marti
5dd77ea820 - Widget caching for Interface manager.
- Expanded theme Interface
- Surface blitting for VectorRenderer

svn-id: r32670
2008-06-12 11:26:11 +00:00
Christopher Page
e86a422e25 Merged revisions 32564-32565,32567-32575,32577,32579-32594,32596-32603,32605-32639,32644-32646,32648-32666 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk

svn-id: r32667
2008-06-11 17:36:21 +00:00
Max Horn
42427f9a4e Modified mass detector to not re-add already configured games (that is, if there is an existing entry with identical path, gameid, platform, language, then do not add a new one)
svn-id: r32664
2008-06-11 06:22:02 +00:00
Max Horn
fefad79249 No need to specify CaseSensitiveString_Hash explicitly anymore
svn-id: r32663
2008-06-11 06:00:56 +00:00
Vicent Marti
da6e5c4660 Another redesign on the Draw Steps. This time it's for real.
svn-id: r32647
2008-06-10 19:57:38 +00:00
Vicent Marti
29c4308c42 Changed DrawStep for dynamic surface drawing.
svn-id: r32643
2008-06-10 11:25:00 +00:00
Christopher Page
4fddafa3e6 Implemented popAllCursors() in CursorManager to ensure that all unnecessary cursors are removed from the cursor stack when returning to the launcher
svn-id: r32642
2008-06-09 23:15:17 +00:00
Vicent Marti
da757aa2ca InterfaceManager is now a singleton
svn-id: r32640
2008-06-09 21:16:26 +00:00
Vicent Marti
69694c72f6 Expanded the InterfaceManager skeleton quite a bit.
svn-id: r32604
2008-06-07 20:50:39 +00:00
Eugene Sandulenko
7f1353f39e Add dhewg to the team
svn-id: r32548
2008-06-04 20:33:45 +00:00
Johannes Schickel
73da6ab51e - Removed -Wconversion from compiler options for g++ 4.3, it's behavior has fundamently changed in g++ 4.3
- Added -Wno-empty-body and -Wno-parentheses as compiler flags for g++ 4.3 for *now* (we should think of removing -Wparentheses though)
- Fixed some warnings for g++ 4.3 (only for the engines I'm using)

svn-id: r32540
2008-06-04 17:20:25 +00:00
Vicent Marti
8a83eafbf3 Misc fixes.
Constant naming fixes.

svn-id: r32342
2008-05-28 15:03:30 +00:00
Johannes Schickel
74c458153e Cleanup.
svn-id: r32341
2008-05-28 14:37:29 +00:00
Vicent Marti
426c36992d Bugfixes: Discarded function, switch fix.
svn-id: r32340
2008-05-28 14:30:51 +00:00
Vicent Marti
119b7126b9 InterfaceManager core implemented.
svn-id: r32339
2008-05-28 14:27:22 +00:00
Jordi Vilalta Prat
2862a30dac Fixed some code formatting thanks to LordHoto
svn-id: r32275
2008-05-26 00:28:48 +00:00
Vicent Marti
862a3d575a Compilation fixes. Sorry about the mess.
svn-id: r32272
2008-05-25 17:06:10 +00:00
Eugene Sandulenko
ca51f1f247 Add InterfaceManager to makefile.
svn-id: r32268
2008-05-25 11:53:49 +00:00
Vicent Marti
a4df37e325 Interface Manager class
svn-id: r32267
2008-05-25 11:20:28 +00:00
Johannes Schickel
cc08a4953d Cleaned up engine debug level code.
svn-id: r32195
2008-05-20 16:37:32 +00:00
Max Horn
51835dac6a Include all required header files in launcher.h (should fix compilation problems in WinCE backend)
svn-id: r32141
2008-05-16 09:45:38 +00:00
Max Horn
2bb39e591f Moved the engine plugin code to engines/metaengine.h; added/clarified/corrected various Doxygen comments for the plugin system
svn-id: r32083
2008-05-13 10:41:32 +00:00
Jordi Vilalta Prat
fe58f0ee4b - Added operator-> to Plugin subclasses so they don't have to reimplement the PluginObject subclass interfaces (thanks to Fingolfin for suggesting it)
- Added the PluginSubclass template to help creating Plugin subclasses

svn-id: r32082
2008-05-13 09:30:23 +00:00
Jordi Vilalta Prat
2c9968fe80 - Added an engine plugin manager and moved engine specific functionality into it
- base/plugins.* reorganization

svn-id: r32045
2008-05-12 00:26:29 +00:00
Jordi Vilalta Prat
420d376a90 Added the option to specify the custom path for loading plugins
svn-id: r31960
2008-05-09 01:58:12 +00:00
Johannes Schickel
600ab40bca Changed all delete [] usages to delete[].
svn-id: r31927
2008-05-07 14:31:45 +00:00
Max Horn
aff41a48b8 minor tweak to the GUI double click handling code
svn-id: r31922
2008-05-07 12:12:18 +00:00
Johannes Schickel
f173041811 - moved kyra functor code to common/func.h
- adapted debugger code to use functor code from common/func.h
- adapted kyra engine to use functor code from common/func.h

svn-id: r31614
2008-04-20 15:47:11 +00:00
Filippos Karapetis
38319954d1 Credits update for the M4 and MADE engines (3/3)
svn-id: r31613
2008-04-20 15:40:17 +00:00
Eugene Sandulenko
950e9e6d44 Don't mention EPOC as deonted in bug #1939634: "Web site should not mention EPOC"
svn-id: r31470
2008-04-10 19:08:27 +00:00
Max Horn
85f8d617b0 Let mass detector add all hits, instead of only the first one
svn-id: r31307
2008-03-29 23:20:53 +00:00
Max Horn
9287ea8376 Patch #1926787: small memory leak and cleanup
svn-id: r31261
2008-03-27 11:06:29 +00:00