aboutsummaryrefslogtreecommitdiffstats
path: root/games/corsix-th
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2010-11-25 01:24:37 +0800
committerdanfe <danfe@FreeBSD.org>2010-11-25 01:24:37 +0800
commite1ac00b97d9682c6002a8352630fa707f7197dbe (patch)
tree136d526871677b396b2693e49a6a77e65dc61252 /games/corsix-th
parent872708d412031ef05c0dca6bb2c07847def3c825 (diff)
downloadfreebsd-ports-gnome-e1ac00b97d9682c6002a8352630fa707f7197dbe.tar.gz
freebsd-ports-gnome-e1ac00b97d9682c6002a8352630fa707f7197dbe.tar.zst
freebsd-ports-gnome-e1ac00b97d9682c6002a8352630fa707f7197dbe.zip
Welcome CorsixTH, an open source clone of Theme Hospital.
WWW: http://th.corsix.org/
Diffstat (limited to 'games/corsix-th')
-rw-r--r--games/corsix-th/Makefile37
-rw-r--r--games/corsix-th/distinfo2
-rw-r--r--games/corsix-th/pkg-descr19
-rw-r--r--games/corsix-th/pkg-plist298
4 files changed, 356 insertions, 0 deletions
diff --git a/games/corsix-th/Makefile b/games/corsix-th/Makefile
new file mode 100644
index 000000000000..6f76eb04567f
--- /dev/null
+++ b/games/corsix-th/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: CorsixTH
+# Date created: 24 Nov 2010
+# Whom: Alexey Dokuchaev <danfe@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= corsixth
+DISTVERSION= 0.Beta4
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
+PROJECTHOST= corsix-th
+DISTNAME= CorsixTH-${DISTVERSION:S/0.//}-Source
+
+MAINTAINER= danfe@FreeBSD.org
+COMMENT= Open source clone of Theme Hospital
+
+RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity
+
+USE_CMAKE= yes
+USE_LUA= yes
+USE_SDL= mixer
+
+post-patch:
+# Allow the game to find its resources without wrapper scripts
+ @${REINPLACE_CMD} -e \
+ '/return loadfile/s,name,\\"${DATADIR}/\\" .. &,' \
+ ${WRKSRC}/CorsixTH/Src/main.cpp
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/CorsixTH/CorsixTH ${PREFIX}/bin
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/CorsixTH/CorsixTH.lua ${DATADIR}
+ cd ${WRKSRC}/CorsixTH && ${COPYTREE_SHARE} "Bitmap Levels Lua" \
+ ${DATADIR}
+
+.include <bsd.port.mk>
diff --git a/games/corsix-th/distinfo b/games/corsix-th/distinfo
new file mode 100644
index 000000000000..7b48f1be7ee6
--- /dev/null
+++ b/games/corsix-th/distinfo
@@ -0,0 +1,2 @@
+SHA256 (CorsixTH-Beta4-Source.tar.gz) = 960f6d9b24c24477675fa1f231b4b7905c83b866524ae4a001a5a9dac463e453
+SIZE (CorsixTH-Beta4-Source.tar.gz) = 2319515
diff --git a/games/corsix-th/pkg-descr b/games/corsix-th/pkg-descr
new file mode 100644
index 000000000000..5db237ec873c
--- /dev/null
+++ b/games/corsix-th/pkg-descr
@@ -0,0 +1,19 @@
+This project aims to reimplement the game engine of Theme Hospital, and be
+able to load the original game data files. This means that you will need
+a purchased copy of Theme Hospital, or a copy of the demo, in order to use
+CorsixTH. After most of the original engine has been reimplemented, the
+the project will serve as a base from which extensions and improvements to
+the original game can be made.
+
+At the moment, game assets (graphics, sounds, levels, translations, etc.)
+are loaded from the original game files. Therefore, you will require a
+pre-existing Theme Hospital install in order to use CorsixTH. If you've
+got a copy of the original game disk lying around, then great -- copy the
+HOSP folder (which should contain directories called Data, QData, Levels,
+etc.) from the root of the CD to somewhere on your hard drive, and use
+this for the theme_hospital_install setting later. If you are unable to
+acquire the full game data files, then the demo can be downloaded easily
+and used instead (though the demo only has one level, and lacks most of
+the management screens).
+
+WWW: http://th.corsix.org/
diff --git a/games/corsix-th/pkg-plist b/games/corsix-th/pkg-plist
new file mode 100644
index 000000000000..93e655785308
--- /dev/null
+++ b/games/corsix-th/pkg-plist
@@ -0,0 +1,298 @@
+bin/CorsixTH
+%%DATADIR%%/Bitmap/aux_ui.dat
+%%DATADIR%%/Bitmap/aux_ui.spec
+%%DATADIR%%/Bitmap/aux_ui.tab
+%%DATADIR%%/Bitmap/bootstrap_font.bmp
+%%DATADIR%%/Bitmap/bootstrap_font.dat
+%%DATADIR%%/Bitmap/bootstrap_font.pal
+%%DATADIR%%/Bitmap/bootstrap_font.tab
+%%DATADIR%%/Bitmap/build_room_dialog_close.bmp
+%%DATADIR%%/Bitmap/flag_buildable.bmp
+%%DATADIR%%/Bitmap/flag_hospital.bmp
+%%DATADIR%%/Bitmap/flag_passable.bmp
+%%DATADIR%%/Bitmap/flag_travel_east.bmp
+%%DATADIR%%/Bitmap/flag_travel_north.bmp
+%%DATADIR%%/Bitmap/flag_travel_south.bmp
+%%DATADIR%%/Bitmap/flag_travel_west.bmp
+%%DATADIR%%/Bitmap/flags32.png
+%%DATADIR%%/Bitmap/fullscreen_border_bottom.bmp
+%%DATADIR%%/Bitmap/fullscreen_border_bottomleft.bmp
+%%DATADIR%%/Bitmap/fullscreen_border_bottomright.bmp
+%%DATADIR%%/Bitmap/fullscreen_border_left.bmp
+%%DATADIR%%/Bitmap/fullscreen_border_right.bmp
+%%DATADIR%%/Bitmap/fullscreen_border_top.bmp
+%%DATADIR%%/Bitmap/fullscreen_border_topleft.bmp
+%%DATADIR%%/Bitmap/fullscreen_border_topright.bmp
+%%DATADIR%%/Bitmap/lib_bmp.lua
+%%DATADIR%%/Bitmap/lib_spritesheet.lua
+%%DATADIR%%/Bitmap/mainmenu1080.bmp
+%%DATADIR%%/Bitmap/mainmenu1080.dat
+%%DATADIR%%/Bitmap/mainmenu1080.pal
+%%DATADIR%%/Bitmap/map_cell_outline.bmp
+%%DATADIR%%/Bitmap/map_cell_outline_east.bmp
+%%DATADIR%%/Bitmap/map_cell_outline_north.bmp
+%%DATADIR%%/Bitmap/map_cell_outline_south.bmp
+%%DATADIR%%/Bitmap/map_cell_outline_west.bmp
+%%DATADIR%%/Bitmap/mkbootstrap.lua
+%%DATADIR%%/Bitmap/mkfont.lua
+%%DATADIR%%/Bitmap/mkraw.lua
+%%DATADIR%%/Bitmap/mksheet.lua
+%%DATADIR%%/Bitmap/new32.png
+%%DATADIR%%/Bitmap/open32.png
+%%DATADIR%%/Bitmap/parcels32.png
+%%DATADIR%%/Bitmap/readme.txt
+%%DATADIR%%/Bitmap/save32.png
+%%DATADIR%%/Bitmap/transparent_walls32.png
+%%DATADIR%%/Bitmap/tree_collapsed.bmp
+%%DATADIR%%/Bitmap/tree_ctrl.dat
+%%DATADIR%%/Bitmap/tree_ctrl.pal
+%%DATADIR%%/Bitmap/tree_ctrl.spec
+%%DATADIR%%/Bitmap/tree_ctrl.tab
+%%DATADIR%%/Bitmap/tree_expanded.bmp
+%%DATADIR%%/Bitmap/tree_leaf.bmp
+%%DATADIR%%/Bitmap/tree_level.bmp
+%%DATADIR%%/Levels/Example.map
+%%DATADIR%%/Levels/example.level
+%%DATADIR%%/Lua/api_version.lua
+%%DATADIR%%/Lua/app.lua
+%%DATADIR%%/Lua/audio.lua
+%%DATADIR%%/Lua/class.lua
+%%DATADIR%%/Lua/config_finder.lua
+%%DATADIR%%/Lua/diagnosis/diag_blood_machine.lua
+%%DATADIR%%/Lua/diagnosis/diag_cardiogram.lua
+%%DATADIR%%/Lua/diagnosis/diag_general_diag.lua
+%%DATADIR%%/Lua/diagnosis/diag_gp.lua
+%%DATADIR%%/Lua/diagnosis/diag_psych.lua
+%%DATADIR%%/Lua/diagnosis/diag_scanner.lua
+%%DATADIR%%/Lua/diagnosis/diag_ultrascan.lua
+%%DATADIR%%/Lua/diagnosis/diag_ward.lua
+%%DATADIR%%/Lua/diagnosis/diag_x_ray.lua
+%%DATADIR%%/Lua/dialogs/adviser.lua
+%%DATADIR%%/Lua/dialogs/annual_report.lua
+%%DATADIR%%/Lua/dialogs/bank_manager.lua
+%%DATADIR%%/Lua/dialogs/bottom_panel.lua
+%%DATADIR%%/Lua/dialogs/build_room.lua
+%%DATADIR%%/Lua/dialogs/confirm_dialog.lua
+%%DATADIR%%/Lua/dialogs/custom_game.lua
+%%DATADIR%%/Lua/dialogs/directory_browser.lua
+%%DATADIR%%/Lua/dialogs/drug_casebook.lua
+%%DATADIR%%/Lua/dialogs/edit_room.lua
+%%DATADIR%%/Lua/dialogs/fax.lua
+%%DATADIR%%/Lua/dialogs/fullscreen.lua
+%%DATADIR%%/Lua/dialogs/furnish_corridor.lua
+%%DATADIR%%/Lua/dialogs/hire_staff.lua
+%%DATADIR%%/Lua/dialogs/hospital_policy.lua
+%%DATADIR%%/Lua/dialogs/information.lua
+%%DATADIR%%/Lua/dialogs/jukebox.lua
+%%DATADIR%%/Lua/dialogs/load_game.lua
+%%DATADIR%%/Lua/dialogs/lua_console.lua
+%%DATADIR%%/Lua/dialogs/machine_dialog.lua
+%%DATADIR%%/Lua/dialogs/main_menu.lua
+%%DATADIR%%/Lua/dialogs/make_debug_patient.lua
+%%DATADIR%%/Lua/dialogs/map_editor.lua
+%%DATADIR%%/Lua/dialogs/menu.lua
+%%DATADIR%%/Lua/dialogs/menu_list_dialog.lua
+%%DATADIR%%/Lua/dialogs/message.lua
+%%DATADIR%%/Lua/dialogs/new_game.lua
+%%DATADIR%%/Lua/dialogs/options.lua
+%%DATADIR%%/Lua/dialogs/patient.lua
+%%DATADIR%%/Lua/dialogs/place_objects.lua
+%%DATADIR%%/Lua/dialogs/place_staff.lua
+%%DATADIR%%/Lua/dialogs/progress_report.lua
+%%DATADIR%%/Lua/dialogs/queue_dialog.lua
+%%DATADIR%%/Lua/dialogs/research_policy.lua
+%%DATADIR%%/Lua/dialogs/resizable.lua
+%%DATADIR%%/Lua/dialogs/save_game.lua
+%%DATADIR%%/Lua/dialogs/staff_dialog.lua
+%%DATADIR%%/Lua/dialogs/staff_management.lua
+%%DATADIR%%/Lua/dialogs/staff_rise.lua
+%%DATADIR%%/Lua/dialogs/tip_of_the_day.lua
+%%DATADIR%%/Lua/dialogs/town_map.lua
+%%DATADIR%%/Lua/dialogs/tree_ctrl.lua
+%%DATADIR%%/Lua/dialogs/watch.lua
+%%DATADIR%%/Lua/diseases/baldness.lua
+%%DATADIR%%/Lua/diseases/bloaty_head.lua
+%%DATADIR%%/Lua/diseases/broken_heart.lua
+%%DATADIR%%/Lua/diseases/broken_wind.lua
+%%DATADIR%%/Lua/diseases/chronic_nosehair.lua
+%%DATADIR%%/Lua/diseases/corrugated_ankles.lua
+%%DATADIR%%/Lua/diseases/discrete_itching.lua
+%%DATADIR%%/Lua/diseases/fake_blood.lua
+%%DATADIR%%/Lua/diseases/fractured_bones.lua
+%%DATADIR%%/Lua/diseases/gastric_ejections.lua
+%%DATADIR%%/Lua/diseases/golf_stones.lua
+%%DATADIR%%/Lua/diseases/gut_rot.lua
+%%DATADIR%%/Lua/diseases/hairyitis.lua
+%%DATADIR%%/Lua/diseases/heaped_piles.lua
+%%DATADIR%%/Lua/diseases/infectious_laughter.lua
+%%DATADIR%%/Lua/diseases/invisibility.lua
+%%DATADIR%%/Lua/diseases/iron_lungs.lua
+%%DATADIR%%/Lua/diseases/jellyitis.lua
+%%DATADIR%%/Lua/diseases/kidney_beans.lua
+%%DATADIR%%/Lua/diseases/king_complex.lua
+%%DATADIR%%/Lua/diseases/ruptured_nodules.lua
+%%DATADIR%%/Lua/diseases/serious_radiation.lua
+%%DATADIR%%/Lua/diseases/slack_tongue.lua
+%%DATADIR%%/Lua/diseases/sleeping_illness.lua
+%%DATADIR%%/Lua/diseases/spare_ribs.lua
+%%DATADIR%%/Lua/diseases/sweaty_palms.lua
+%%DATADIR%%/Lua/diseases/the_squits.lua
+%%DATADIR%%/Lua/diseases/third_degree_sideburns.lua
+%%DATADIR%%/Lua/diseases/transparency.lua
+%%DATADIR%%/Lua/diseases/tv_personalities.lua
+%%DATADIR%%/Lua/diseases/uncommon_cold.lua
+%%DATADIR%%/Lua/diseases/unexpected_swelling.lua
+%%DATADIR%%/Lua/entities/humanoid.lua
+%%DATADIR%%/Lua/entities/machine.lua
+%%DATADIR%%/Lua/entities/object.lua
+%%DATADIR%%/Lua/entities/patient.lua
+%%DATADIR%%/Lua/entities/staff.lua
+%%DATADIR%%/Lua/entity.lua
+%%DATADIR%%/Lua/filesystem.lua
+%%DATADIR%%/Lua/game_ui.lua
+%%DATADIR%%/Lua/graphics.lua
+%%DATADIR%%/Lua/hospital.lua
+%%DATADIR%%/Lua/humanoid_actions/die.lua
+%%DATADIR%%/Lua/humanoid_actions/idle.lua
+%%DATADIR%%/Lua/humanoid_actions/knock_door.lua
+%%DATADIR%%/Lua/humanoid_actions/meander.lua
+%%DATADIR%%/Lua/humanoid_actions/multi_use_object.lua
+%%DATADIR%%/Lua/humanoid_actions/pickup.lua
+%%DATADIR%%/Lua/humanoid_actions/queue.lua
+%%DATADIR%%/Lua/humanoid_actions/seek_reception.lua
+%%DATADIR%%/Lua/humanoid_actions/seek_room.lua
+%%DATADIR%%/Lua/humanoid_actions/seek_staffroom.lua
+%%DATADIR%%/Lua/humanoid_actions/seek_toilets.lua
+%%DATADIR%%/Lua/humanoid_actions/spawn.lua
+%%DATADIR%%/Lua/humanoid_actions/staff_reception.lua
+%%DATADIR%%/Lua/humanoid_actions/use_object.lua
+%%DATADIR%%/Lua/humanoid_actions/use_screen.lua
+%%DATADIR%%/Lua/humanoid_actions/use_staffroom.lua
+%%DATADIR%%/Lua/humanoid_actions/walk.lua
+%%DATADIR%%/Lua/key_mapping.lua
+%%DATADIR%%/Lua/languages/danish.lua
+%%DATADIR%%/Lua/languages/developer.lua
+%%DATADIR%%/Lua/languages/dutch.lua
+%%DATADIR%%/Lua/languages/english.lua
+%%DATADIR%%/Lua/languages/finnish.lua
+%%DATADIR%%/Lua/languages/french.lua
+%%DATADIR%%/Lua/languages/german.lua
+%%DATADIR%%/Lua/languages/italian.lua
+%%DATADIR%%/Lua/languages/norwegian.lua
+%%DATADIR%%/Lua/languages/original_strings.lua
+%%DATADIR%%/Lua/languages/portuguese.lua
+%%DATADIR%%/Lua/languages/simplified_chinese.lua
+%%DATADIR%%/Lua/languages/spanish.lua
+%%DATADIR%%/Lua/languages/swedish.lua
+%%DATADIR%%/Lua/map.lua
+%%DATADIR%%/Lua/objects/analyser.lua
+%%DATADIR%%/Lua/objects/autopsy.lua
+%%DATADIR%%/Lua/objects/bed.lua
+%%DATADIR%%/Lua/objects/bench.lua
+%%DATADIR%%/Lua/objects/bin.lua
+%%DATADIR%%/Lua/objects/bookcase.lua
+%%DATADIR%%/Lua/objects/cabinet.lua
+%%DATADIR%%/Lua/objects/chair.lua
+%%DATADIR%%/Lua/objects/comfortable_chair.lua
+%%DATADIR%%/Lua/objects/computer.lua
+%%DATADIR%%/Lua/objects/console.lua
+%%DATADIR%%/Lua/objects/couch.lua
+%%DATADIR%%/Lua/objects/crash_trolley.lua
+%%DATADIR%%/Lua/objects/desk.lua
+%%DATADIR%%/Lua/objects/door.lua
+%%DATADIR%%/Lua/objects/doors/entrance_left_door.lua
+%%DATADIR%%/Lua/objects/doors/entrance_right_door.lua
+%%DATADIR%%/Lua/objects/doors/swing_door_left.lua
+%%DATADIR%%/Lua/objects/doors/swing_door_right.lua
+%%DATADIR%%/Lua/objects/drinks_machine.lua
+%%DATADIR%%/Lua/objects/fire_extinguisher.lua
+%%DATADIR%%/Lua/objects/helicopter.lua
+%%DATADIR%%/Lua/objects/lecture_chair.lua
+%%DATADIR%%/Lua/objects/litter.lua
+%%DATADIR%%/Lua/objects/loo.lua
+%%DATADIR%%/Lua/objects/machines/blood_machine.lua
+%%DATADIR%%/Lua/objects/machines/cardio.lua
+%%DATADIR%%/Lua/objects/machines/cast_remover.lua
+%%DATADIR%%/Lua/objects/machines/electrolyser.lua
+%%DATADIR%%/Lua/objects/machines/hair_restorer.lua
+%%DATADIR%%/Lua/objects/machines/inflator.lua
+%%DATADIR%%/Lua/objects/machines/jelly_moulder.lua
+%%DATADIR%%/Lua/objects/machines/operating_table.lua
+%%DATADIR%%/Lua/objects/machines/operating_table_b.lua
+%%DATADIR%%/Lua/objects/machines/scanner.lua
+%%DATADIR%%/Lua/objects/machines/shower.lua
+%%DATADIR%%/Lua/objects/machines/slicer.lua
+%%DATADIR%%/Lua/objects/machines/ultrascanner.lua
+%%DATADIR%%/Lua/objects/machines/x_ray.lua
+%%DATADIR%%/Lua/objects/op_sink1.lua
+%%DATADIR%%/Lua/objects/op_sink2.lua
+%%DATADIR%%/Lua/objects/pharmacy_cabinet.lua
+%%DATADIR%%/Lua/objects/plant.lua
+%%DATADIR%%/Lua/objects/pool_table.lua
+%%DATADIR%%/Lua/objects/projector.lua
+%%DATADIR%%/Lua/objects/radiation_shield.lua
+%%DATADIR%%/Lua/objects/radiation_shield_b.lua
+%%DATADIR%%/Lua/objects/radiator.lua
+%%DATADIR%%/Lua/objects/reception_desk.lua
+%%DATADIR%%/Lua/objects/screen.lua
+%%DATADIR%%/Lua/objects/sink.lua
+%%DATADIR%%/Lua/objects/skeleton.lua
+%%DATADIR%%/Lua/objects/sofa.lua
+%%DATADIR%%/Lua/objects/surgeon_screen.lua
+%%DATADIR%%/Lua/objects/tv.lua
+%%DATADIR%%/Lua/objects/video_game.lua
+%%DATADIR%%/Lua/objects/x_ray_viewer.lua
+%%DATADIR%%/Lua/persistance.lua
+%%DATADIR%%/Lua/queue.lua
+%%DATADIR%%/Lua/room.lua
+%%DATADIR%%/Lua/rooms/blood_machine_room.lua
+%%DATADIR%%/Lua/rooms/cardiogram.lua
+%%DATADIR%%/Lua/rooms/decontamination.lua
+%%DATADIR%%/Lua/rooms/electrolysis.lua
+%%DATADIR%%/Lua/rooms/fracture_clinic.lua
+%%DATADIR%%/Lua/rooms/general_diag.lua
+%%DATADIR%%/Lua/rooms/gp.lua
+%%DATADIR%%/Lua/rooms/hair_restoration.lua
+%%DATADIR%%/Lua/rooms/inflation.lua
+%%DATADIR%%/Lua/rooms/jelly_vat.lua
+%%DATADIR%%/Lua/rooms/operating_theatre.lua
+%%DATADIR%%/Lua/rooms/pharmacy.lua
+%%DATADIR%%/Lua/rooms/psych.lua
+%%DATADIR%%/Lua/rooms/research.lua
+%%DATADIR%%/Lua/rooms/scanner_room.lua
+%%DATADIR%%/Lua/rooms/slack_tongue.lua
+%%DATADIR%%/Lua/rooms/staff_room.lua
+%%DATADIR%%/Lua/rooms/toilets.lua
+%%DATADIR%%/Lua/rooms/training.lua
+%%DATADIR%%/Lua/rooms/ultrascan.lua
+%%DATADIR%%/Lua/rooms/ward.lua
+%%DATADIR%%/Lua/rooms/x_ray_room.lua
+%%DATADIR%%/Lua/sprite_viewer.lua
+%%DATADIR%%/Lua/staff_profile.lua
+%%DATADIR%%/Lua/strict.lua
+%%DATADIR%%/Lua/strings.lua
+%%DATADIR%%/Lua/ui.lua
+%%DATADIR%%/Lua/utility.lua
+%%DATADIR%%/Lua/walls/blue.lua
+%%DATADIR%%/Lua/walls/external.lua
+%%DATADIR%%/Lua/walls/green.lua
+%%DATADIR%%/Lua/walls/white.lua
+%%DATADIR%%/Lua/walls/yellow.lua
+%%DATADIR%%/Lua/window.lua
+%%DATADIR%%/Lua/world.lua
+%%DATADIR%%/CorsixTH.lua
+@dirrm %%DATADIR%%/Lua/walls
+@dirrm %%DATADIR%%/Lua/rooms
+@dirrm %%DATADIR%%/Lua/objects/machines
+@dirrm %%DATADIR%%/Lua/objects/doors
+@dirrm %%DATADIR%%/Lua/objects
+@dirrm %%DATADIR%%/Lua/languages
+@dirrm %%DATADIR%%/Lua/humanoid_actions
+@dirrm %%DATADIR%%/Lua/entities
+@dirrm %%DATADIR%%/Lua/diseases
+@dirrm %%DATADIR%%/Lua/dialogs
+@dirrm %%DATADIR%%/Lua/diagnosis
+@dirrm %%DATADIR%%/Lua
+@dirrm %%DATADIR%%/Levels
+@dirrm %%DATADIR%%/Bitmap
+@dirrm %%DATADIR%%