Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Orgad Shaneh
52e1aa78a0
CRUISE: Use nullptr
...
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
Paul Gilbert
0136043f09
COMMON: Revert Change Rect and Point to have int32 fields
...
This reverts commit 1c3e7fb4e9 .
2021-07-06 20:35:42 -07:00
Paul Gilbert
1c3e7fb4e9
COMMON: Change Rect and Point to have int32 fields
2021-07-04 18:24:26 -07:00
D G Turner
b0ed255b39
CRUISE: Fix Missing Default Switch Cases
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-10-19 18:47:34 +01:00
Strangerke
51184eab9d
CRUISE: Remove some useless variables, use a boolean for a variable
2014-06-10 07:25:35 +02:00
Strangerke
ff93aef6ec
CRUISE: Initialize some variables in the contractor, change some variables to boolean
2014-06-09 17:53:27 +02:00
Strangerke
3c1c080c3a
CRUISE: Fix some more CppCheck warnings
2014-06-06 23:18:47 +02:00
Strangerke
1dbcd74988
CRUISE: Reduce the scope of variables used in the for loops
2014-06-01 01:21:32 +02:00
Johannes Schickel
00b6dfe9cf
CRUISE: Make GPL headers consistent in themselves.
2014-02-18 02:39:33 +01:00
Tarek Soliman
a4798602d7
JANITORIAL: Fix missing whitespace in pointer cast
...
find -name '*.h' -or -name '*.cpp' | xargs sed -r -i 's@\(([A-Za-z0-9]+)\*\)@(\1 *)@g'
This seems to have caught some params as well which is not undesirable IMO.
It also caught some strings containing this which is undesirable so I
excluded them manually. (engines/sci/engine/kernel_tables.h)
2012-02-15 10:07:10 -06:00
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