Commit Graph

34532 Commits

Author SHA1 Message Date
Filippos Karapetis
cf51ef499e Plugged loads of memory leaks in the new GUI
svn-id: r45070
2009-10-14 11:29:09 +00:00
Martin Kiewitz
5da32b16c2 SCI: kDrawPic - flags is actually uint16
svn-id: r45069
2009-10-14 11:28:50 +00:00
Martin Kiewitz
d6d2b0b6bb SCI/newgui: SciGuiTransitions now gets picRect
svn-id: r45068
2009-10-14 11:23:46 +00:00
Jordi Vilalta Prat
1aa2cb8e61 Update the SVG and Moto EZX icons
svn-id: r45067
2009-10-14 11:18:13 +00:00
Martin Kiewitz
7c2eae0ca3 SCI/newgui: fixes textcode processing to get out if string ends and no ending delimiter found
svn-id: r45065
2009-10-14 10:25:06 +00:00
Martin Kiewitz
caaac0130a SCI: kDrawControl now also fixes bad rects (fixes jones/vga)
svn-id: r45064
2009-10-14 10:11:03 +00:00
Martin Kiewitz
ec25df8e23 SCI/newgui: another change to floodfill, fixes jones/vga
svn-id: r45063
2009-10-14 10:02:23 +00:00
Martin Kiewitz
947d3ab5d4 SCI/newgui: coordinates fixup for embeeded cels
svn-id: r45062
2009-10-14 09:56:11 +00:00
Martin Kiewitz
4c91ace530 SCI/newgui: support for embedded cel data < 320 pixels width. fixes jones/vga
svn-id: r45061
2009-10-14 09:46:02 +00:00
Max Horn
5ea978f63a SCI: Rename some vars (cleaning up what seems to have been caused by a blind global search & replace)
svn-id: r45060
2009-10-14 09:37:22 +00:00
Max Horn
28034ef298 SCI: Fix warning, cleanup
svn-id: r45059
2009-10-14 09:36:39 +00:00
Filippos Karapetis
d358f07254 Proper variable naming
svn-id: r45058
2009-10-14 09:32:49 +00:00
Filippos Karapetis
8570068f58 - Moved cel width and height calculation in the GUI
- Merged the engine states of the old and new GUI

svn-id: r45057
2009-10-14 09:28:58 +00:00
Nicola Mettifogo
8c17b257ea Fixed regression bug #2874229. Regression had happened in r39878, when the dialogue code was refactored.
svn-id: r45053
2009-10-14 06:12:16 +00:00
Martin Kiewitz
724e7a873a SCI/newgui: class SciGuiTransitions created
svn-id: r45051
2009-10-13 21:18:47 +00:00
Jordi Vilalta Prat
4201515d23 Patch #2878216 (AMIGAOS4: Icon updated)
svn-id: r45050
2009-10-13 21:01:27 +00:00
Max Horn
429c9eb814 SCI: Don't end warning() format strings with a newline or a period (a newline and an exclamation mark are automatically added)
svn-id: r45049
2009-10-13 20:52:05 +00:00
Max Horn
2ae08e8478 SCI: Don't save HunkTable segments
svn-id: r45048
2009-10-13 20:50:59 +00:00
Filippos Karapetis
b49d6d950b Moved some old GUI specific code from kgraphics.cpp into gui32.cpp
svn-id: r45047
2009-10-13 20:25:51 +00:00
Florian Kagerer
73fa80d940 LOL/PC-98: fixed outro
svn-id: r45046
2009-10-13 19:48:41 +00:00
Max Horn
94cd102974 PS2: Clarify licensing terms for some files
svn-id: r45045
2009-10-13 19:12:25 +00:00
Martin Kiewitz
8ccafc09a9 SCI/newgui: DrawControl type 10 is actually just a dummy in qfg1ega, we dont need to do anything. I believe some other control is responsible for the percentage box
svn-id: r45044
2009-10-13 19:08:40 +00:00
Max Horn
c59c10ac08 PS2: Replace license header on irx_imports.h by a GPL one. These files
contains trivial content and are not really 'copyrightable' anyway.

svn-id: r45043
2009-10-13 19:00:09 +00:00
Max Horn
297542345f SCI: Skip loading HunkTable segments. This fixes a silly bug that can lead to arbitrary numbers of HunkTable segments to be created by repeatedly saving and loading.
svn-id: r45042
2009-10-13 18:54:20 +00:00
Max Horn
296dd54344 SCI: Merge SegManager::alloc_Hunk into SegManager::allocateHunkEntry
svn-id: r45041
2009-10-13 18:53:50 +00:00
Max Horn
c77be11ccd SCI: cleanup
svn-id: r45040
2009-10-13 18:53:11 +00:00
Max Horn
8126f81b6f SCI: Doxygenify comments in class SfxPlayer
svn-id: r45039
2009-10-13 18:52:36 +00:00
Max Horn
8191c04056 SCI: Merge some sfx related global funcs into SfxState.
This allows us to get rid of "static SfxPlayer *s_player".

svn-id: r45038
2009-10-13 18:51:59 +00:00
Max Horn
581b819c25 BUILD: Don't set endianes & data types explicitly, rely on auto-detection
The auto-detection code *does* work for cross compilers, too. So it
should never be necessary to explicitly set _endian or type_1_byte etc..
But if for some reason this does not work correctly on your port, and
you have to re-add the explicit settings, please make sure to clearly
document this with a comment.

Note: Several ports set type_4_byte='long'. I added FIXME comments to
each code, asking porters to document the reason why 'long' must be used
instead 'int' resp. instead of the auto-detected type.

svn-id: r45037
2009-10-13 18:51:14 +00:00
Max Horn
0df369767d Revamp the way --enable-release / --enable-debug work. They are now no longer mutually exclusive. Also, ports can override whether we default to (non-)release resp. (non-)debug builds
svn-id: r45036
2009-10-13 18:50:46 +00:00
Martin Kiewitz
f5b73061e4 SCI/newgui: K_CONTROL_* renamed to SCI_CONTROLS_TYPE_*
svn-id: r45035
2009-10-13 18:49:10 +00:00
Filippos Karapetis
0b396ed37c Removed the now unused code in gfx/res_cursor.cpp
svn-id: r45034
2009-10-13 17:57:03 +00:00
Filippos Karapetis
b50d197f72 Removed some leftover cursor code
svn-id: r45033
2009-10-13 17:51:10 +00:00
Martin Kiewitz
b4a537137b SCI: stub for kDrawControl K_CONTROL_PERCENTAGE
svn-id: r45032
2009-10-13 17:50:27 +00:00
Filippos Karapetis
f9c6e77abe Removed some leftover code, fixes KQ5CD
svn-id: r45031
2009-10-13 17:22:52 +00:00
Martin Kiewitz
535873ba46 SCI/newgui: canBeHere fixed, walk-anywhere in sq3 is not possible anymore
svn-id: r45030
2009-10-13 17:17:40 +00:00
Filippos Karapetis
4e0046dd1f Merged the rest of the cursor code
svn-id: r45029
2009-10-13 17:09:32 +00:00
Filippos Karapetis
5aa1415397 Merged the cursor manipulation code - cursor views are still not done
svn-id: r45028
2009-10-13 16:22:07 +00:00
Martin Kiewitz
7cefc4cc98 SCI/newgui: kSetPort() now also supporting 7 parameters
svn-id: r45027
2009-10-13 16:18:17 +00:00
Martin Kiewitz
65ed9eac4e SCI/newgui: SciGuiAnimate header included into gui_gfx
svn-id: r45026
2009-10-13 15:57:40 +00:00
Martin Kiewitz
cc66387cc4 SCI/newgui: uncommented enum in SciGuiAnimate header
svn-id: r45025
2009-10-13 15:50:27 +00:00
Martin Kiewitz
da4a8bbca2 SCI/newgui: removed left over stuff from SciGuiGfx header
svn-id: r45024
2009-10-13 15:48:43 +00:00
Martin Kiewitz
5ca933bb76 SCI/newgui: implemented resetEngineState() in SciGuiAnimate
svn-id: r45023
2009-10-13 15:47:05 +00:00
Martin Kiewitz
0305a306ae SCI: added new files to msvc9
svn-id: r45022
2009-10-13 15:43:58 +00:00
Martin Kiewitz
f31974bc77 SCI/newgui: added new file to msvc8
svn-id: r45021
2009-10-13 15:30:37 +00:00
Martin Kiewitz
4ccfb76e3c SCI/newgui: added new file to module.mk
svn-id: r45020
2009-10-13 15:29:24 +00:00
Martin Kiewitz
050f362654 SCI/newgui: SciGuiAnimate class created
svn-id: r45019
2009-10-13 15:28:27 +00:00
Jordi Vilalta Prat
099c073605 Update the WinCE bar and the XPM images
svn-id: r45017
2009-10-13 14:50:14 +00:00
Arnaud Boutonné
dcf44e1bd8 gob detection
- Add preliminary Gobliiins 1 CD-i detection.cpp
- DOS CD is 2.01, not 1.02

svn-id: r45014
2009-10-13 14:26:42 +00:00
Jordi Vilalta Prat
ff1d2592cc Update some more icons (motomagx, gp2x, gp2xwiz and wince)
svn-id: r45011
2009-10-13 11:12:41 +00:00