161 Commits

Author SHA1 Message Date
Eugene Sandulenko
dead4aa014 JANITORIAL: Remove trailing spaces 2016-10-09 14:59:58 +02:00
Ori Avtalion
3564032330 JANITORIAL: Reduce audio header dependencies 2016-04-14 16:10:21 +03:00
Filippos Karapetis
afa75b7047 LAB: Separate the interface from the event manager 2016-01-15 21:03:57 +02:00
Filippos Karapetis
ce5f8f32cb LAB: Clean up the event loops of special game screens 2016-01-14 23:41:32 +02:00
Filippos Karapetis
1d4a62a028 LAB: Properly update the screen in monitors 2016-01-14 23:41:31 +02:00
Willem Jan Palenstijn
15bbcff786 LAB: Fix switching between texts in monitor 2016-01-05 23:00:06 +01:00
Willem Jan Palenstijn
1eed77c376 LAB: Fix end-of-text detection in monitor 2016-01-05 22:59:14 +01:00
Willem Jan Palenstijn
9cb7535e6d LAB: Ignore clicks in empty region in monitor
Regression from e71f28d0ba319bca35056b7e88d8ebfe0ea92017
2016-01-05 22:05:23 +01:00
Filippos Karapetis
bb34bc94ec LAB: Fix the shortcut keys for the journal buttons 2015-12-27 22:55:38 +02:00
Filippos Karapetis
c5f5fbc208 LAB: Refactor the music code 2015-12-27 21:16:43 +02:00
Strangerke
c0e64a091a LAB: Review the variable types used in Special, reduce the scope of some variables 2015-12-27 11:20:54 +01:00
Strangerke
9bc8d25b02 LAB: Remove a useless assignment 2015-12-27 11:00:05 +01:00
Willem Jan Palenstijn
90ac7a2bcb LAB: Clean up Image._imageData memory handling 2015-12-26 21:59:10 +01:00
Willem Jan Palenstijn
33ed5af212 LAB: Remove type ConstDataPtr, add consts 2015-12-26 15:14:37 +01:00
Filippos Karapetis
a5553b3197 Use Common::Keycode and enums in interface buttons 2015-12-24 19:12:02 +02:00
Filippos Karapetis
19303c49cf LAB: Rename closeFont() to freeFont() 2015-12-24 18:30:54 +02:00
Willem Jan Palenstijn
6ace70a625 LAB: Clarify and clean up drawJournalText 2015-12-24 15:28:25 +01:00
Filippos Karapetis
8b45875e24 LAB: Get rid of _screenImage
Thanks to wjp for finding this
2015-12-24 13:00:10 +02:00
Filippos Karapetis
3097ac8f1e LAB: Change condition defines into an enum 2015-12-24 12:36:26 +02:00
Filippos Karapetis
f018b44ff8 LAB: Fix loading of journal text 2015-12-24 12:29:23 +02:00
Filippos Karapetis
4b3e671de5 LAB: Merge flowTextToMem() inside flowText() 2015-12-24 12:27:56 +02:00
Filippos Karapetis
7216bddd56 LAB: Merge setPen() into rectFill() 2015-12-24 12:08:51 +02:00
Strangerke
0bf89c1eec LAB: Cleanup the way shouldQuit is called 2015-12-24 01:21:40 +01:00
Strangerke
997150e76e LAB: Change the initial valueof _screenBytesPerPage, use it in Journal functions 2015-12-24 01:12:39 +01:00
Filippos Karapetis
7c33862a09 LAB: The second parameter of fade() is always 0 2015-12-24 00:44:16 +02:00
Willem Jan Palenstijn
10d9d8dee5 LAB: Fix warnings by adding consts 2015-12-23 21:51:39 +01:00
Filippos Karapetis
29d85c8d50 LAB: Use int in for loops, instead of uint16 2015-12-23 21:43:17 +01:00
Strangerke
be4c436dca LAB: Move event update functions out of updateMusic 2015-12-23 21:35:34 +01:00
Strangerke
503b633866 LAB: Remove useless casts and dead code 2015-12-23 21:35:34 +01:00
Strangerke
108cbce3b5 LAB: Remove useless assignments 2015-12-23 21:35:34 +01:00
Strangerke
26c48305b5 LAB: Add a couple of safeguards 2015-12-23 21:35:34 +01:00
Strangerke
b53735ba06 LAB: Constify some parameters 2015-12-23 21:35:32 +01:00
Strangerke
cff1f99b26 LAB: Set a default to the second parameter of readPict 2015-12-23 21:35:32 +01:00
Strangerke
baa638fe2e LAB: Remove useless call to c_str 2015-12-23 21:35:31 +01:00
Strangerke
ae9c2fea51 LAB: Replace char* by Common::String in several functions 2015-12-23 21:35:31 +01:00
Strangerke
28c74aed05 LAB: More work on the comments 2015-12-23 21:35:30 +01:00
Strangerke
2981ccc243 LAB: get rid of the last strcpy 2015-12-23 21:35:30 +01:00
Strangerke
3fcd3c1526 LAB: Avoid memory leaks with fonts 2015-12-23 21:35:30 +01:00
Filippos Karapetis
3e8eaa2c35 LAB: Use Common::String for strings, removing a ton of memory leaks
Also, add a method to properly free room views
2015-12-23 21:35:27 +01:00
Filippos Karapetis
c5528a631d LAB: Handle some differences of the Amiga version
The Amiga version is still not working, as the CONTROL and INV files
are missing, and the format of the font files is different
2015-12-23 21:34:09 +01:00
Filippos Karapetis
12572a9c4b LAB: Merge enableButton() and disableButton() 2015-12-23 21:34:08 +01:00
Filippos Karapetis
69680808d0 LAB: Remove unused variable 2015-12-23 21:34:08 +01:00
Filippos Karapetis
832d87e0bf LAB: Use Common::Point in IntuiMessage 2015-12-23 21:34:08 +01:00
Filippos Karapetis
b6bed0aed7 LAB: Simplify mouse button handling 2015-12-23 21:34:08 +01:00
Strangerke
25509777aa LAB: Get rid of flowTextScaled 2015-12-23 21:34:07 +01:00
Strangerke
054a7a1e19 LAB: Use Common::Rect in functions related to flowText (WIP) 2015-12-23 21:34:07 +01:00
Filippos Karapetis
605c2e553b LAB: Use common keycodes instead of direct keycode values 2015-12-23 21:34:07 +01:00
Filippos Karapetis
005e077551 LAB: Some renames 2015-12-23 21:34:07 +01:00
Strangerke
83126e84ee LAB: Make the use of nullptr consistent through the engine 2015-12-23 21:34:06 +01:00
Strangerke
eab6682929 LAB: Add some checks to quit the game quickly when closing ScummVM 2015-12-23 21:34:06 +01:00