Willem Jan Palenstijn
d98d39c315
LAB: Move dispBitMap to Anim
2015-12-24 16:51:02 +01:00
Willem Jan Palenstijn
dacbf9881c
LAB: Make _dispBitmap handling more explicit
2015-12-24 16:16:48 +01:00
Willem Jan Palenstijn
442c1538a2
LAB: Clean up diff chunk handling
2015-12-24 16:02:22 +01:00
Willem Jan Palenstijn
82c610d160
LAB: Remove now-unused variable
2015-12-24 15:32:24 +01:00
Willem Jan Palenstijn
6ace70a625
LAB: Clarify and clean up drawJournalText
2015-12-24 15:28:25 +01:00
Willem Jan Palenstijn
a08dd694e5
LAB: Improve whitespace handling in flowText
...
flowText was handling presence/absence of whitespace after lines
inconsistently. This caused end-of-string to be missed, which broke
last-page detection in the journal. It also introduced extra spaces at the
beginning of pages.
2015-12-24 15:27:48 +01:00
Filippos Karapetis
6ad6632070
LAB: Remove excess delay in map
2015-12-24 13:07:53 +02:00
Filippos Karapetis
f8bf5ed867
LAB: Simplify flowText() a bit
...
Since the extra image buffer is only used in one place, we can save
ourselves one assignment
2015-12-24 13:07:18 +02: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
28b5105f56
LAB: Move enums to the top of processroom.h
2015-12-24 12:38:26 +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
Filippos Karapetis
05973b9b41
LAB: Get rid of a superfluous variable
2015-12-24 11:59:03 +02:00
Strangerke
1206fe22b8
LAB: Fix out of bound in writeColorRegs
2015-12-24 08:30:50 +01:00
Strangerke
746f494c85
LAB: Fix bug in doTransWipe
2015-12-24 08:10:30 +01:00
Strangerke
9e048bc207
LAB: Stop adding useless garbage at the end of the savegames
2015-12-24 08:03:04 +01:00
Strangerke
5b3380c6e6
LAB: Initialize some variables in constructor
2015-12-24 07:47:46 +01:00
Strangerke
ba243ea587
LAB: Handle intro font in intro constructor and destructor
2015-12-24 02:03:00 +01:00
Strangerke
f4bc3c0ab4
LAB: Rename main intro function
2015-12-24 01:47:53 +01:00
Strangerke
887add323b
LAB: Fix unsafe use of boolean
2015-12-24 01:44:22 +01:00
Strangerke
aa104040d4
LAB: Simplify the calls to doPictText
2015-12-24 01:42:21 +01: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
6f6c92d470
LAB: Prevent the Image destructor from deleting the drawing buffer
2015-12-24 01:32:22 +02:00
Filippos Karapetis
7a7a25c91d
LAB: The maxHeight parameter of readPict() is no longer used
2015-12-24 01:32:22 +02:00
Strangerke
b67b39038b
LAB: Remove duplicate code in a switch
2015-12-24 00:08:41 +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
1d2f90f040
LAB: Fix build error on AmigaOS4
2015-12-23 23:06:10 +01:00
Filippos Karapetis
35f53bb522
LAB: Error out on unused opcodes
...
This also fixes a warning
2015-12-23 23:07:40 +02:00
Filippos Karapetis
9d7a2f4e7f
LAB: Fix usage of drawMessage() with empty messages
2015-12-23 23:01:17 +02:00
Filippos Karapetis
70ec11d260
LAB: Change the direction and map door defines into enums
2015-12-23 22:59:59 +02:00
Willem Jan Palenstijn
10d9d8dee5
LAB: Fix warnings by adding consts
2015-12-23 21:51:39 +01:00
Filippos Karapetis
f9641a6d66
LAB: Show a more descriptive message when save/restore is aborted
2015-12-23 21:43:17 +01:00
Filippos Karapetis
d30ee82cdb
LAB: Use camelCase for a variable name
2015-12-23 21:43:17 +01:00
Filippos Karapetis
52c7fcbfe5
LAB: Rename overlayRect() to checkerboardEffect()
2015-12-23 21:43:17 +01:00
Filippos Karapetis
5327b6f545
LAB: Use byte instead of char in overlayRect()
...
This matches the idea that colors are in range of 0 - 255. Thanks to
LordHoto
2015-12-23 21:43:17 +01:00
Filippos Karapetis
60f7849c20
LAB: Improve the palette assignment in writeColorRegs()
...
Thanks to LordHoto
2015-12-23 21:43:17 +01:00
Filippos Karapetis
c66d5eca3a
LAB: setAmigaPal() is always using 16 colors
2015-12-23 21:43:17 +01:00
Filippos Karapetis
07aec19a06
LAB: Also mention Terra Nova Development in the engine copyright message
2015-12-23 21:43:17 +01:00
Filippos Karapetis
29d85c8d50
LAB: Use int in for loops, instead of uint16
2015-12-23 21:43:17 +01:00
Filippos Karapetis
b3a19cf75e
LAB: Show the correct number of parameters in find_action
2015-12-23 21:43:17 +01:00
Filippos Karapetis
9dae9eb811
LAB: Implement the scroll buffer of doScrollWipe() and doScrollBounce()
...
This was left out from previous refactoring. Also, simplify
doScrollBounce()
2015-12-23 21:43:17 +01:00
Strangerke
c9049f2329
LAB: Remove left-over long size specifiers
2015-12-23 21:43:17 +01:00
Strangerke
2f1506edec
LAB: Replace do..while by while statements in resource
2015-12-23 21:43:16 +01:00
Strangerke
34b59256fc
LAB: Replace g_system by _system
2015-12-23 21:43:16 +01:00
Strangerke
e8edff85f3
LAB: Synchronize function definition in Intro
2015-12-23 21:43:16 +01:00
Filippos Karapetis
8de38a8d10
LAB: Greatly simplify doScrollBlack() using scrollDisplayY()
...
This also fixes a crash when crossing the street
2015-12-23 21:43:16 +01:00
Filippos Karapetis
7a81e03b25
LAB: Prevent the Image destructor from deleting external scroll buffers
2015-12-23 21:43:16 +01:00