Commit Graph
32 Commits
Author SHA1 Message Date
Torbjörn Andersson 802a301a16 Removed some of the #includes from sword2.h
svn-id: r12739
2004-02-05 14:19:07 +00:00
Torbjörn Andersson 065f2bb9eb It's a new year in BS2 land, too!
svn-id: r12181
2004-01-06 13:44:17 +00:00
Torbjörn Andersson 6ae8218d53 Hopefully the last big renaming. Now the datatypes have names like
"StandardHeader" instead of "_standardHeader".

svn-id: r11997
2003-12-28 15:08:12 +00:00
Torbjörn Andersson dc0c7bf845 Implemented scroll wheel handling for save/load dialogs. (This turned up a
few other hitherto harmless bugs, which I've hopefully managed to fix.)

svn-id: r11762
2003-12-19 16:50:03 +00:00
Torbjörn Andersson fa2b8ba8de More cleanup. I've eliminated all the temporary global variables I've added
over the past few weeks, except for g_sword2. (Of course, this doesn't
necessarily make the code any prettier, but we can work on that later.)

svn-id: r11309
2003-11-16 14:18:29 +00:00
Torbjörn Andersson 446a01ba09 Moved low-level keyboard and mouse handling to a new Input class, and
renamed the Display class Graphics for no better reason than me liking the
phrase "sound and graphics" better than "sound and display".

svn-id: r11258
2003-11-11 07:43:02 +00:00
Paweł Kołodziejski 409108df82 cleanup whitespaces
svn-id: r11212
2003-11-08 19:47:20 +00:00
Max Horn 2fef2dcb84 bs2 -> sword2
svn-id: r10997
2003-10-28 19:51:30 +00:00
Torbjörn Andersson 8b42d65a7e Dumped most of the remaining "driver" code into a new "Display" class. This
touches a lot of the code, of course, and adds yet another global variable
(temporarily, I hope), but everything still seems to work.

Knock on wood.

svn-id: r10806
2003-10-15 06:40:31 +00:00
Torbjörn Andersson 7adf0ff1fc Some more cosmetic changes while I'm considering the next move. (Or maybe
I'm just hoping that if I stall long enough, someone else will make the
move for me. :-)

svn-id: r10676
2003-10-08 06:58:34 +00:00
Max Horn 5a074e6137 added namespace Sword2
svn-id: r10581
2003-10-04 00:52:27 +00:00
Max Horn aed27b35dd use C++ struct naming instead of typedefs -> this fixes (or works around, whatever you prefer to call it) the GCC_PACK problem in Doxygen
svn-id: r10569
2003-10-03 13:53:46 +00:00
Torbjörn Andersson 49fa159ed4 More cleanup, plus support for cutscene leadout music. For now, we only
play that music for cutscenes that have subtitles.

svn-id: r10460
2003-09-28 14:13:57 +00:00
Torbjörn Andersson 8ad28e3a7e More cleanup, and I've replaced most - not quite all - of BS2's debug
message functions with our own.

We still need to go through them and assign sensible debug levels to them.

svn-id: r10422
2003-09-27 11:02:58 +00:00
Torbjörn Andersson 4ae1674a44 Removed ancient version history. Much of it doesn't apply to us, and was
cluttering up the files anyway. (Though I do feel a slight twinge of guilt
for removing historical records like this. :-)

svn-id: r10384
2003-09-23 16:53:25 +00:00
Torbjörn Andersson 00c1fdce3a Removed some unnecessary #includes and #defines.
svn-id: r10264
2003-09-16 09:57:57 +00:00
Oliver Kiehl 20fe2b83fc should have been an int32
svn-id: r10220
2003-09-13 12:15:13 +00:00
Oliver Kiehl 35e5c73127 endian fix
svn-id: r10219
2003-09-13 12:12:11 +00:00
Oliver Kiehl 9dc282f1d5 endian fixes
svn-id: r10192
2003-09-12 18:52:53 +00:00
Torbjörn Andersson 76df5a2733 Cleanup
svn-id: r9885
2003-08-28 06:14:46 +00:00
Torbjörn Andersson 812f42ce8e Only hide the mouse cursor if both the mouse animation and the luggage
animation are removed.

svn-id: r9818
2003-08-22 06:59:05 +00:00
Jonathan Gray a51be5d39e -Werror cleanup, don't try to free const variables...
svn-id: r9808
2003-08-21 14:58:47 +00:00
Oliver Kiehl bfefcc3567 Draw combined cursor properly. Thanks to joost for finding out that the
maximum cursor size in SDL is 80x80. This *might* cause problems in some cases

svn-id: r9805
2003-08-20 21:46:00 +00:00
Torbjörn Andersson 875decf544 Initial (slightly buggy) support for "luggage" mouse cursors, i.e. cursors
made up from two different images.

svn-id: r9802
2003-08-20 15:43:25 +00:00
Torbjörn Andersson 7651aa2bb7 Applied a different fix for the mouse offset problem. As far as I can tell,
the old way would have made it impossible to access the (not yet
implemented) menu icons at the top of the window. I hope this one works...

svn-id: r9793
2003-08-20 11:41:43 +00:00
Torbjörn Andersson 264b2d8767 Removed some memset()s that I added earlier out of paranoia. Added a FIXME
comment, noting that DrawMouse() used to handle the "luggage animations" as
well. I don't know if I broke anything when I moved that part of the code.

svn-id: r9792
2003-08-20 11:28:22 +00:00
Jonathan Gray 52f3fa76dc correction from olki that fixes mouse y offset being too high
svn-id: r9790
2003-08-20 11:04:32 +00:00
Torbjörn Andersson d0faf4c225 This should fix mouse cursor animations. (Actually, I hardly even looked at
what the old mouse cursor patch did. I simply replaced it with my own.
Sorry about that. :-)

svn-id: r9786
2003-08-20 06:35:15 +00:00
Oliver Kiehl 050241ff87 preliminary cursor code. dirty, hacky and no animation yet. but at least something...
svn-id: r9785
2003-08-19 21:42:21 +00:00
Jonathan Gray a05c4bda0f -Werror cleanup
svn-id: r9230
2003-07-28 07:22:40 +00:00
Travis Howell ccc40eecc9 Compiles on mingw now
svn-id: r9222
2003-07-28 03:12:49 +00:00
Jonathan Gray dc6aa9912c bs2 driver
svn-id: r9212
2003-07-28 01:47:41 +00:00