Commit Graph

34413 Commits

Author SHA1 Message Date
Filippos Karapetis
1d3118cf42 Implemented some advanced savegame functionality - loading and deleting savegames from the GMM is now possible, and new saved games will also have thumbnails. Saving from the GMM creates corrupted saved games, so it has been disabled for now
svn-id: r44930
2009-10-11 15:51:43 +00:00
Martin Kiewitz
ba9a9422b4 SCI/newgui: list control implemented
svn-id: r44929
2009-10-11 15:41:52 +00:00
Walter van Niftrik
6f553a630a SCI: Relax GetAngle() signature for KQ6.
svn-id: r44928
2009-10-11 15:32:22 +00:00
Walter van Niftrik
4a157d43b3 SCI: Implement CoordPri() with two args.
svn-id: r44927
2009-10-11 14:58:58 +00:00
Joost Peters
117dfd08ec rename shadow var
svn-id: r44926
2009-10-11 14:30:55 +00:00
Martin Kiewitz
efcfae742b SCI: kDrawControl for list and textedit controls also using gui class
svn-id: r44925
2009-10-11 14:28:20 +00:00
Joost Peters
7b493e9a60 fix new[]/delete mismatch
svn-id: r44924
2009-10-11 14:15:37 +00:00
Johannes Schickel
097d6d298d Print warning, when the number of colors in a palette file exceed the number of colors in the target palette on load.
svn-id: r44922
2009-10-11 13:54:35 +00:00
Filippos Karapetis
6d030126d7 More work on the Object class
svn-id: r44921
2009-10-11 13:46:58 +00:00
Johannes Schickel
bd6de4f642 Hopefully avoiding an assert in the MSVC debug CRT library when entering an umlaut in the launcher.
It's a bad idea to cast a parameter to the "is*" functions from ctype.h to "char",
since "char" might be signed and the "is*" functions are defined to only accept
input which fits "unsigned char" or equals EOF. In this concrete example the value
of "state.ascii" is > 0x7F, thus becomes negative after the cast to "char", which
violates the parameter rules of "isprint".

Sadly it seems this is not the only place in our code, which does pass a possibly
signed parameter to an "is*" function. We might either want to change all code to
only pass an unsigned char value, change the code to do parameter validation or
fix it in another way.

svn-id: r44920
2009-10-11 13:44:19 +00:00
Johannes Schickel
f4288516e8 Revert commits r44912 and r44905, seems like the original FM-Towns/PC98 games did only allow ASCII input, thus they didn't use the SJIS font in the save/load menus.
svn-id: r44916
2009-10-11 12:51:13 +00:00
Filippos Karapetis
7755404f52 Fixed compilation with the current GUI
svn-id: r44914
2009-10-11 12:45:40 +00:00
Martin Kiewitz
0d98fa3fe4 SCI: made kEditControl use SciGui class, not currently implemented in newgui
svn-id: r44913
2009-10-11 12:15:17 +00:00
Johannes Schickel
47988039ea Fix text input font for LoL PC98.
svn-id: r44912
2009-10-11 12:05:55 +00:00
Johannes Schickel
e90f337bd2 Fix regression introduced with r44907.
svn-id: r44911
2009-10-11 12:01:20 +00:00
Johannes Schickel
67c6e92efb Add support for 8x16 chars in the FM-Towns font ROM code.
svn-id: r44910
2009-10-11 12:00:56 +00:00
Torbjörn Andersson
65865de473 Removed unused variable.
svn-id: r44909
2009-10-11 11:59:30 +00:00
Martin Kiewitz
0353b9923d SCI/newgui: SciGuiPicture now also supports mirroring of cel-data
svn-id: r44908
2009-10-11 11:42:50 +00:00
Johannes Schickel
ea28351862 Cleanup.
svn-id: r44907
2009-10-11 11:34:30 +00:00
Johannes Schickel
6e93add43f Cleanup.
svn-id: r44906
2009-10-11 11:30:24 +00:00
Johannes Schickel
8f6e9f0bf2 Fix FM-Towns/PC98 menu code.
svn-id: r44905
2009-10-11 11:29:34 +00:00
Johannes Schickel
6492c00a3a Revert changes to graphics/sjis.h in r44709.
svn-id: r44904
2009-10-11 11:28:43 +00:00
Martin Kiewitz
353fe8ae56 SCI/newgui: SciGuiGfx::BitsFree() implemented, currently used in kAnimate, Bits-methods renamed
svn-id: r44903
2009-10-11 09:47:12 +00:00
Martin Kiewitz
236e801366 SCI/newgui: comment change on SciGui::moveCursor()
svn-id: r44902
2009-10-11 09:39:53 +00:00
Martin Kiewitz
91eee2e99a SCI: change remove script FIXME warning into comment
svn-id: r44901
2009-10-11 09:34:35 +00:00
Martin Kiewitz
e780a973d2 SCI/newgui: kDisplay restoreUnder/saveUnder implemented, fixes previously sticky text in sq1, kq5, etc.
svn-id: r44900
2009-10-11 09:31:48 +00:00
Gregory Montoir
fc77520429 TUCKER: fix original game glitch (tracker item #2872385 - Fish swims out of aquarium)
svn-id: r44899
2009-10-11 09:26:36 +00:00
Gregory Montoir
d971b0737a TUCKER: ignore selected verb when displaying options (tracker item #2872383 - Look at options)
svn-id: r44898
2009-10-11 09:25:31 +00:00
Martin Kiewitz
0b1a8dea2d SCI/newgui: kShakeScreen partially implemented
svn-id: r44897
2009-10-11 08:52:23 +00:00
Martin Kiewitz
67c7d49729 SCI/newgui: offTop changed, fixes window corruption (qfg3 and more)
svn-id: r44896
2009-10-11 08:15:25 +00:00
Willem Jan Palenstijn
76ea099d23 SCI: Remove superfluous casts; fix warning.
svn-id: r44895
2009-10-11 08:07:59 +00:00
Martin Kiewitz
4ca178e203 SCI/newgui: correction for GuiAnimateEntry struct
svn-id: r44894
2009-10-11 08:03:09 +00:00
Martin Kiewitz
e9bedf9b97 SCI/newgui: Implemented kCanBeHere list processing
svn-id: r44893
2009-10-11 07:54:20 +00:00
Martin Kiewitz
22baa64647 SCI/newgui: kAddToPic fully implemented
svn-id: r44892
2009-10-11 07:21:59 +00:00
Walter van Niftrik
f2db73e55d SCI: Fix bug in Message() recursion
svn-id: r44890
2009-10-11 03:40:11 +00:00
Walter van Niftrik
b2a148e12c SCI: Fix hang in KQ6 book worm scene
svn-id: r44889
2009-10-11 02:47:07 +00:00
Martin Kiewitz
2d3979ff6e SCI/newgui: kAnimate - list is finally sorted according to y and z
svn-id: r44888
2009-10-10 21:38:24 +00:00
Martin Kiewitz
5d0afc45c6 SCI/newgui: kAnimate now using Common::List
svn-id: r44887
2009-10-10 21:25:21 +00:00
Martin Kiewitz
cb15cdfb07 SCI/newgui: kAnimate list - showBitsFlag implemented
svn-id: r44886
2009-10-10 20:30:31 +00:00
Martin Kiewitz
dbaac9de57 SCI/newgui: kAnimate is now using a dynamic buffer that stores animation data, fixes sq5 crash
svn-id: r44885
2009-10-10 20:25:04 +00:00
Florian Kagerer
7c065c84cb LOL/PC-98: implemented drawing code for teleporters
svn-id: r44883
2009-10-10 18:45:33 +00:00
Martin Kiewitz
7f2259d280 SCI/newgui: changed GuiAnimateList struct
svn-id: r44882
2009-10-10 18:39:52 +00:00
Martin Kiewitz
0a3e03a166 SCI/newgui: removed hardcoded screen height/width
svn-id: r44881
2009-10-10 18:18:12 +00:00
Martin Kiewitz
17ee521707 SCI/newgui: intelligent cel undithering implemented
svn-id: r44880
2009-10-10 17:40:29 +00:00
Florian Kagerer
a15cf067a7 LOL/PC-98: fixed minor glitch in wsa code
svn-id: r44879
2009-10-10 17:15:10 +00:00
Filippos Karapetis
d6f5d93dbf Started rewriting the Object struct into a class
svn-id: r44878
2009-10-10 15:58:51 +00:00
Marcus Comstedt
8fd29ecf9f Fixed some warnings.
svn-id: r44877
2009-10-10 14:55:56 +00:00
Marcus Comstedt
fb4538dd2d Added flag for updating dependencies.
svn-id: r44876
2009-10-10 14:31:16 +00:00
Marcus Comstedt
6f9a4749d1 Enable RGB colour for Dreamcast.
svn-id: r44875
2009-10-10 14:30:19 +00:00
Marcus Comstedt
f517f32902 RGB support.
svn-id: r44874
2009-10-10 14:26:53 +00:00