Commit Graph

127 Commits

Author SHA1 Message Date
Thierry Crozat
9b374acb2b TONY: Fix undefined behaviour in variadic functions
Passing a type that undergoes default argument promotion as last
argument of a variadic function results in undefined behaviour.
2017-10-06 01:01:16 +01:00
Eugene Sandulenko
b404524599 TONY: Complete class initializations 2016-06-17 12:10:11 +02:00
Eugene Sandulenko
534f723fa5 TONY: Fix buffer overrun 2016-05-04 21:15:51 +02:00
Eugene Sandulenko
0d44f77ab3 TONY: Fix numerous memory leaks 2016-05-03 14:51:18 +02:00
unknown
b0c76b3a17 TONY: Fix disabled ui after capturing guard on Ferris Wheel 2015-04-05 07:50:13 -05:00
Filippos Karapetis
3575235ca6 TONY: Remove trailing whitespace 2014-10-28 16:13:40 +02:00
Strangerke
2218d14fb5 TONY: Remove unused error defines 2014-03-01 16:50:02 +01:00
Strangerke
9d8477b87d TONY: Remove dummy defines 2014-03-01 16:46:31 +01:00
Strangerke
8d8bf74ad6 TONY: Remove unused function declaration in lzo 2014-03-01 16:37:22 +01:00
Strangerke
3ace561178 TONY: Indent code properly in lzo 2014-03-01 16:35:58 +01:00
Strangerke
3f6b51ce55 TONY: Remove dead code in lzo 2014-03-01 16:25:41 +01:00
Strangerke
81d733aec0 TONY: Fix some British comments 2014-02-28 22:49:05 +01:00
Strangerke
f358ec74f7 TONY: Reduce the scope of some more variables 2014-02-28 22:47:36 +01:00
Strangerke
d35f470bf6 TONY: Reduce the scope of some variables, change the return type of findPath() 2014-02-28 22:20:38 +01:00
Johannes Schickel
b9bfa3a857 TONY: Make GPL headers consistent in themselves. 2014-02-18 02:39:39 +01:00
Johannes Schickel
9afeafd3fd TONY: Cleanup (don't compare pointer with false). 2014-01-16 22:58:38 +01:00
Strangerke
f05afb9bff TONY: Janitorial - Fix spacing errors 2013-11-23 10:26:29 +01:00
D G Turner
93c3375244 TONY: Fix compilation on FreeBSD with C++-11 enabled.
This is part of bug #3615056 and is due to NULL being defined as
nullptr when C++-11 is enabled, which is not valid being assigned
to a integer value.
2013-09-28 01:37:15 +01:00
Alyssa Milburn
d1795a21bc TONY: Fix savegames on BE (this breaks compatibility). 2013-08-02 00:01:10 +02:00
Torbjörn Andersson
ad38029e6e TONY: Remove varargs from mpalQueryCORO(). CID 1002105
It didn't always reach va_end(), but rather than adding a call it
makes more sense to just drop the varargs from it, since it didn't
use it anyway.
2013-06-10 20:07:33 +02:00
Torbjörn Andersson
9d28a6f531 TONY: Fix potential memory leak
Unfortunately, I'm not sure where and when this function is called.
But this should be correct. CID 1003575
2013-06-02 22:00:25 +02:00
Willem Jan Palenstijn
8df3c1458d TONY: Fix resource loading on BE systems
Thanks to digitall for debugging and testing.
2012-11-12 08:42:20 +01:00
D G Turner
b8c1b46ae0 TONY: Cleanup whitespace formatting.
This is mainly removal of extraneous blank lines, reformatting indents
to tab characters and other minor non-functional changes to improve
compliance with Code Formatting Conventions.
2012-11-12 00:39:20 +00:00
Johannes Schickel
89abab97e3 JANITORIAL: Remove trailing whitespaces.
Powered by:
git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-09-26 04:17:55 +02:00
Alyssa Milburn
05fbc28767 TONY: Wait for events to pulse in 'threads'.
This fixes some missing animations, which weren't getting an
opportunity to start.
2012-09-07 20:51:20 +02:00
Strangerke
c91a72a9d5 TONY: Some more cleanup 2012-09-06 08:26:08 +02:00
Strangerke
25f4a3fb08 TONY: Misc cleanup 2012-09-06 00:23:59 +02:00
Paul Gilbert
220e945d67 TONY: Bugfix for OFFSETOF macro on 64-bit systems 2012-09-05 22:32:02 +10:00
Paul Gilbert
35a7e79614 TONY: Change to hopefully fix Mingw 64 compilation errors 2012-09-05 20:47:32 +10:00
Strangerke
3ab8ebc4f7 TONY: Move some more code from .h to .cpp files 2012-09-01 02:27:31 +02:00
Strangerke
f2df769aab TONY: More renaming 2012-09-01 00:25:35 +02:00
Strangerke
7fbfbc8e6b TONY: Rename some more variables and structures 2012-08-31 23:08:02 +02:00
Strangerke
825e0896dc TONY: Replace C-style comments by C++-style ones.
Also translate some more Italian comments
2012-08-29 23:25:14 +02:00
Strangerke
766eadeef9 TONY: Translate some remaining Italian comments 2012-08-29 22:47:33 +02:00
Strangerke
a29f1fb04c TONY: Remove some dead code 2012-08-29 08:14:41 +02:00
Strangerke
92a9820f33 TONY: Translate some remaining italian comments 2012-08-29 08:11:52 +02:00
Strangerke
b12ccad994 TONY: Reduce scope of some variables 2012-08-29 00:30:07 +02:00
Strangerke
d2b33ca4cc TONY: Janitorial - remove trailing spaces 2012-08-28 23:25:50 +02:00
Strangerke
56f4bc0225 TONY: Fix some for and if statements with bad coding style 2012-08-28 23:05:48 +02:00
Willem Jan Palenstijn
cdeecf1521 TONY: Replace overlapping memcpy with memmove 2012-08-28 22:50:32 +02:00
Alyssa Milburn
35fd91793b TONY: Get rid of RMDataStream. 2012-08-28 14:26:00 +02:00
Alyssa Milburn
18b1f6d7c6 TONY: Remove unused data dumping code. 2012-08-28 13:33:24 +02:00
Willem Jan Palenstijn
6805c2cec2 TONY: Translate some minor Italian comments 2012-08-27 13:07:34 +02:00
Alyssa Milburn
a9828c8818 TONY: Replace copyMemory with memcpy. 2012-08-25 10:08:10 +02:00
Alyssa Milburn
c340739001 TONY: Replace _vm with g_vm. 2012-08-22 21:51:51 +02:00
Torbjörn Andersson
fab814b774 TONY: Remove unused variable.
It wasn't used in the original engine either.
2012-07-31 21:29:25 +02:00
Torbjörn Andersson
3b40d14152 TONY: Whitespace changes. 2012-07-31 20:36:48 +02:00
Paul Gilbert
0aa3d39cf7 TONY: Remove unused stubs for LZO compression 2012-06-18 19:56:28 +10:00
Strangerke
e8a6f61f88 TONY: Remove useless void in function declaration 2012-06-18 08:24:33 +02:00
Strangerke
31c0210f22 TONY: Missed one word in previous commit (thanks clone2727) 2012-06-17 18:38:34 +02:00