Commit Graph

57 Commits

Author SHA1 Message Date
Filippos Karapetis
b849f5485f CRUISE: Removed duplicate variable assignment 2011-11-04 00:42:41 +02:00
eriktorbjorn
5dd8f2575b JANITORIAL: Silence a couple of "variable set but not used" warnings. 2011-06-30 23:47:10 +02:00
Matthew Hoops
eea482fa43 ALL: behaviour -> behavior 2011-05-25 10:50:46 -04:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
dhewg
d83a83ef50 JANITORIAL: Remove/comment unused vars
Found by GCC 4.6's -Wunused-but-set-variable
2011-03-29 21:57:56 +02:00
Johannes Schickel
aed02365ec Strip trailing spaces/tabs.
svn-id: r47541
2010-01-25 01:39:44 +00:00
Max Horn
51933629d1 Changed foo(void) to foo() in almost all non-backend source files
svn-id: r45616
2009-11-02 21:54:57 +00:00
Paul Gilbert
8694b48ae3 Set up a basic tracing system for all memory allocations to help track down memory leaks
svn-id: r44808
2009-10-09 08:15:30 +00:00
Paul Gilbert
78578a042f Bugfix for dirty rects getting lost during room fade-ins
svn-id: r44536
2009-10-02 13:13:47 +00:00
Paul Gilbert
a5df07f56a Bugfix for the dirty rects for drawn sprites when the sprite is partially off-screen
svn-id: r44372
2009-09-26 04:37:19 +00:00
Paul Gilbert
4fc8fe8023 Added an experimental screen transition dirty rect calculation code which should make background changes faster on slower devices or when scalers are active
svn-id: r44032
2009-09-11 11:36:16 +00:00
Paul Gilbert
bb94053960 Bugfix for the boundaries of changing objects used for dirty rect calculations
svn-id: r44031
2009-09-11 11:02:15 +00:00
Paul Gilbert
49a4df3c8c Added Dirty Rect handling functionality
svn-id: r43406
2009-08-15 11:50:59 +00:00
Joost Peters
6d18ada7ef fix/workaround for cruise crash on OSX
svn-id: r42826
2009-07-26 21:06:53 +00:00
Joost Peters
12837c968c Change flip[Short|Long] functions to bigEndian[Short|Long]ToNative to clarify that flipping only occurs on LE systems + some related cleanup.
svn-id: r41107
2009-06-01 19:29:04 +00:00
Paul Gilbert
3c45ee20eb Properly named the dialog menu item 'selected' field
svn-id: r40632
2009-05-17 05:12:10 +00:00
Paul Gilbert
34d3d7c74d Code formatting, added further constant references, and corrected method signatures
svn-id: r39445
2009-03-16 09:45:37 +00:00
Paul Gilbert
979c1e0f6a Fixed some method parameters, changed the main loop to a method of the engine class, and moved the frame delay code to the main loop to make the game more responsive to events
svn-id: r39180
2009-03-07 07:12:10 +00:00
Paul Gilbert
aa34628713 Cleaned up parts of the font display system. Note: Cruise used two almost identical routines for text display - one which creates a draw structure, and the other draws directly to the screen. Since there don't seem to be any other differences, the immediate draw version has been changed to use the rendering version and then draw the results
svn-id: r38994
2009-03-01 02:19:06 +00:00
Max Horn
4c5efaecf4 Code formatting fixes, automatically performed by astyle
svn-id: r35870
2009-01-16 02:43:41 +00:00
Jordi Vilalta Prat
66e9d4f5e8 Removed trailing spaces.
svn-id: r30664
2008-01-27 19:47:41 +00:00
Sven Hesse
884e1e9ae9 Muting the compiler (Sorry again, yaz0r :P)
svn-id: r30016
2007-12-27 17:47:31 +00:00
Vincent Hamm
f953ed4dde Early pathfinding
svn-id: r30012
2007-12-27 12:05:43 +00:00
Vincent Hamm
1b62e2758c Fix input
Fix timming

svn-id: r29990
2007-12-25 21:03:20 +00:00
Vincent Hamm
a3f1767009 Fix title screen regression
svn-id: r29988
2007-12-25 19:32:51 +00:00
Vincent Hamm
7159cc26df Fix blinking character
svn-id: r29987
2007-12-25 18:36:08 +00:00
Vincent Hamm
a2d2f01835 Bunch of gfx fix
svn-id: r29986
2007-12-25 18:11:35 +00:00
Vincent Hamm
be737e074d Fix background save/restore
svn-id: r29979
2007-12-24 16:57:14 +00:00
Vincent Hamm
2d9d0f1b1f -Fade in/fade out
-Implement background mode 5

svn-id: r29968
2007-12-24 01:05:36 +00:00
Vincent Hamm
564fc06cf7 Multiple fix/cleanup
One bug remains before the game is completable without hack

svn-id: r29920
2007-12-20 14:30:51 +00:00
Vincent Hamm
aa62d6355a Fix loading savegame from original interpreter
svn-id: r29901
2007-12-18 20:12:42 +00:00
Filippos Karapetis
f5a537d6f8 Changed some swaps to use the template SWAP
svn-id: r29829
2007-12-11 23:06:12 +00:00
Vincent Hamm
43437e6d74 Menu display fix
Linked objects implementation (barman)
The gameplay is now kind of working and it is possible to play at least the first part of the game

svn-id: r29478
2007-11-11 19:33:25 +00:00
Vincent Hamm
e2260d8afd Implement polygon and sprite masking
svn-id: r29422
2007-11-05 20:24:20 +00:00
Sven Hesse
906a423fa7 Some code formating fixes
svn-id: r29409
2007-11-04 13:01:41 +00:00
Vincent Hamm
6e4037165d Fix a few script issues
svn-id: r29397
2007-11-04 01:11:39 +00:00
Vincent Hamm
dcc71a36eb Click on polygon detection
Object menu fix for doors

svn-id: r29395
2007-11-04 00:31:52 +00:00
Vincent Hamm
3fa3afb1fb More polygon fix (nearly pixel perfect...)
svn-id: r29393
2007-11-03 23:59:54 +00:00
Vincent Hamm
121fc7d569 More polygon fix
svn-id: r29390
2007-11-03 22:44:27 +00:00
Sven Hesse
c069051492 Unleashing the polygon virus! (I.e. fixing a compiler warning and a, what I think is a, logical error. Also changing swaps to use the template SWAP.)
svn-id: r29385
2007-11-03 13:46:45 +00:00
Vincent Hamm
3e3cfca83e Early polygon rewrite
svn-id: r29383
2007-11-03 12:30:02 +00:00
Vincent Hamm
4521634286 Small cleanups
svn-id: r29352
2007-11-01 11:22:11 +00:00
Vincent Hamm
caa451f5d2 Implement more object input
svn-id: r29317
2007-10-29 22:03:55 +00:00
Vincent Hamm
234024f19e Add more object menu controls
svn-id: r29312
2007-10-29 20:56:19 +00:00
Vincent Hamm
0d2d2339fb Early implementation of object menu
svn-id: r29296
2007-10-28 17:40:04 +00:00
Vincent Hamm
cc9b0844b9 Hooked inputs
Cleanup & fix in input management code

svn-id: r29267
2007-10-27 18:15:38 +00:00
Max Horn
3abc11611e Code formatting fixes
svn-id: r28945
2007-09-18 20:16:33 +00:00
Max Horn
4a302b25ad Lots of source code formatting corrections
svn-id: r28887
2007-09-10 13:17:20 +00:00
Max Horn
218e132e37 Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
svn-id: r27024
2007-05-30 21:56:52 +00:00
Vincent Hamm
67ba6b1e40 Figured out the bug that was causing the animations to glitch
svn-id: r26856
2007-05-16 22:44:22 +00:00