181 Commits

Author SHA1 Message Date
Stephen E. Baker
1156f4054b Remove old map editor
Removes the old map editor and files that only it depended on.
2016-02-09 19:31:20 -05:00
Stephen E. Baker
e91fae07d5 Remove some unused/obsolete files from CorsixTH
CorsixTH.deproj is a Decoda project file. No one is maintaining it.
I opened it recently and found it was not at all complete.

CorsixTH.aps is a Visual Studio auto generated file which should not
have been included in source control.
2015-02-16 21:04:46 -05:00
Edvin Linge
5e003675b6 Ugly commit that
1. Adds the MIT license to the LevelEdit source files.
2. Changes tabs into spaces to use the same standard as our C++ files.
3. Moved the files into a package.

Even though it might look like it there has been no changes to the actual code.
2013-09-01 09:19:10 +00:00
Edvin Linge
c5b66bc3c6 Change: The hover text in the customise dialog is now the long version for both label and button. The designated button tooltip didn't really add anything in my opinion, and if you don't understand that the label has more info you are at a loss. I hope you don't mind Mark. :-)
Added: Automatic update check given that LuaSocket is available.
Added: Some more checks for possibly corrupt files in the Theme Hospital folder. This way I hope we don't get that many bug reports and comments on facebook that are only due to bad original files. Disabled Easy and Hard if those level files are not present.
2013-08-30 11:52:44 +00:00
Ola Skogrand
395b0aeacc Attached patch removes the settings menu from within the game and adds several new menus accessed from the main menu.
Custom maps button is now a lot wider and the tooltip tells you which map you are using and the briefing.
Config options for several things are now in a customise menu
there are switches to add aliens, females with broken bones, building rooms with average contents (patch from Albert), the switch if volume opens the casebook, more nurses in the ward. movies, audio etc
New directory browser (thanks to Edvin) so you can now choose game data location and font location along with locations for your saves, screenshots and mp3s from the same screen.

Changes the selected language to upper case - see issue 1523

Also included 
press Alt + A  = Toggle Announcements
press Alt + M  = Toggle Music
press Alt + S  = Toggle Sound Effects
and also adds Shift and + to zoom in five and Shift and - to zoom out five.
 
see issue 1436 
Adds a config option for zoom speed and scroll speed

see issue 1652 

and smoother zooming see issue 1685 


Thanks MarkL, JuicyJuuce and static.object!
2013-08-18 19:42:47 +00:00
Ola Skogrand
6036e5cd89 Fixes an error where level 8 could be won even if the reputation win criteria is marked with red.
Thanks, MarkL!

Updated norwegian translation.
2013-08-06 19:41:05 +00:00
Edvin Linge
b9e10a1181 Added: Korean, thanks nullstein! 2013-07-18 07:42:57 +00:00
Edvin Linge
8276700de8 Added: Undo/Redo functionality in the MapEditor. Thanks Alan for the patch in issue 1552!
Added: Street lamps and the dead looking tree can be placed in the Map Editor. Adds issue 1562.
2013-04-07 10:38:05 +00:00
Edvin Linge
a8ee64b7f4 Added Koaxnd's (aka snowblind) level editor to the repository. It won't be included in version 0.20, but it will definitely be included in the next release after that. 2013-03-10 20:29:45 +00:00
Darrell Blake
03f1a53599 Mac build changes. 2013-02-25 10:15:44 +00:00
Ryan Hugh Dean
4f250515fe Translation: Adding hungarian language. This is a cleaned up version of strings submitted in 2011. Expecting further updates before 0.20. Further information in issue #896 2013-02-17 22:39:48 +00:00
Stephen E. Baker
15264068e0 Set svn:eol-style=native on new files 2013-02-09 21:33:00 +00:00
Ryan Hugh Dean
856c4b09fc Translation: Adding Brazilian Portuguese language. Thanks to Henrique Poyatos. Might need a bit of a cleanup before final 0.20 (commented out strings etc.) 2013-02-02 00:06:31 +00:00
Edvin Linge
ee66284de1 Added: Possibility to choose font file in the options dialog.
Also changed the browse tooltip for the other languages. It still requires the attention of translators though.

The two strings load_game_window.caption and save_game_window.caption has a new optional input in the form of what the extension is. It is not required though.

Don't require debug mode to be able to dump strings and gamelog.
2013-02-01 21:39:19 +00:00
Maarten Peters
38ed1fa522 Set svn:eol-style=native on some more files.
Or am I doing this wrong?
2013-01-28 17:38:19 +00:00
Stephen E. Baker
ad65002d32 Set svn:eol-style=native on agg/authors and agg/copying. There was a typo in the property name 2013-01-27 22:20:08 +00:00
Stephen E. Baker
3e9c37ee45 svn:eol-style=native on new levels 2013-01-27 18:58:46 +00:00
Maarten Peters
9e1b6db81d Sorry, renaming these custom maps resulted in errors by starting them. 2013-01-27 17:28:55 +00:00
Maarten Peters
c1872d2d52 Added two custom maps for testing for next release.
They are both made by developers of CorsixTH.
According to issue 1453.
2013-01-27 17:20:21 +00:00
Maarten Peters
609118752b Prepairing for testing the RC of version 0.20 in March 2013-01-26 19:09:10 +00:00
Stephen E. Baker
49ed4b7c60 Set svn:eol-style=native on more files 2013-01-24 00:08:18 +00:00
Jørgen P. Tjernø
cd5be30b76 Set svn:eol-style on more files. 2013-01-22 04:55:25 +00:00
Stephen E. Baker
8694eb33e3 Set svn:eol-style on graphs.lua 2013-01-19 13:37:17 +00:00
Stephen E. Baker
f98e1a2e5c Set svn:eol-style=native on several files that it had been missing on.
Add .gitattributes to provide git users with similar functionality.
2013-01-16 19:15:08 +00:00
Edvin Linge
0480fb0dc2 Added: Graphs in the graph dialog.
Fix: The number of visitors to the hospital were not logged correctly.
2013-01-15 20:25:57 +00:00
Stephen E. Baker
22f302c115 Adds original movies from Theme Hospital to CorsixTH. See issue 1428 for more information. 2013-01-11 03:17:58 +00:00
Edvin Linge
93d6fbe82c Fix: Don't throw an unrecoverable error just because the TH install directory is wrong. Show the directory browser instead.
Fix: Save config changes immediately.
Change: Only show the "this is your first message" advisor message if playing the campaign. Players playing custom maps probably know about that already...

Added: The first-time-for-pay-raise advisor message.
Added: User actions are no longer allowed by default (for new games) when the game is paused. When trying this it might seem like it doesn't work correctly, but I've tried to mimic the original as much as possible. This for example means that a staff member being placed as you pause will disappear from the cursor. We might want to change the behaviour in the future though. Fixes issue 164.
2013-01-07 09:53:14 +00:00
Edvin Linge
4eeb05f96f Some more text files now have the eol-style property set to native. 2012-11-24 20:28:26 +00:00
Edvin Linge
0eec0d0953 Set the eol-style property for some more text files. Just a few left. :-) 2012-11-23 20:26:31 +00:00
Edvin Linge
de7e50d489 eol-style was not set for some files. 2012-11-22 06:35:02 +00:00
Edvin Linge
e4ac40e601 Added: New icons for the Animation Viewer and the Map Editor. Thanks Wolter!
Fix: Patch by Stephen resolving some leaks in rnc.cpp. Thank you!
2012-09-09 11:03:32 +00:00
Ola Skogrand
e40e644998 Updated test procedure. 2012-08-16 15:09:04 +00:00
Edvin Linge
af0c6dabbd In debug mode all gamelog output is now also displayed in the command prompt.
Fix: Litter was not properly removed from the world.

Changed the order in which afterLoad is handled. It is now world -> hospitals -> entities -> rooms.

Started working on some kind of test procedure when getting close to a new release. (Aha!)
2012-08-16 07:34:30 +00:00
Edvin Linge
e41948cfe6 Added: Another overlay according to issue 490.
Change: Don't show all the tiles that you are not supposed to use when building a map, since the game might not be able to handle them. Also in issue 490.
2012-08-11 10:40:41 +00:00
Edvin Linge
c173ff5c81 Fix: Aliens were not correctly specified on levels 11 and 12. Fixes issues 983 and 900.
Fix: The wrong amount of money was refunded when removing a room. It is now better, but still not optimal. Thanks Mark L!
Fix: Adviser priorities didn't always work with old savegames.
Fix: The VIP could sometimes permanently block a door. Now he doesn't block doors at all, mimicking the behaviour in TH97.
Fix: Patients always went to the nearest reception desk, now they also consider queues.

Added: A bunch of new awards at year end. Note that these may not be available until you start a new game depending on which original TH files you use.
2012-03-08 15:15:18 +00:00
Ola Skogrand
0392ced47b An update to the animations patch.
Also includes some files that were somehow missed in the latest revision.

Thanks, MarkL!
2011-11-29 02:36:28 +00:00
Ola Skogrand
a29d4d3442 New animations: some patients can fall over and some can shake there fist in anger when they have fallen (these are for when there are earth quakes in the game, but for now you may see them before then if you are lucky).
Some patients might yawn if they are kept waiting.

Tweaked the diag process some more so that a consultant or other high skilled Dr can diagnose in one attempt.

Corrected what is believed to be a small spelling mistake in the build dialog from "payed" to "paid".

Changed the room name to the longer string for all rooms for the messages that show when you place staff in the wrong rooms (the adviser message should now make more sense), also now a message if you place a Dr or Nurse in the toilets.

Small change to the adviser messages about seating so that you are not told too often about needing benches.


Thanks, MarkL!
2011-11-27 21:25:43 +00:00
Edvin Linge
e8ef33ad1a Fix: Suppress some unnecessary error printouts when the TH install path has not been initialized.
Upated Portuguese according to issue 804. Thanks sr.ribeiro!

Moved around dialog files a little.
2011-11-06 11:06:07 +00:00
Edvin Linge
3ba9506b4b An update to AnimView from Todd. Thanks for you hard work! 2011-10-25 13:00:03 +00:00
Edvin Linge
41c8b342b9 Fix: Patients sitting down, but about to get a soda got ordered to sit down again.
Fix: If a patient for some reason thinks he/she is sitting down, but isn't, the game will no longer crash because of it.
Fix: Don't display a false error when showing saved games using Linux.
Change: Information dialogs about new rooms are only shown if playing the campaign. They are also off by default if in debug mode, but can still be toggled using the shortcut "I". 
Added: The adviser can be turned off from the top menu, and the setting is saved between sessions.

A few cleanups.

Also updated the main menu background, game icon and Windows installer welcome image with the new logo.
2011-10-25 12:34:40 +00:00
Edvin Linge
a79b736ac7 Added: Save music, sound and announcement volumes and on/off setting. Resolves issue 723
Change: Let the custom game dialog and debug patient dialog keep their "save/load dialog" look. In essence I've split menu_list_dialog.lua into a new file_browser.
Fix: Don't mix good and bad descriptions of staff. Fixes issue 1012. Thanks Mark!
2011-09-21 18:54:53 +00:00
Chris James
3e7b6fd882 VIPs implemented by John Pirie, see issue 995 for documentation and discussion. 2011-09-14 09:39:40 +00:00
Ola Skogrand
7ef4f2c538 Fix for r788:
Adds the missing diagnosis rooms to the diseases.
Removes some rooms that don't appear to be used in the original
Adds the guessing of cures (with the chance to kill the patient).

Thanks, MarkL!
2011-09-04 17:09:51 +00:00
Ola Skogrand
753625c102 Some patients are now checking their watches when waiting for a while and then starts tapping the foot if getting angry at waiting. 2011-09-03 18:00:28 +00:00
Chris James
df84d21f92 Mark.L's pee & misc. patch
-- implements pee
-- stops people puking on top of puke
-- makes people UNHAPPY when they puke, pee in the hall, are low health, see litter (worse if it's bodily fluids), or see a sad plant,
-- makes people HAPPY when they see a healthy plant or are near a fire extinguisher
-- being unhappy might make someone puke
-- tweaked (up) how much heat effects thirst
-- make some diseases (gut rot, squits) effect how much patients need to use the bathroom
-- implemented all the trash types (random on drop)
-- made it so you can't build on litter (but cleaning it resets it)
-- prevents pee and puke piling up
2011-08-11 22:01:31 +00:00
Ola Skogrand
185b65013d Uploaded this for extra...@googlemail.com
"I just finished polish translation.
I based on czech lua file (thanks Zbyněk).
I would like to thank the community of grajpopolsku.pl for helping with this translation, especially to Bemberg and Machiner for making corrections."
2011-07-31 01:36:07 +00:00
Darrell Blake
1e992217c8 Initial vomit check in for people to test out. 2011-07-12 18:45:06 +00:00
Manuel Wolf
d66b1f3328 Fix: Crash when Alien Patients sat on a bench. Now they do not sit down while queuing, and if they did the standard human animation is used as a fallback.
Fix: Removed some leftover debug prints.
2011-06-23 00:50:30 +00:00
Edvin Linge
1a6f7d5560 The usual... I always forget new files! 2011-06-22 18:43:35 +00:00
Manuel Wolf
95b98ce6c9 Feature: DNA Fixer Machine and Room, Alien DNA disease.
Add: Morph support for use_object (not only multi_use_object)
Add: Possibility to mirror individual anims of object.usage_animations (mirror / mirror_morph flags).
Add: Possibility to display normal (idle) object animation during any of usage_animations (object_visible flag). KNOWN BUG: idle animation is currently shown in front.
Change: Split Humanoid type "Alien Patient" into female and male variant.
Fix: Error when debug patients died.
Fix: Some windows (UIBankManager, UIBottomPanel) did not call afterLoad of their superclass.
Fix: Some code regarding patients without thirst and toilet_need attributes (read: aliens) did not work as intended. Also code to compute the average (to be shown in progress report) did not consider these kinds of patients. 
Fix: Numbers given in room.categories are supposed to be unique.
Add: Utility functions for flag handling: flag_isset, flag_set, flag_clear, flag_toggle.
2011-06-22 17:26:33 +00:00