Commit Graph
66 Commits
Author SHA1 Message Date
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Eugene Sandulenko dcc388cbaa SCUMM HE: Moved remnants of Moonabse to HE100 2016-05-26 21:53:23 +02:00
Johannes Schickel 3847465163 SCUMM: Make GPL headers consistent in themselves. 2014-02-18 02:39:38 +01:00
Matthew Hoops f22661e4b9 SCUMM: Stub off other football2002 u32 opcodes 2012-06-08 19:45:31 -04:00
Matthew Hoops f5255288ea SCUMM: Split HE logic classes to their own files 2011-08-17 09:12:19 +02:00
Alyssa Milburn 9fd46049de SCUMM: Mass-comment/rename/simplify the soccer u32 code. 2011-08-17 00:03:49 +02:00
Alyssa Milburn 23dce51605 SCUMM: Fix cross product call in soccer u32 code.
Thanks to wjp and clone2727 for staring at this with me.
2011-08-16 23:37:26 +02:00
Matthew Hoops a9345c0cc3 SCUMM: Remove unused soccer u32 code 2011-08-10 10:12:56 -04:00
Matthew Hoops b087acd793 SCUMM: Fix bug in soccer u32 op_1014_sub3 2011-08-09 16:25:57 -04:00
Matthew Hoops 9c52724ce5 SCUMM: Fix another original soccer u32 difference
Soccer is slightly more playable, but clicking does nothing most of the time.
2011-08-08 00:59:09 -04:00
Matthew Hoops e43a6671fc SCUMM: Fix some soccer u32 code in op_1011
Spotted by fuzzie
2011-08-06 15:54:11 -04:00
Matthew Hoops 605473d117 SCUMM: Add a few more notes to soccer u32 code 2011-08-06 13:08:56 -04:00
Matthew Hoops 6528f902fc SCUMM: Remove soccer editor-related u32 code
The built-in editor, while could potentially be a cool feature, seems incomplete and unusable. Room 4 (the editor room) in all three games is not accessible without jumping to it.
2011-08-06 13:02:43 -04:00
Matthew Hoops bf841e1e94 SCUMM: Fix a few more bugs in soccer u32 op_1014_sub1
Thanks to fuzzie
2011-08-05 13:03:08 -04:00
Matthew Hoops 68f07efa95 SCUMM: Fix another typo in soccer u32 op_1014_sub1 2011-08-05 11:46:21 -04:00
Matthew Hoops 2b92f6df0f SCUMM: Fix minor logic bug in soccer u32 op_1014
Spotted by fuzzie
2011-08-05 11:29:06 -04:00
Matthew Hoops 3b3ab9a502 SCUMM: Add note to soccer u32 op_1011 about cursor scaling 2011-08-05 09:23:18 -04:00
Matthew Hoops 51fc76acd4 SCUMM: Add notes on the unused soccer u32 opcodes
Might be nice to implement the soccer editor one day in the future, but it's definitely a secondary goal. In fact, I'm not even sure how to access it yet other than jumping to the room (4).
2011-08-04 11:02:11 -04:00
Matthew Hoops 2ea594de83 SCUMM: Fix shadows in soccer
Spotted by fuzzie
2011-08-03 11:57:18 -04:00
Matthew Hoops a160179f37 SCUMM: Fix remaining soccer u32 op_1007 bugs
Thanks to fuzzie for snooping that one out.

The field boundaries now work correctly. SoccerMLS/Soccer2004 only are missing proper shadow support now. The original soccer is still having problems with clicking on the field.
2011-08-03 11:14:52 -04:00
Matthew Hoops 743ed0517b SCUMM: Implement soccer u32 op_1017
Used sporadically during gameplay
2011-08-02 16:57:44 -04:00
Matthew Hoops 6d6192b9f7 SCUMM: Fix soccer u32 op_1007 atan2 calls
The games are now becoming playable. Players and the ball appear on the field. However they go off the field at times and shadows do not work properly yet. It's progress though!

Thanks to fuzzie for spotting
2011-08-02 16:45:17 -04:00
Matthew Hoops 6d5d5f8269 SCUMM: Fix some more soccer u32 logic bugs
The camera now pans correctly. The players/ball have yet to reappear on the field, however. Thanks to fuzzie for spotting
2011-08-02 16:11:29 -04:00
Matthew Hoops 42c359a879 SCUMM: Fix op_1011 parameters 2011-08-02 14:38:02 -04:00
Matthew Hoops 96307dc2d8 SCUMM: Implement soccer u32 op_1016
Used when a goal is scored
2011-08-02 13:49:00 -04:00
Matthew Hoops 6a31b57d39 SCUMM: Fix more bugs in soccer u32 spotted by fuzzie 2011-08-02 13:35:25 -04:00
Matthew Hoops b609004ba2 SCUMM: Fix several soccer u32 logic bugs
Spotted by fuzzie
2011-08-02 11:39:04 -04:00
Matthew Hoops 8259365f1f SCUMM: Add code for remaining soccer u32 opcodes
While it should be complete now, it doesn't quite work properly yet. I need to go back through and double-check everything to make sure I got it right.
2011-07-31 22:41:09 -04:00
Max Horn 88913c0139 ALL: Remove trailing whitespaces
This tries to make our code a bit more compliant with our code formatting
conventions. For future use, this is the command I used:
  git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-06-20 00:59:48 +02:00
strangerke 69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Matthew Hoops af28efae41 SCUMM: Fix differences in soccer's u32 op_1011 2011-04-27 20:23:19 -04:00
Matthew Hoops f584f2f312 SCUMM: Implement soccer u32 opcodes 1013, 1019, 1020, and 1021 2011-04-27 10:15:28 -04:00
md5 3ab0a133b3 SCUMM: Fixed compilation with MSVC
Both double and float parameters were passed to atan2(), which didn't match
any variants of atan2()
2011-04-27 13:29:51 +03:00
Matthew Hoops 68d0602b0d SCUMM: Avoid long double usage 2011-04-26 17:32:34 -04:00
Matthew Hoops 78725365c5 SCUMM: Begin work on the soccer u32 code
Players no longer appear in the upper-left corner of the screen and play can actually hault now (ie. the ball can go out of play). The players/ball do not move from their positions yet, but it's a start.
2011-04-26 17:13:35 -04:00
md5 d602a420b6 SCUMM: Changed usage of PI to M_PI (normally defined in math.h) 2011-03-19 02:33:09 +02:00
Max Horn e27b05ef35 COMMON: Rename String::printf() to String::format()
This is a first step towards getting rid of all uses of regular printf,
fprintf, vprintf, vfprintf, puts, fputs, etc. in our codebase.

The name format() reflects the purpose of the function, and parallels
String.format() in Java, boost::format, and others.

svn-id: r54004
2010-11-01 16:02:28 +00:00
Max Horn 3534cff8ef ALL: Fix indention (whitespaces -> tabs)
svn-id: r53738
2010-10-23 15:46:50 +00:00
Travis Howell 3f4655c03f SCUMM: Disable multiplayer option in Backyard Baseball 2001.
svn-id: r53731
2010-10-23 13:39:04 +00:00
Max Horn 93375526c0 SCUMM: Convert some code to use Common::String
svn-id: r48957
2010-05-05 20:43:22 +00:00
Travis Howell f186d9c860 Fix building with specific games disabled in MSVC.
svn-id: r43294
2009-08-12 00:53:35 +00:00
Travis Howell 1c02b93b70 Fix pinball type mini game in Putt-Putt Enters The Race.
svn-id: r42382
2009-07-11 12:23:42 +00:00
Travis Howell d11d56ae13 Add logic stub for Backyard Basketball.
svn-id: r41217
2009-06-06 10:50:37 +00:00
Torbjörn Andersson 0999534749 The error() and warning() functions add ! and newline automatically. (I didn't
look at debug() and debugC(), since I'm really bored with this now. :-)

svn-id: r41061
2009-05-31 10:02:16 +00:00
Willem Jan Palenstijn 7a88744b74 Patch #2671477: Fix wrong usage of strncat
svn-id: r39184
2009-03-07 13:40:00 +00:00
Travis Howell ddb810e17b Add Moonbase Commander target again, for testing only.
svn-id: r35379
2008-12-15 09:54:21 +00:00
Johannes Schickel 2ef8a32a01 Fixed various g++ warnings ("format not a string literal and no format arguments").
svn-id: r35096
2008-11-16 20:20:31 +00:00
Travis Howell f47add1b7e Add notes (From wiki) for u32 codes used in Backyard Soccer.
svn-id: r29631
2007-11-24 23:58:09 +00:00
Eugene Sandulenko e10aa928c1 Implement soccer opcode 1006. Nothing is tested and is pure processing
of bb86 utility.

svn-id: r29630
2007-11-24 21:56:36 +00:00
Eugene Sandulenko 2f6343c9cd Implement soccer logic opcode 1003
svn-id: r29616
2007-11-22 22:32:58 +00:00