187 Commits

Author SHA1 Message Date
Andre Heider
357299c570 substitute all time related functions, removing sci_gettime sci_get_current_time altogether.
svn-id: r38845
2009-02-24 18:31:05 +00:00
Eugene Sandulenko
a27285f117 Normalized guard #defines
svn-id: r38842
2009-02-24 15:33:40 +00:00
Walter van Niftrik
8dab4eb461 SCI: call updateScreen after every copyRectToScreen; removed internal front visual buffer
svn-id: r38839
2009-02-24 12:01:28 +00:00
Max Horn
b5df97ad2b SCI: Moved kernel.h and kdebug.h from include/ to engine/; untangled header deps some more
svn-id: r38833
2009-02-24 05:51:55 +00:00
Max Horn
1e4db221e5 SCI: Moved engines/sci/include/sci_memory.h and engines/sci/scicore/sci_memory.cpp into engines/sci/; moved macros from the header into the source file
svn-id: r38832
2009-02-24 05:39:10 +00:00
Willem Jan Palenstijn
6c3a758cf6 SCI: translate cursor's palette to global palette
svn-id: r38822
2009-02-23 23:49:11 +00:00
Willem Jan Palenstijn
4dca30cfe9 reinstate line drawing for xfact/yfact > 1
svn-id: r38821
2009-02-23 22:36:39 +00:00
Willem Jan Palenstijn
25738df2d3 SCI: reinstate pointer scaling for xfact/yfact
svn-id: r38820
2009-02-23 22:36:19 +00:00
Filippos Karapetis
e7fd931afa Replaced lineColor2 with Graphics::drawLine
svn-id: r38813
2009-02-23 09:39:09 +00:00
Filippos Karapetis
5e1ab5be9b Replaced get_uint_16() with READ_LE_UINT16()
svn-id: r38812
2009-02-23 09:03:12 +00:00
Filippos Karapetis
0c8d8b20d9 Updated comment
svn-id: r38801
2009-02-23 00:40:59 +00:00
Filippos Karapetis
db343c7287 Removed unused antialiasing code (plus, we do antialiasing at the OSystem graphics backend)
svn-id: r38800
2009-02-23 00:39:00 +00:00
Filippos Karapetis
fa16c9d386 The two hardcoded fonts, 5x8 and 6x10 were used for FreeSCI's debugger and game menu, so they can be safely removed now
svn-id: r38792
2009-02-22 20:06:25 +00:00
Max Horn
8997a45773 SCI: Replaced two uses of sci_fopen by Common::File; moved is_print_str() to the only spot it is used
svn-id: r38791
2009-02-22 19:45:53 +00:00
Jordi Vilalta Prat
b5ce8d9320 Whitespace cleanup
svn-id: r38783
2009-02-22 13:11:43 +00:00
Andre Heider
7d21acd18b replace sci_gettime in gfx/
svn-id: r38781
2009-02-22 10:20:45 +00:00
Max Horn
6f13850161 SCI: Moved include/menubar.h -> gfx/menubar.h, untangled headers some more
svn-id: r38761
2009-02-21 22:50:35 +00:00
Willem Jan Palenstijn
145d5c4493 fix hang on 64bit platforms
svn-id: r38756
2009-02-21 22:35:35 +00:00
Max Horn
8430b662a9 SCI: Changed typedef struct -> struct
svn-id: r38752
2009-02-21 22:06:42 +00:00
Andre Heider
9ce5092be4 substituted some more sci_gettime
svn-id: r38749
2009-02-21 22:00:24 +00:00
Max Horn
ff17899d8e SCI: Got rid of include/scitypes.h
svn-id: r38746
2009-02-21 21:16:41 +00:00
Max Horn
eb37789f6f SCI: Renamed include/gfx_*.h to gfx/gfx_*.h and likewise for sfx header files
svn-id: r38735
2009-02-21 19:33:01 +00:00
Max Horn
1bbde7be4e SCI: Changed decompressors to take advantage of Common::ReadStream::readUint16LE; cleanup
svn-id: r38733
2009-02-21 19:27:06 +00:00
Andre Heider
c9793552af replace sci_gettime
svn-id: r38730
2009-02-21 19:16:38 +00:00
Max Horn
b6c9b12e64 SCI: Got rid of sci_sched_yield
svn-id: r38719
2009-02-21 18:21:00 +00:00
Filippos Karapetis
426def4f44 Turned back all fprintf/exit(1) bits into error()
svn-id: r38716
2009-02-21 18:16:17 +00:00
Willem Jan Palenstijn
a0cc744aab fix translation of shift-F-keys too
svn-id: r38708
2009-02-21 17:15:26 +00:00
Willem Jan Palenstijn
dc446169ba fix translation of F-keys
svn-id: r38707
2009-02-21 17:13:05 +00:00
Joost Peters
709d98be7c GFX_ERROR messages need \n
svn-id: r38704
2009-02-21 16:07:51 +00:00
Willem Jan Palenstijn
34f90ac043 revert large parts of r38621. error() is for fatal errors and does not return. warning() is not for debugging status messages.
svn-id: r38696
2009-02-21 14:11:41 +00:00
Joost Peters
3988062776 replace #ifdef WORDS_BIGENDIAN by SCUMM_BIG_ENDIAN
svn-id: r38689
2009-02-21 12:21:15 +00:00
Paweł Kołodziejski
f582debaa9 formating
svn-id: r38686
2009-02-21 11:53:27 +00:00
Jordi Vilalta Prat
3cc6cdf719 Replaced "typedef struct _state state_t" with "struct EngineState"
svn-id: r38678
2009-02-21 10:47:56 +00:00
Oystein Eftevaag
25f7c37171 Wrapped the SCI engine in the Sci namespace.
svn-id: r38676
2009-02-21 10:23:36 +00:00
Paweł Kołodziejski
44ea796610 formating
svn-id: r38675
2009-02-21 10:05:31 +00:00
Paweł Kołodziejski
ea49575689 formating
svn-id: r38673
2009-02-21 09:44:53 +00:00
Paweł Kołodziejski
9ad232e5cf formating
svn-id: r38672
2009-02-21 09:39:10 +00:00
Paweł Kołodziejski
0d3f2573c6 formating
svn-id: r38671
2009-02-21 09:10:14 +00:00
Paweł Kołodziejski
ecf0cbe94e formating
svn-id: r38670
2009-02-21 08:56:49 +00:00
Paweł Kołodziejski
a584936568 formating
svn-id: r38669
2009-02-21 08:47:07 +00:00
Paweł Kołodziejski
328214940b formating
svn-id: r38668
2009-02-21 08:16:04 +00:00
Paweł Kołodziejski
30848dec14 formating
svn-id: r38666
2009-02-21 07:42:23 +00:00
Max Horn
7c87b4901d SCI: Use GCC_PRINTF hint to the compiler for _SCIkprintf and sciprintf; fixed tons of bad format strings
svn-id: r38660
2009-02-21 04:25:56 +00:00
Max Horn
bcb1a71052 SCI: Fixed more warnings
svn-id: r38658
2009-02-21 04:10:21 +00:00
Filippos Karapetis
65f7ba86ce Reverted #38631 and readded gfxr_interpreter_needs_multicolored_pointers - apparently, it's needed for SCI1.1 support
svn-id: r38641
2009-02-20 23:17:13 +00:00
Filippos Karapetis
1a9253bc5e Remove unused code (gfxr_interpreter_needs_multicolored_pointers)
svn-id: r38631
2009-02-20 22:19:11 +00:00
Filippos Karapetis
2ddce51a56 Changed more messages to warnings/errors
svn-id: r38621
2009-02-20 20:39:02 +00:00
Filippos Karapetis
ac716ad843 Started conversion of debug messages and debug levels to the ScummVM equivalents. Removed the "stubs" and "warnings" debug levels and replaced such kinds of messages with normal warnings
svn-id: r38617
2009-02-20 20:11:12 +00:00
Max Horn
a2aba2f18e SCI: Renamed resource_mgr_t -> ResourceManager; added remark to 'the other resource manager' that it should be renamed to GraphicsManager or so
svn-id: r38592
2009-02-20 15:24:22 +00:00
Paweł Kołodziejski
c01b069b91 missed to remove code from latest removal
svn-id: r38496
2009-02-18 19:12:13 +00:00