Commit Graph

577 Commits

Author SHA1 Message Date
Strangerke
0b63ea185d ZVISION: Janitorial - Remove trailing spaces 2014-02-16 18:45:17 +01:00
D G Turner
16ec43a0cf ZVISION: Add missing getDebugger() for engine API. 2013-12-07 02:45:38 +00:00
D G Turner
ef85456859 BUILD: Remove need for engine.mk in each engine directory.
Each engine now only has to provide a single configure.engine file
adding the engine into the configure script, which then produces the
required other files automatically.
2013-11-24 00:48:01 +00:00
D G Turner
1ac01d2333 BUILD: Remove need for engine-plugin.h in engines.
This is now generated automatically by the configure script from the
engine directory names.
2013-11-24 00:48:01 +00:00
D G Turner
00c27a28f9 BUILD: Split engines/plugins_table header down to a file per engine.
This is the third and final commit enabling fully pluggable engines.

Now providing an engine folder contains a configure.engine, engine.mk
and engine-plugin.h file, it will be picked up automatically by the
configure script.
2013-11-24 00:48:01 +00:00
D G Turner
d77cf95a18 BUILD: Split engines.mk down to a single file per engine.
This is the second part of allowing engines to be added dynamically.
Each folder in engines/ which must contain a file named "engine.mk"
containing the make definitions for that engine.
2013-11-24 00:48:01 +00:00
D G Turner
aa947c9474 BUILD: Split configure.engines down to a single file per engine.
This is the first part of allowing engines to be added dynamically.
They are placed into a folder in engines/ which must contain a file
named "configure.engine" to add the engine, which is pulled into the
top level configure script automatically.
2013-11-24 00:45:38 +00:00
Torbjörn Andersson
c93249cfd0 ZVISION: Fix compilation 2013-11-01 08:57:50 +01:00
RichieSams
20f8e05cc3 ZVISION: Move StateFlags inside ScriptManager class and fix build errors 2013-11-01 02:52:58 -05:00
RichieSams
e50797d6b1 ZVISION: Update includes to use the new file structure 2013-11-01 02:52:57 -05:00
RichieSams
5842c5098f ZVISION: Create a folder structure for ZVision source files
I personally used filters within my IDE, but since others are now joining the project,
it was brought to my attention that some better organization would be nice.
2013-11-01 02:52:57 -05:00
RichieSams
37d4316a40 ZVISION: Update timer logic
Also account ZNem and ZGI using different timer scales
2013-10-31 23:38:03 -05:00
RichieSams
992f43cc9c ZVISION: Move Puzzle flags to a ScriptManager HashMap
This can be used to enable/disable Controls as well. Also, enabling/disabling
should be somewhat faster now as well as checking for enabled/disabled.
2013-10-31 23:38:03 -05:00
Filippos Karapetis
be8bc5f030 ZVISION: Error out when an unknown sound file identifier is encountered 2013-10-31 04:16:56 +02:00
Filippos Karapetis
1c8b4d31d0 ZVISION: Silence some false positive warnings in MSVC 2013-10-31 04:00:43 +02:00
Filippos Karapetis
2ed7d7ab4d ZVISION: Throw a warning when a WAV file can't be opened 2013-10-31 04:00:16 +02:00
RichieSams
587f65c761 ZVISION: Actually change the cursor when ZGI mouse is pressed 2013-10-25 18:12:11 -05:00
RichieSams
c2e7b1ec22 ZVISION: Create custom working window size for ZGI 2013-10-25 18:11:48 -05:00
RichieSams
b6af5ae40a ZVISION: Change ZGI detection entry platform to Windows from DOS
ZGI wasn't released on DOS
2013-10-25 18:10:50 -05:00
Matthew Hoops
aba818d195 ZVISION: Attempt to fix compilation on AmigaOS4 2013-10-18 06:13:32 -04:00
Matthew Hoops
3c6c91a604 ZVISION: Make the line height be an int 2013-10-17 23:08:17 -04:00
Matthew Hoops
396808638d ZVISION: Consistently use the type of the state map
Should fix the AmigaOS4 build
2013-10-17 23:02:22 -04:00
RichieSams
260ba64bda ZVISION: Fix signed/unsigned mismatch 2013-10-04 14:13:21 -05:00
RichieSams
2887e8295d ZVISION: Fix nested template formatting 2013-10-04 09:20:32 -05:00
RichieSams
39a8243c69 ZVISION: Remove Vector2 class
Originally, the render table needed int32 (x, y) coords, so I created a copy of
Common::Point that used int32. After some code changes, the render table
reverted to int16 coords. Therefore, this class is unnessessary since
Common::Point uses int16 coords.
2013-10-04 09:20:32 -05:00
RichieSams
8a69bcfe97 ZVISION: Add typedefs to shorten long type names 2013-10-04 09:20:31 -05:00
RichieSams
23a1a1a70f ZVISION: Fix signed/unsigned mismatch 2013-10-02 09:10:01 -05:00
RichieSams
bad28dc158 ZVISION: Standardize includes order and format
Format is:
common/scummsys.h    (Only if a .cpp file)

header file for this file (Only if a .cpp file)

zengine includes

other includes, grouped by module
2013-10-02 09:10:00 -05:00
RichieSams
1bdcae7f18 ZVISION: Rename zvision.h inclusion guard to be consistent with the other files 2013-10-02 09:09:59 -05:00
RichieSams
1140c8b48d ZVISION: Fix space formatting 2013-10-02 09:09:59 -05:00
RichieSams
18b1c3130f ZVISION: Move two lookup tables inside the RawZorkStream class
Instead of being global variables.
2013-10-02 09:09:58 -05:00
RichieSams
1c8a5582a2 ZVISION: Remove unnesessary operator overload 2013-10-02 09:09:58 -05:00
RichieSams
b913e9f8a3 ZVISION: Update removeDuplicateEntries to preserve order
The new algorithm is potentially slower, but it doesn't need
to use sort. Speed shouldn't be a problem because the function
isn't used that often and in each case the size of the container
is small.
2013-10-02 09:09:57 -05:00
RichieSams
1f9ba897b8 ZVISION: Convert _timeLeft to a signed int
This allows time decrementing to go negative instead of
wrapping to UINT_MAX. Which makes comparisons easier.
2013-10-02 09:09:56 -05:00
RichieSams
28ac59307b ZVISION: Update warning message to correspond to the behavior 2013-10-02 09:09:56 -05:00
RichieSams
0deb845229 ZVISION: Remove global const variable
Replace with ColorMasks
2013-10-02 09:09:55 -05:00
RichieSams
afe8cba1a1 ZVISION: Fix spacing 2013-10-02 09:09:55 -05:00
RichieSams
4c06affe84 ZVISION: Convert _completeFrames to an Array 2013-10-02 09:09:54 -05:00
RichieSams
4172334b51 ZVISION: Remove global const variables
Instead, use ColorMasks
2013-10-02 09:09:54 -05:00
RichieSams
ffaffa2bc4 ZVISION: Convert all for-loops to use pre-increment instead of post-increment 2013-10-02 09:09:53 -05:00
RichieSams
239493305d ZVISION: Replace all occurances of (*iter). with iter-> 2013-10-02 09:09:53 -05:00
RichieSams
e08023c4b6 ZVISION: Add newline to end of module.mk 2013-10-02 09:09:52 -05:00
RichieSams
01238925da ZVISION: Fix curly braces formatting 2013-10-02 09:09:51 -05:00
RichieSams
db28babf06 ZVISION: Create file on the heap to prevent memory scope problems 2013-10-02 09:09:51 -05:00
RichieSams
3c8c4c836f ZVISION: Move bit flag to an enum for clarity 2013-10-02 09:09:50 -05:00
RichieSams
98e7627591 ZVISION: Add debug levels 2013-10-02 09:09:50 -05:00
RichieSams
72ae75e64a ZVISION: Clean up zvision.h 2013-10-02 09:09:49 -05:00
RichieSams
02aaffd894 ZVISION: Break comment into multiple lines for readability 2013-10-02 09:09:49 -05:00
RichieSams
031be61b07 ZVISION: Clean up the ZVision constructor 2013-10-02 09:09:48 -05:00
RichieSams
229e4fe3be ZVISION: Move creation of the managers to ZVision::initialize()
In order to make the ZVision constructor as lightweight as possible
2013-10-02 09:09:48 -05:00