skip dying for patients that are in a room
Order of operations fix in th_movie.cpp

Fixes the test for CODEC_CAP_DELAY to know if we need to flush
buffered frames.
Update brazilian_portuguese.lua

* Small Update to pt-br language
skip "empty action queue" error handler for patients that are going home

this fixes a problem where patients with an empty action queue are
counted as patients sent home or are cured again. the fix for that
caused another bug that is fixed with the commit before in the same
pull request
"dead" mood is no longer set if health drops below 0.1
deactivate "sad6" mood only if patient dies

otherwise there would be exactly one day tick where the person shows no mood at all
Merge pull request #167 from phillipp/feature/skip-dying-in-rooms

Conflicts:
	CorsixTH/Lua/entities/patient.lua
Machine usage - re-done

Changes the way usage is counted for calling for repair, exploding etc
see http://code.google.com/p/corsix-th/issues/detail?id=1352 for more
information.
The current method is based on percentage of use, then oddly explode the
machine at or above 90% usage. So for a machine with a strength of 20
it is exploding whilst still having two uses left! Calls for
repair/urgent repair are also happening too late, so that the siren
never gets the chance to sound.
My proposed change is to forget about percentage used and work on actual
uses that are left. Meaning a machine explodes only when there are no
uses left.

With edits by Stephen Baker <baker.stephen.e@gmail.com>
Merge pull request #111 from MarkL1961/machine-usage
Merge pull request #259 from TheCycoONE/fix_cap_delay

Order of operations fix in th_movie.cpp
Made the annual report window do end of year "game won?" checks

This change is required to make my "288_fix" commit always prevent
issue #286 and is also required to make the "end level?" fax window
visible and usable when its shown at the end of a year.

World:onTick() would first display the fax window for the "end level?"
fax by calling OnEndMonth() and then it would call OnEndYear() which
would open the window for the annual report and consequently close the
"end level?" fax window before a player could see and use it. This fax
window's close() function would also unpause the game while the annual
report window was shown.
Update norwegian.lura
Change game speed with numpad.
Merge pull request #303 from Grimdoc/patch-1

Update norwegian.lua
Readability refactoring + documentation.
Readability refactoring + documentation
minor refactoring
Make buttons to buy/sell furnishings repeat

Addresses issue #307. Some people cannot easily hold down shift
or ctrl and the mouse button at the same time.
Merge pull request #302 from J-Shep/resolvedWinWindow-ReportWindowConflict

Made the annual report window do end of year "game won?" checks
add resolutions 1440x900