aboutsummaryrefslogtreecommitdiff
path: root/helpmsgs.c
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2021-04-26 15:37:02 -0400
committerB. Watson <yalhcru@gmail.com>2021-04-26 15:37:02 -0400
commit5faf0c949468cf72d1dfd0e52369ab2d26760fd7 (patch)
tree9033b891b1dbe50e5b91d7f281e0e78a3fdebe10 /helpmsgs.c
parente16403c5a93e02c8c85ea3cd6de64798235a3ae5 (diff)
downloadtaipan-5faf0c949468cf72d1dfd0e52369ab2d26760fd7.tar.gz
Initial POC of in-game help
Diffstat (limited to 'helpmsgs.c')
-rw-r--r--helpmsgs.c197
1 files changed, 197 insertions, 0 deletions
diff --git a/helpmsgs.c b/helpmsgs.c
new file mode 100644
index 0000000..336b4c4
--- /dev/null
+++ b/helpmsgs.c
@@ -0,0 +1,197 @@
+// do not edit, contents are generated by messages.pl
+
+const char M_help_to_another_port[] = {
+ // " to another port.\n"
+ 0xd7, 0x5d, 0x10, 0x04, 0xe3, 0xf4, 0xa1, 0x2d, 0x50, 0x3d, 0x25, 0x39, 0xfc, 0x00
+}; // dictionary used
+
+const char M_help_your_final[] = {
+ // " your final score and rank.\n"
+ 0xd7, 0x5d, 0x74, 0xac, 0x62, 0x4e, 0x04, 0xcd, 0x53, 0x0c, 0xf4, 0x85, 0xd7, 0x45, 0x35, 0x48, 0x13, 0x8b, 0xe7, 0xf0, 0x00
+}; // dictionary used
+
+const char M_help_all_your[] = {
+ // "All your cargo and guns will be\n"
+ 0x6c, 0xc3, 0x35, 0xd2, 0xb0, 0xf4, 0x27, 0x5d, 0x14, 0xd4, 0x75, 0x4e, 0x4f, 0x5d, 0x0e, 0xd4, 0x21, 0x7f, 0x00
+}; // dictionary used
+
+const char M_help_buy_sell[] = {
+ // "B: Buy cargo, S: Sell cargo.\n"
+ 0x73, 0xbd, 0x5c, 0x55, 0x9d, 0x43, 0xd0, 0x9e, 0x35, 0xb7, 0xbd, 0x6d, 0x14, 0xc3, 0x35, 0x0f, 0x42, 0x79, 0xfc, 0x00
+}; // dictionary used
+
+const char M_help_each_gun[] = {
+ // "Each gun takes up ten cargo hold units.\n"
+ 0x7c, 0x10, 0xc8, 0xd4, 0x75, 0x4e, 0xd5, 0x40, 0x4b, 0x15, 0x3d, 0x55, 0x43, 0x55, 0x05, 0x3b, 0x50, 0xf4, 0x27, 0x52, 0x0f, 0x30, 0x4d, 0x55, 0x38, 0x95, 0x13, 0xe7, 0xf0, 0x00
+}; // dictionary used
+
+const char M_help_loan_shark[] = {
+ // "Elder Brother Wu is the loan shark.\n"
+ 0xd0, 0x2d, 0x71, 0x57, 0x52, 0x53, 0xd0, 0xcd, 0x4c, 0x3c, 0x13, 0xb5, 0x4c, 0x80, 0x52, 0x2f, 0x9f, 0xc0
+}; // dictionary used
+
+const char M_help_enter_firm[] = {
+ // "Enter the name of your trading firm.\n"
+ 0x7c, 0xe5, 0x05, 0x4b, 0x43, 0x35, 0x38, 0x13, 0x45, 0xd0, 0xdd, 0x74, 0xad, 0x44, 0x81, 0x10, 0x93, 0x87, 0xd4, 0x62, 0x52, 0x37, 0x9f, 0xc0
+}; // dictionary used
+
+const char M_help_fight[] = {
+ // "F: Fight. Requires at least one gun.\n"
+ 0x83, 0xbd, 0x60, 0x24, 0x72, 0x14, 0xe7, 0x5b, 0x05, 0x45, 0x52, 0x52, 0x15, 0x3d, 0x41, 0x53, 0x53, 0x05, 0x05, 0x35, 0x35, 0x3c, 0xe1, 0x75, 0x1d, 0x53, 0xb9, 0xfc, 0x00
+};
+
+const char M_help_if_debt[] = {
+ // "If you have debt, you can pay it now. He\n"
+ 0x8c, 0x6d, 0x74, 0x0f, 0x41, 0xb5, 0xd2, 0x7e, 0x35, 0xd0, 0x3d, 0x43, 0x04, 0xed, 0x50, 0x05, 0x9d, 0x49, 0x53, 0x49, 0x57, 0xe7, 0x58, 0x85, 0xfc, 0x00
+}; // dictionary used
+
+const char M_help_press_m[] = {
+ // "Press M for six zeroes.\n"
+ 0xa9, 0x21, 0x53, 0x4f, 0x59, 0xf5, 0xd1, 0x24, 0xc9, 0x63, 0x56, 0x85, 0x48, 0xf1, 0x53, 0xe7, 0xf0, 0x00
+}; // dictionary used
+
+const char M_help_press_a[] = {
+ // "Press A for All.\n"
+ 0xa9, 0x21, 0x53, 0x4f, 0x56, 0xf5, 0xd1, 0x26, 0xcc, 0x33, 0x9f, 0xc0
+}; // dictionary used
+
+const char M_help_press_k[] = {
+ // "Press K to insert three zeroes\n"
+ 0xa9, 0x21, 0x53, 0x4f, 0x59, 0x74, 0x40, 0x93, 0x93, 0x15, 0x25, 0x35, 0x50, 0x84, 0x85, 0x17, 0x56, 0x85, 0x48, 0xf1, 0x53, 0xfc, 0x00
+}; // dictionary used
+
+const char M_help_press_ret_alone[] = {
+ // "Press Return alone to abort.\n"
+ 0xa9, 0x21, 0x53, 0x4f, 0x5b, 0x05, 0x51, 0x54, 0x8e, 0xd4, 0x13, 0x0f, 0x38, 0x5d, 0x10, 0x04, 0x23, 0xd2, 0x53, 0x9f, 0xc0
+}; // dictionary used
+
+const char M_help_press_ret_done[] = {
+ // "Press Return when you're done.\n"
+ 0xa9, 0x21, 0x53, 0x4f, 0x5b, 0x05, 0x51, 0x54, 0x8e, 0xd5, 0x72, 0x05, 0x3b, 0x5d, 0x03, 0xf1, 0x21, 0x75, 0x10, 0xf3, 0x85, 0xe7, 0xf0, 0x00
+}; // dictionary used
+
+const char M_help_turbo[] = {
+ // "Press Shift F or Shift R for 'turbo'.\n"
+ 0xa9, 0x21, 0x53, 0x4f, 0x5b, 0x48, 0x24, 0x65, 0x35, 0x83, 0x53, 0xd2, 0xd6, 0xd2, 0x09, 0x19, 0x4d, 0x6c, 0xd7, 0x44, 0xbc, 0x51, 0x54, 0x82, 0x3f, 0xce, 0x7f, 0x00
+}; // dictionary used
+
+const char M_help_y_or_n[] = {
+ // "Press Y for yes or N for no.\n"
+ 0xa9, 0x21, 0x53, 0x4f, 0x5c, 0xf5, 0xd1, 0x26, 0x45, 0x4f, 0x53, 0xd2, 0xd6, 0x8d, 0x74, 0x48, 0xe3, 0xf9, 0xfc, 0x00
+}; // dictionary used
+
+const char M_help_quit_trading[] = {
+ // "Q: Quit trading: End this turn and sail\n"
+ 0xaf, 0xbd, 0x6b, 0x54, 0x95, 0x35, 0x51, 0x20, 0x44, 0x24, 0xe1, 0xfb, 0xd5, 0xf3, 0x84, 0xd5, 0x42, 0x34, 0x4d, 0x45, 0x52, 0x3b, 0x5d, 0x14, 0xd5, 0x30, 0x49, 0x33, 0xf0, 0x00
+}; // dictionary used
+
+const char M_help_retire[] = {
+ // "R: Retire: End the game and receive\n"
+ 0xb3, 0xbd, 0x6c, 0x15, 0x42, 0x52, 0x17, 0xbd, 0x5f, 0x38, 0x4d, 0x0c, 0xd4, 0x70, 0x4d, 0x17, 0x5d, 0x14, 0xd5, 0x21, 0x43, 0x14, 0x95, 0x85, 0xfc, 0x00
+}; // dictionary used
+
+const char M_help_run[] = {
+ // "R: Run. You can always try to run.\n"
+ 0xb3, 0xbd, 0x6c, 0x54, 0xee, 0x75, 0xd0, 0x5d, 0x43, 0x04, 0xed, 0x41, 0x31, 0x70, 0x59, 0x4f, 0x55, 0x12, 0x67, 0x44, 0x12, 0x54, 0xee, 0x7f, 0x00
+}; // dictionary used
+
+const char M_help_throw[] = {
+ // "T: Throw cargo. You must have cargo.\n"
+ 0xbb, 0xbd, 0x6e, 0x21, 0x23, 0xd7, 0xd4, 0x3d, 0x09, 0xe7, 0x5d, 0x05, 0xd4, 0xd5, 0x53, 0x53, 0x41, 0xb5, 0x0f, 0x42, 0x79, 0xfc, 0x00
+}; // dictionary used
+
+const char M_help_transfer[] = {
+ // "T: Transfer cargo to,from warehouse.\n"
+ 0xbb, 0xbd, 0x6e, 0x48, 0x13, 0x93, 0x18, 0x54, 0xb5, 0x0f, 0x42, 0x75, 0x50, 0xfe, 0x06, 0x48, 0xf3, 0x74, 0x2f, 0x9f, 0xc0
+}; // dictionary used
+
+const char M_help_wh_bank_only[] = {
+ // "The warehouse and bank are only\n"
+ 0xb8, 0x81, 0x74, 0x2f, 0x5d, 0x14, 0xd4, 0x20, 0x4e, 0x2f, 0x50, 0x52, 0x17, 0x53, 0xce, 0x31, 0x9f, 0xc0
+}; // dictionary used
+
+const char M_help_doesnt_affect[] = {
+ // "This doesn't affect gameplay: it's just\n"
+ 0xb8, 0x8d, 0x13, 0x10, 0xf1, 0x53, 0x3b, 0xc5, 0x35, 0x04, 0x61, 0x85, 0x0d, 0x4d, 0x47, 0x04, 0xd1, 0x50, 0x30, 0x16, 0x7b, 0xd4, 0x95, 0x3c, 0x4f, 0x52, 0x95, 0x4d, 0x4f, 0xc0
+}; // dictionary used
+
+const char M_help_type_amount[] = {
+ // "Type the amount, then press Return.\n"
+ 0xb9, 0x94, 0x05, 0xd0, 0xcd, 0x41, 0x34, 0xf5, 0x4e, 0x53, 0x8d, 0x0c, 0x3b, 0x54, 0x12, 0x15, 0x34, 0xf5, 0xb0, 0x55, 0x15, 0x48, 0xee, 0x7f, 0x00
+}; // dictionary used
+
+const char M_help_type_letter[] = {
+ // "Type the letter of your choice:\n"
+ 0xb9, 0x94, 0x05, 0xd0, 0xcd, 0x4c, 0x15, 0x45, 0x05, 0x4b, 0x43, 0x75, 0xd2, 0xb0, 0xc8, 0x3c, 0x90, 0xc5, 0xef, 0xf0, 0x00
+}; // dictionary used
+
+const char M_help_type_number[] = {
+ // "Type the number of the port you wish\n"
+ 0xb9, 0x94, 0x05, 0xd0, 0xcd, 0x4e, 0x54, 0xd0, 0x85, 0x4b, 0x43, 0x74, 0x33, 0x54, 0x0f, 0x49, 0x4d, 0x74, 0x0f, 0x49, 0xbf, 0x00
+}; // dictionary used
+
+const char M_help_visit_bank[] = {
+ // "V: Visit bank (deposit,withdraw).\n"
+ 0xc3, 0xbd, 0x70, 0x25, 0x32, 0x54, 0xd4, 0x20, 0x4e, 0x2f, 0x5f, 0x44, 0x15, 0x03, 0xd3, 0x25, 0x4e, 0x17, 0x25, 0x42, 0x04, 0x48, 0x15, 0xfe, 0xe7, 0xf0, 0x00
+};
+
+const char M_help_ftr_any[] = {
+ // "You can press F,T,R at any time, to\n"
+ 0xd0, 0x5d, 0x43, 0x04, 0xed, 0x50, 0x48, 0x54, 0xd3, 0xd6, 0x0e, 0x2e, 0xe2, 0xcd, 0x41, 0x53, 0x50, 0x4e, 0x67, 0x55, 0x09, 0x34, 0x5e, 0x35, 0x50, 0xff, 0xc0
+}; // dictionary used
+
+const char M_help_under_attack[] = {
+ // "You're under attack! Your choices:\n"
+ 0xd0, 0x5f, 0x12, 0x17, 0x55, 0x4e, 0x10, 0x54, 0xb5, 0x05, 0x45, 0x01, 0x0c, 0xbd, 0xb5, 0xd0, 0x54, 0xb5, 0x0c, 0x83, 0xc9, 0x0c, 0x54, 0xfb, 0xfc, 0x00
+}; // dictionary used
+
+const char M_help_million[] = {
+ // "a million or more.\n"
+ 0x07, 0x53, 0x49, 0x30, 0xc2, 0x4f, 0x3b, 0x53, 0xd2, 0xd4, 0xd3, 0xd2, 0x17, 0x9f, 0xc0
+};
+
+const char M_help_avail_hk[] = {
+ // "available at Hong Kong.\n"
+ 0x05, 0x60, 0x49, 0x30, 0x10, 0x8c, 0x17, 0x50, 0x54, 0xd6, 0x23, 0xce, 0x1f, 0x59, 0x4f, 0x38, 0x7e, 0x7f, 0x00
+};
+
+const char M_help_avail_hk_retire[] = {
+ // "available at Hong Kong. You may retire\n"
+ 0x05, 0x60, 0x49, 0x30, 0x10, 0x8c, 0x17, 0x50, 0x54, 0xd6, 0x23, 0xce, 0x1f, 0x59, 0x4f, 0x38, 0x7e, 0x75, 0xd0, 0x5d, 0x4d, 0x05, 0x9d, 0x52, 0x15, 0x42, 0x52, 0x17, 0xf0, 0x00
+}; // dictionary used
+
+const char M_help_change_orders[] = {
+ // "change your orders.\n"
+ 0x0c, 0x80, 0x4e, 0x1c, 0x5d, 0x74, 0xac, 0xf4, 0x84, 0x15, 0x24, 0xf9, 0xfc, 0x00
+}; // dictionary used
+
+const char M_help_for_fun[] = {
+ // "for fun. Use backspace to correct typos.\n"
+ 0xd1, 0x21, 0x95, 0x3b, 0x9d, 0x6f, 0x4c, 0x5d, 0x42, 0x04, 0x32, 0xd3, 0x40, 0x10, 0xc5, 0xd1, 0x00, 0xcf, 0x49, 0x21, 0x43, 0x53, 0x55, 0x19, 0x40, 0xf4, 0xf9, 0xfc, 0x00
+}; // dictionary used
+
+const char M_help_may_loan[] = {
+ // "may also loan you money.\n"
+ 0x34, 0x16, 0x75, 0x04, 0xc4, 0xcf, 0xd4, 0xc3, 0xc1, 0x3b, 0x5d, 0x03, 0xd4, 0xd3, 0xce, 0x15, 0x9e, 0x7f, 0x00
+}; // dictionary used
+
+const char M_help_only_if_total[] = {
+ // "only if your cash and bank account total\n"
+ 0x3c, 0xe3, 0x19, 0xd4, 0x91, 0xb5, 0xd0, 0x34, 0xb4, 0x57, 0x5d, 0x14, 0xd4, 0x20, 0x4e, 0x2f, 0x50, 0x43, 0x0c, 0xf5, 0x4e, 0x53, 0x55, 0x0f, 0x50, 0x13, 0x3f, 0x00
+}; // dictionary used
+
+const char M_help_to_sail_to[] = {
+ // "to sail to, or press Return to abort.\n"
+ 0x50, 0xfd, 0x53, 0x04, 0x93, 0x35, 0x50, 0xfe, 0x35, 0x3d, 0x2d, 0x50, 0x48, 0x54, 0xd3, 0xd6, 0xc1, 0x54, 0x55, 0x23, 0xb4, 0x40, 0x10, 0x8f, 0x49, 0x4e, 0x7f, 0x00
+}; // dictionary used
+
+const char M_help_transferred_to[] = {
+ // "transferred to the new ship.\n"
+ 0x51, 0x20, 0x4e, 0x4c, 0x61, 0x52, 0x48, 0x51, 0x34, 0x43, 0x4a, 0x35, 0x38, 0x55, 0xf5, 0xd0, 0xae, 0x7f, 0x00
+}; // dictionary used
+
+// messages: 38
+// total input size: 1282
+// total output size: 869
+// compression: 413
+// ratio: 67.8%