Commit graph

683 commits

Author SHA1 Message Date
D G Turner
9190f6e1c8 FULLPIPE: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.

Also, do minor fixes for readability to switch statements.
2019-11-14 02:44:19 +00:00
Torbjörn Andersson
4eef7a42e3 FULLPIPE: Silence GCC memset() warnings
Recent GCC versions complain if you memset() a class or struct that
contain non-POD data types. Get around that by either initializing
the object when created, or by adding a reset() method.
2019-07-14 14:58:19 +03:00
David Fioramonti
ccd46b7db9 FULLPIPE: Use degree conversion common math funcs
Swapped out the #define ANGLE(X) function that did degrees
to radians.

I have made everything doubles in the angle calculation.
2018-07-03 23:08:48 +01:00
dm33tri
c8cdaef918 FULLPIPE: fix #10321 "Hardlock when stepping onto stool"
Scene 22 now doesn't freeze when pulling lever with stool under it
2018-03-26 21:00:16 +02:00
Eugene Sandulenko
c728c29857 FULLPIPE: More debug output to loading 2017-12-08 23:57:48 +01:00
Eugene Sandulenko
20fb25d58a FULLPIPE: Renames in ExCommand 2017-12-03 23:04:58 +01:00
Colin Snover
715d4bd76a FULLPIPE: Fix memory leaks, ownership issues with various point lists 2017-11-18 22:35:12 +01:00
Colin Snover
bb26bf7994 FULLPIPE: Fix memory leaks and unnecessary indirect allocations in Motion and Sc2 2017-11-18 22:35:12 +01:00
Colin Snover
e2367f3ed2 FULLPIPE: Remove unnecessary and unsafe C-style casts 2017-11-18 22:35:12 +01:00
Colin Snover
073692fd52 FULLPIPE: Reduce chance of Scene leaks, remove unused SceneTag member 2017-11-18 22:35:12 +01:00
Colin Snover
8e8932f38d FULLPIPE: Remove unnecessary and illegal C-style casts 2017-11-18 22:35:12 +01:00
Colin Snover
ff96db23df FULLPIPE: Fix leaks and unnecessary extra allocations in FullpipeEngine 2017-11-18 22:35:12 +01:00
Colin Snover
a25246bebe FULLPIPE: Remove unnecessary extra allocation for RNG 2017-11-18 22:35:12 +01:00
Colin Snover
88a2eaba93 FULLPIPE: Make dimensions/coordinate getters pure functions 2017-11-18 22:35:12 +01:00
Eugene Sandulenko
8f4a662b1d FULLPIPE: Simplify demo check in the engine 2016-12-11 18:36:08 +01:00
Eugene Sandulenko
a95be40dcd FULLPIPE: Properly restart Russian demo 2016-12-11 18:36:08 +01:00
Eugene Sandulenko
fad292cf43 FULLPIPE: Fix crash at the end of Russian demo 2016-12-11 18:36:08 +01:00
Eugene Sandulenko
817ca2a15f FULLPIPE: Initial support for Russian Demo. The demo starts 2016-12-11 15:58:11 +01:00
Eugene Sandulenko
df896e40a7 FULLPIPE: Workaround for cursor in scene26.
Fixes bug #9667
2016-12-11 14:39:30 +01:00
Eugene Sandulenko
5f26c445c9 FULLPIPE: Implemented support for German demo 2016-12-10 17:15:49 +01:00
Eugene Sandulenko
88a3a2bc4d FULLPIPE: Clarify null callback usage across the scenes 2016-12-10 14:42:36 +01:00
Eugene Sandulenko
65c83d8511 FULLPIPE: Fix clock handle in scene08 2016-12-10 14:30:33 +01:00
Eugene Sandulenko
b03b7902eb FULLPIPE: Implement wide scene autoscrolling 2016-12-10 00:05:19 +01:00
Eugene Sandulenko
728e775e83 FULLPIPE: Remove obsolete TODO 2016-12-01 10:54:48 +01:00
Eugene Sandulenko
dec0d3acbc FULLPIPE: Cleanup 2016-12-01 10:53:02 +01:00
Eugene Sandulenko
501681dd24 FULLPIPE: Fix music looping in scene04. This completes this scene 2016-11-30 15:43:13 +01:00
Eugene Sandulenko
d712d2bcff FULLPIPE: Initial code for scene04 music 2016-11-29 19:39:04 +01:00
Eugene Sandulenko
afe8a2bb31 FULLPIPE: Fix sound in scene04 2016-11-29 18:45:04 +01:00
Eugene Sandulenko
5d45f740d3 FULLPIPE: Implement track looping in sceneFinal 2016-11-29 18:45:04 +01:00
Torbjörn Andersson
75e2770fae FULLPIPE: Silence GCC warnings (mostly signed/unsigned ones) 2016-11-28 06:42:47 +01:00
Eugene Sandulenko
b5b5c4f341 FULLPIPE: Start final music 2016-11-25 18:53:16 +01:00
Eugene Sandulenko
a36039f9fe FULLPIPE: Fix bug in original in scene05 2016-11-12 12:35:18 +01:00
Eugene Sandulenko
f9d9bd8106 FULLPIPE: Fix memory leak 2016-11-12 12:35:18 +01:00
Eugene Sandulenko
475ae058e3 FULLPIPE: Fix crash on reentering scene27.
The scene destructor will take care of the allocated bats.
2016-10-04 19:18:14 +02:00
Retro-Junk
3f6ca96c5b FULLPIPE: Scene11: Fix non-swinging swing 2016-10-02 23:31:01 +02:00
Retro-Junk
c20bc7f620 FULLPIPE: Scene11: Rewrite scene handler in a sane way 2016-10-02 23:03:34 +02:00
Eugene Sandulenko
55d9b5e255 FULLPIPE: More corrections to scene logic in scene11 2016-10-02 22:04:31 +02:00
Eugene Sandulenko
ab82cacf23 FULLPIPE: Restore original swing logic in scene11 2016-10-02 21:26:06 +02:00
Retro-Junk
2d4ce853c8 FULLPIPE: Scene11: Preserve Dude's state during swing update 2016-10-02 20:53:48 +02:00
Eugene Sandulenko
5a76ae7ceb FULLPIPE: Fix Grandma positioning in scene14 2016-10-02 15:14:05 +02:00
Eugene Sandulenko
c141baeb61 FULLPIPE: Fix code formatting 2016-10-02 15:11:52 +02:00
Eugene Sandulenko
405c4e0415 FULLPIPE: Improve collision detection in scene06 2016-10-02 13:44:57 +02:00
Eugene Sandulenko
4ddf68ac9a FULLPIPE: Fix ball collision detection in scene14 2016-10-02 13:44:37 +02:00
Eugene Sandulenko
90ec4f6ac5 FULLPIPE: Fix crash on reenter to scene37 2016-10-02 13:01:39 +02:00
Eugene Sandulenko
e2325f022b FULLPIPE: Fix tube logic on scene37 2016-10-02 13:01:39 +02:00
Eugene Sandulenko
e16725a763 FULLPIPE: Rebames in scene37 2016-10-01 23:13:54 +02:00
Eugene Sandulenko
a4758dac41 FULLPIPE: Fix logic in scene25. Now Dude can return back 2016-10-01 21:27:02 +02:00
Eugene Sandulenko
70f9cc5215 FULLPIPE: Further selection to cursor handling in scene25 2016-10-01 21:26:58 +02:00
Eugene Sandulenko
50753f292a FULLPIPE: Fix cursor handling in scene25 2016-10-01 20:45:00 +02:00
Retro-Junk
b624e4e7b7 FULLPIPE: Scene14: Fix ball game 2016-10-01 20:28:54 +02:00