scummvm/engines/m4
Max Horn 587811d852 M4: Attempt to fix the broken Rails code
I am not sure how this code could have ever worked without lots of
crashing, but maybe I am missing something... Still, casting an
arbitrary integer value to an int *pointer* and then later dereferencing
it does not seem like a good idea :).

Changed the code to do what I *guess* it was meant to do. But somebody
who actually knows M4 and its games should double check.
2011-05-25 16:42:16 +02:00
..
actor.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
actor.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
animation.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
animation.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
assets.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
assets.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
burger_data.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
compression.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
compression.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
console.cpp M4: Fix leak in Console::cmdDumpFile 2011-05-17 15:04:07 +02:00
console.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
converse.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
converse.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
detection.cpp ENGINES: Unify engine names 2011-05-16 00:11:32 +01:00
dialogs.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
dialogs.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
events.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
events.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
font.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
font.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
globals.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
globals.h M4: Replaced the trouble variable data map code with direct statements. 2011-05-15 09:23:02 +10:00
graphics.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
graphics.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
gui.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
gui.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
hotspot.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
hotspot.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
m4_menus.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
m4_menus.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
m4_scene.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
m4_scene.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
m4_views.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
m4_views.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
m4.cpp M4: Fix leak in Console::cmdDumpFile 2011-05-17 15:04:07 +02:00
m4.h M4: Fix leak in Console::cmdDumpFile 2011-05-17 15:04:07 +02:00
mads_anim.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
mads_anim.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
mads_logic.cpp M4: Replaced the trouble variable data map code with direct statements. 2011-05-15 09:23:02 +10:00
mads_logic.h M4: Replaced the trouble variable data map code with direct statements. 2011-05-15 09:23:02 +10:00
mads_menus.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
mads_menus.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
mads_player.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
mads_player.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
mads_scene.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
mads_scene.h M4: Replaced the trouble variable data map code with direct statements. 2011-05-15 09:23:02 +10:00
mads_views.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
mads_views.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
midi.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
midi.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
module.mk Adding the beginnings of a player control class, as well as various changes to the other classes to support it 2010-07-03 11:50:42 +00:00
rails.cpp M4: Attempt to fix the broken Rails code 2011-05-25 16:42:16 +02:00
rails.h M4: Attempt to fix the broken Rails code 2011-05-25 16:42:16 +02:00
resource.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
resource.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
saveload.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
saveload.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
scene.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
scene.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
script.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
script.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
scripttab.h
sound.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
sound.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
sprite.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
sprite.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
staticres.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
staticres.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
viewmgr.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
viewmgr.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
woodscript.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
woodscript.h GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
ws_machine.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
ws_sequence.cpp GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00