Commit Graph

24301 Commits

Author SHA1 Message Date
Max Horn
356ae3b9ce Fix code formatting and grammar ;)
svn-id: r30819
2008-02-07 22:53:23 +00:00
Johannes Schickel
56c5d86431 Fix bug preventing compilation in iterator code.
svn-id: r30818
2008-02-07 21:28:51 +00:00
Jordi Vilalta Prat
7500103298 - Fix math lib test when crosscompiling
- Just need to remove the test files after all the tests

svn-id: r30817
2008-02-07 15:53:26 +00:00
Jordi Vilalta Prat
902374fac6 Enhanced tools detection when crosscompiling with mingw32 and removed dupplicate options
svn-id: r30816
2008-02-07 15:23:27 +00:00
Jordi Vilalta Prat
0657ef6a80 Use sdl-config --prefix to enable better detection of include paths.
svn-id: r30815
2008-02-07 15:15:10 +00:00
Nicola Mettifogo
58d58d5100 Implemented scroll command and added a couple more debug variables.
svn-id: r30814
2008-02-07 12:49:46 +00:00
Nicola Mettifogo
4be7dac9c3 Fix system hang under linux.
svn-id: r30813
2008-02-06 19:50:45 +00:00
Filippos Karapetis
edab25743e Silence MSVC warning about uninitialized variables
svn-id: r30812
2008-02-06 18:13:22 +00:00
Nicola Mettifogo
509f2f6659 Enabled moving projector in Nippon Safes. This should fix long standing bug #1729309.
svn-id: r30811
2008-02-06 15:38:33 +00:00
Nicola Mettifogo
c03cb964c0 Fixed broken halfbrite implementation from some time ago (nobody complained!!!).
svn-id: r30810
2008-02-06 14:56:10 +00:00
Nicola Mettifogo
014511f380 Made font handling stateless.
svn-id: r30809
2008-02-06 14:12:59 +00:00
Nicola Mettifogo
246fbfd1e4 Added experimental debug feature: variables influencing the rendering that can be set via console using the 'set' command. The implementation is still partial. Leveraging on this, the engine can now selectively display the current background mask instead of the background itself.
svn-id: r30808
2008-02-06 14:05:08 +00:00
Nicola Mettifogo
715e33d63d Correctly implemented little-endian masks in BRA.
svn-id: r30807
2008-02-06 13:57:44 +00:00
Nicola Mettifogo
782563f749 Implemented some more opcodes in BRA. Animations should now be visible in most locations.
svn-id: r30806
2008-02-06 13:44:31 +00:00
Nicola Mettifogo
249c0b0a05 Corrected mask and path loading in BRA.
svn-id: r30805
2008-02-06 13:44:01 +00:00
Torbjörn Andersson
338beeca84 Committed my own patch #1885901 to fix NASM warnings.
svn-id: r30804
2008-02-05 23:24:09 +00:00
Torbjörn Andersson
441ec75a71 I think this is slightly easier to read...
svn-id: r30803
2008-02-05 21:39:29 +00:00
Eugene Sandulenko
c54e854e22 revert accidental commit. It increases commit count. But better to compile before commit
svn-id: r30802
2008-02-05 15:36:42 +00:00
Eugene Sandulenko
bf4340d562 revert accidental commit
svn-id: r30801
2008-02-05 15:35:17 +00:00
Eugene Sandulenko
9f6282defc Fix compilation
svn-id: r30800
2008-02-05 15:33:01 +00:00
Kari Salminen
4174f0b9d4 Fix compilation on MSVC8 & 9 (Added gui_br.cpp to parallaction's project files. The file was introduced by revision 30739).
svn-id: r30799
2008-02-05 12:17:00 +00:00
Nicola Mettifogo
dabefdce05 Changed main loop to allow BRA to return to menu after intro.
svn-id: r30798
2008-02-05 10:24:22 +00:00
Nicola Mettifogo
17fdd182b6 Enhanced parser to handle multi-line comments in scripts.
svn-id: r30797
2008-02-05 09:55:17 +00:00
Nicola Mettifogo
265621de58 Fixes to make BRA introduction run:
- fixed location command parser
- implemented stop command
- temporary disabled speak zones (audio is not yet supported)

svn-id: r30796
2008-02-05 09:30:58 +00:00
Nicola Mettifogo
50ff4a4603 Fixed size of temporary buffer for unpacking animation frames.
svn-id: r30795
2008-02-05 09:26:28 +00:00
Nicola Mettifogo
e1cff6a7c3 Added new debug command to show global game flags.
svn-id: r30794
2008-02-05 09:25:25 +00:00
Paweł Kołodziejski
f8fe01b9fd silency ignored, we handle it differently
svn-id: r30793
2008-02-05 08:16:52 +00:00
Jordi Vilalta Prat
9d81f3602c Fix indentation (spaces to tabs)
svn-id: r30792
2008-02-05 01:04:31 +00:00
Nicola Mettifogo
ea15cf7236 Adjusted random number generator, thus improving animation quality in the intro. The general still acts like he is on amphetamines.
svn-id: r30791
2008-02-04 20:35:18 +00:00
Nicola Mettifogo
a2101c0c6c Added FIXME comment about wrong color for subtitles in BRA.
svn-id: r30790
2008-02-04 19:57:17 +00:00
Jordi Vilalta Prat
e4ab5dd339 Change MetaEngine references to PluginObject where possible to make its semantics more generic.
svn-id: r30789
2008-02-04 18:38:22 +00:00
Filippos Karapetis
468e9cb056 Surface is a struct, not a class
svn-id: r30788
2008-02-04 17:04:03 +00:00
Max Horn
3cd1e60e7a Moved common code from Plugin subclasses to class Plugin itself
svn-id: r30787
2008-02-04 13:14:52 +00:00
Max Horn
5fb7f7a4d6 Commited updated version of my own patch #1868402: Basic savestate plugin API
svn-id: r30786
2008-02-04 10:15:21 +00:00
Max Horn
dd7fcd6867 Fix plugin unloading / cleanup
svn-id: r30785
2008-02-04 07:38:42 +00:00
Jordi Vilalta Prat
afa731b0af Fix a segmentation fault when running a game with dynamic plugins enabled.
svn-id: r30784
2008-02-04 02:50:41 +00:00
Max Horn
13a99edb2d Updated plugin.exp to match latest changes to the plugins API
svn-id: r30783
2008-02-03 23:11:45 +00:00
Torbjörn Andersson
0c6cd983dc Replaced GUI dialog with warning. We don't have any screen to draw on yet.
svn-id: r30782
2008-02-03 21:15:48 +00:00
Robin Watts
7a70a4fb92 Missed file from previous commits. Bah.
svn-id: r30781
2008-02-03 21:13:56 +00:00
Max Horn
8a73356a2d Revised Engine plugin API to only provide a single func which returns a MetaEngine instance. Used this to simplify the rest of the plugin system
svn-id: r30780
2008-02-03 18:56:47 +00:00
Max Horn
15975bdf73 Made some advanced detector stuff internal (for now), as it is only used by AdvancedMetaEngine. Also removed obsolete ADVANCED_DETECTOR_DEFINE_PLUGIN macro
svn-id: r30779
2008-02-03 18:37:41 +00:00
Max Horn
f7a88e8074 Removed some dead code
svn-id: r30778
2008-02-03 18:24:54 +00:00
Max Horn
015e73b792 cleanup
svn-id: r30777
2008-02-03 18:23:27 +00:00
Nicola Mettifogo
fea63a5181 Fixed maximum token length for the parser.
svn-id: r30776
2008-02-03 17:06:45 +00:00
Marcus Comstedt
4c117772bd Implement exists(), isReadable() and isWritable().
svn-id: r30773
2008-02-03 17:02:51 +00:00
Marcus Comstedt
9302491e82 Use vmsfs_delete_file now that libronin supports it...
svn-id: r30772
2008-02-03 17:01:46 +00:00
Nicola Mettifogo
da98d10ebd instOp_on and instOp_off are now implemented, so removed warnings.
svn-id: r30771
2008-02-03 16:56:25 +00:00
Nicola Mettifogo
aea99780ef Implemented a couple more opcodes and added capability to load/display static images in BRA.
svn-id: r30770
2008-02-03 16:51:38 +00:00
Nicola Mettifogo
a53d87791d - Character is now initialized when needed (for the moment only by NS)
- Forward lists are now bigger since BRA scripts are larger

svn-id: r30769
2008-02-03 16:02:21 +00:00
Nicola Mettifogo
85171eadaa Programs are now handled in their own list, instead of being accessed via the referring Animation.
svn-id: r30768
2008-02-03 14:58:16 +00:00