Commit graph

1542 commits

Author SHA1 Message Date
Kp 26f1f10a13 Remove unused include/ps*.inc 2013-03-09 20:29:20 +00:00
Kp 46998c0d5e Fix debug=1 build break from 2a3524cd ("Move segment handling from editor.h")
When debug is enabled, gamecntl references symbols that moved to the new
header.
2013-03-31 15:37:51 +00:00
Kp fca946de2a Add helper to get pointer to reactor definition 2013-03-31 15:04:41 +00:00
Kp 7d7bcadd01 Use ubyte/const ubyte consistently in multiplayer messaging 2013-03-30 19:41:33 +00:00
Kp fe42984cf1 Simplify processing of $ insertion of name in multiplayer messages 2013-03-30 19:22:48 +00:00
Kp 401228ad00 Simplify logic for robot to drop proximity and smart bombs 2013-03-30 04:31:09 +00:00
Kp 4c3f6ef43c Adjust physics layout to match D1X 2013-03-30 20:29:29 +00:00
Kp f3ad08db91 Support extra information, such as git describe, in version string 2012-06-09 15:19:29 +00:00
Kp 524d76e0f3 Combine date,time into Descent version con_printf 2013-03-30 15:11:42 +00:00
Kp fef8101949 Avoid using #ifdef inside Error string on hog failure 2013-03-30 02:45:23 +00:00
Kp 97156f6662 Reorder differences to match D1X 2013-03-30 02:36:00 +00:00
Kp d2dbdaa940 Read robot_info arrays in pieces 2013-03-30 02:01:36 +00:00
Kp 9c888d031f Make stub g3_uninit_polygon_model inline 2013-03-30 18:51:51 +00:00
Kp 914a72e76a Remove unused hostage dialog editor 2013-03-24 02:28:34 +00:00
Kp fde476383d Remove unused gauge declarations 2013-03-24 02:11:09 +00:00
Kp f0b282af96 Remove unused declarations in main/screens.h 2013-03-24 17:53:04 +00:00
Kp c3bde51320 Avoid crash on failure to open HAM file 2012-12-23 22:39:29 +00:00
Kp c534e418b5 Move declaration of last_palette_loaded to gamepal.h 2013-03-24 17:14:06 +00:00
Kp 129ffa1a71 Delete definition of Segment2s
This should have been part of 644f7ce9 ("Move segment2 back to
segment").
2013-03-23 15:44:30 +00:00
Kp b5c0fc7d83 Remove unused main/link.bat 2013-03-09 20:29:20 +00:00
Kp 04cb12bada Remove unused main/gamestat.h 2013-03-09 20:29:20 +00:00
Kp d18d677dab Remove unused StartNewLevel parameter 'secret_flag' 2013-03-23 20:50:35 +00:00
Kp 3e0a02bc6e Rename old_matcen_info to reflect that it is the D1 matcen_info 2013-03-23 21:31:49 +00:00
Kp 5125ce8c04 Fix bogus optimization in robot maker paging
The optimization meant to skip materialization centers which had no
robots enabled, but had two bugs.  It tested for a NULL address instead
of inspecting the bits in robot_flags[0], which caused the test to
always succeed.  It also ignored robot_flags[1], so a materialization
center with only high end robots would be wrongly skipped.

Remove the test, since the loop is cheap and handles all cases
correctly.
2013-03-23 21:20:41 +00:00
Kp ccc6bc5d95 Always use int[] for matcen robot flags 2013-03-23 21:15:14 +00:00
Kp 56e621c062 Add stubs to hide editor reactor differences from D1X 2013-03-23 20:03:11 +00:00
Kp e49dc6265c Remove N_controlcen_guns cache
Get the counter directly from the relevant reactor model
2013-03-23 19:15:12 +00:00
Kp 60545c245a Move reactor Gun_dir,Gun_pos into struct object 2013-03-23 19:09:44 +00:00
Kp 18eb372094 Remove unused main/desc_id.h 2013-03-09 20:29:20 +00:00
Kp 5019ce9514 Remove unused header files 2013-03-17 22:54:53 +00:00
Kp 3c317cf3e1 Restructure struct segment to align better 2013-03-16 02:54:33 +00:00
Kp 644f7ce9c2 Move segment2 back to segment
The structure already exceeds 512 bytes, so combine the two to make the
code look more like D1X.
2013-03-17 18:55:32 +00:00
Kp 75dff94ac0 Support versions of gcc < 4.6
GCC 4.6 accepts the earlier form without comment, but GCC 4.5 chokes on it.
2013-03-17 18:24:11 +00:00
Kp d732d505f6 Move prototype of which_bomb to weapon.h 2013-03-10 03:11:16 +00:00
Kp 68260da95b Remove unused editor/kgroup.c 2013-03-09 21:30:58 +00:00
Kp 3ff4726702 Remove unused arch/linux files 2013-03-09 20:29:20 +00:00
Kp 769abf99a1 Remove unused arch/include/gui.h 2013-03-09 20:29:20 +00:00
Kp 2a3524cd66 Move segment handling from editor.h 2013-03-16 03:10:55 +00:00
Kp 8ff1613c2a Remove various unused misc files 2013-03-10 00:17:59 +00:00
Kp b1b6310c1f Remove unused include/pa_enabl.h 2013-03-09 20:29:20 +00:00
Kp 20f5b8d5a9 Remove unused editor/macro.c 2013-03-09 21:30:58 +00:00
Kp 93fec3e081 Remove unused d2x-rebirth/ui/barbox.c 2013-03-09 21:30:58 +00:00
Kp dbe7272448 Remove unused include/descent.xpm 2013-03-09 21:30:58 +00:00
Kp bd5ed83680 Remove unused d2x-rebirth/ui/number.c 2013-03-09 21:30:58 +00:00
Kp 71f41f0636 Remove unused include/i86.h 2013-03-09 20:29:20 +00:00
Kp ec88046928 Remove unused include/d1x.xpm 2013-03-09 20:29:20 +00:00
Kp ea44bbf0c7 Remove unused include/checker.h 2013-03-09 20:29:20 +00:00
Kp d133a037b8 Remove unused 2d/scale.c 2013-03-09 20:29:20 +00:00
Kp f6410413b2 Remove unused function pcx_get_dimensions 2013-03-10 22:49:57 +00:00
Kp cf613c84ca Fix bug that last object is skipped when caching OGL textures 2012-12-08 21:57:29 +00:00