Initial code

This commit is contained in:
2025-05-14 09:16:02 -05:00
commit fe0270d2b6
392 changed files with 83559 additions and 0 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
Macintosh Code Release 3/.DS_Store vendored Normal file

Binary file not shown.

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void cd_init_dialogs();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
Boolean handle_action(EventRecord event,short mode);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
Boolean give_to_pc(short pc_num,item_record_type item, short print_result);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void save_file(short mode);

View File

@@ -0,0 +1 @@
#include <OSUtils.h>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void init_main_buttons();

View File

@@ -0,0 +1 @@
#include "math.h"

View File

@@ -0,0 +1 @@
void load_sounds ();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void move_sound(unsigned char ter,short step);

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@
void init_lb();

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1 @@

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void cd_init_dialogs();

View File

@@ -0,0 +1 @@
#include <Memory.h>

View File

@@ -0,0 +1 @@
Point Get_Square_To_Edit();

View File

@@ -0,0 +1 @@

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void fancy_choice_dialog_event_filter (short item_hit);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
monster_record_type return_monster_template(unsigned char store);

View File

@@ -0,0 +1 @@
#include "math.h"

View File

@@ -0,0 +1 @@
void flip_sound();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void Set_up_win ();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void init_current_terrain();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void init_directories();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void init_town(short size);

View File

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void main(void);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void draw_one_terrain_spot (short i,short j,short terrain_to_draw,short dest);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void init_screen_locs();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void init_directories();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void activate_monster_enc(short enc_num,short str1,short str2,short strsnd,short *flip_bit);

4766
Macintosh Code Release 3/combat.c Executable file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,54 @@
void start_outdoor_combat(outdoor_creature_type encounter,unsigned char in_which_terrain,short num_walls);
Boolean pc_combat_move(location destination);
void char_parry();
void char_stand_ready();
void pc_attack(short who_att,short target);
short calc_spec_dam(short abil,short abil_str,creature_data_type *monst);
void place_target(location target);
void do_combat_cast(location target);
void handle_marked_damage();
void load_missile();
void fire_missile(location target);
Boolean combat_next_step();
Boolean pick_next_pc();
void combat_run_monst();
void do_monster_turn();
void monster_attack_pc(short who_att,short target);
void monster_attack_monster(short who_att,short attackee);
void monst_fire_missile(short m_num,short skill,short bless,short level,location source,short target);
Boolean monst_breathe(creature_data_type *caster,location targ_space,short dam_type);
Boolean monst_cast_mage(creature_data_type *caster,short targ);
Boolean monst_cast_priest(creature_data_type *caster,short targ);
void damage_target(short target,short dam,short type);
location find_fireball_loc(location where,short radius,short mode,short *m);
location closest_pc_loc(location where);
short count_levels(location where,short radius);
Boolean pc_near(short pc_num,location where,short radius);
Boolean monst_near(short m_num,location where,short radius,short active);
void fireball_space(location loc,short dam);
void place_spell_pattern(effect_pat_type pat,location center,short type,Boolean prep_for_anim,short who_hit);
void handle_item_spell(location loc,short num);
void modify_pattern(effect_pat_type *pat,short type);
void do_shockwave(location target);
void radius_damage(location target,short radius, short dam, short type);
void hit_pcs_in_space(location target,short dam,short type,short report,short hit_all);
void hit_space(location target,short dam,short type,short report,short hit_all);
void do_poison();
void handle_disease();
void handle_acid();
Boolean no_pcs_left();
Boolean hit_end_c_button();
Boolean out_monst_all_dead();
void end_combat();
Boolean combat_cast_mage_spell();
Boolean combat_cast_priest_spell();
void start_spell_targeting(short num);
void start_fancy_spell_targeting(short num);
void spell_cast_hit_return();
void process_fields();
void scloud_space(short m,short n);
void web_space(short m,short n);
void sleep_cloud_space(short m,short n);
void take_m_ap(short num,creature_data_type *monst);
void add_new_action(short pc_num);
short get_monst_sound(creature_data_type *attacker,short which_att);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void start_shop_mode(short shop_type,short shop_min,short shop_max,short cost_adj,char *store_name);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void cd_init_dialogs();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
Boolean is_explored(short i,short j);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
#include <OSUtils.h>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void put_spell_info();

View File

@@ -0,0 +1 @@
#include "global.h"

View File

@@ -0,0 +1 @@
item_record_type return_dummy_item();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void sort_pc_items(short pc_num);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
void set_terrain_blocked();

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
monster_record_type return_monster_template(unsigned char store);

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
typedef struct {

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More