Commit graph

1155 commits

Author SHA1 Message Date
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 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 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 d732d505f6 Move prototype of which_bomb to weapon.h 2013-03-10 03:11:16 +00:00
Kp 2a3524cd66 Move segment handling from editor.h 2013-03-16 03:10:55 +00:00
Kp 33c95b5134 Fix light save bug in large levels 2012-11-25 02:39:45 +00:00
Kp 2ef100dafd Fix automap save bug in large levels 2012-11-25 02:38:50 +00:00
Kp eac771f01e Fix ancient bug that read Segments[-2].verts during endlevel sequence 2012-12-09 04:02:34 +00:00
Kp 2e01c75e98 Fix wrong length passed to PHYSFSX_fgets 2012-07-15 18:42:41 +00:00
Kp 9edfd78dcc Use #ifdef, not #if, to test WORDS_BIGENDIAN
On little endian machines, WORDS_BIGENDIAN is undefined, so testing
using #if triggers warning -Wundef.
2013-03-03 23:46:22 +00:00
Kp 5f7853fa57 Remove inferno.h include of pstypes.h
Also remove unused macros WIN and WINDOS.
2013-03-03 19:58:10 +00:00
Kp 8d39b2b7ae Push down inclusion "args.h" from physfsx.h into sources
This is not needed for the header, and makes the header non-common.
2013-03-03 19:41:09 +00:00
Kp a81afea7fe Rename include/error.h to include/dxxerror.h
Avoid conflict with generic system header.
2012-07-07 18:35:06 +00:00
Kp 66cf62e359 Normalize whitespace in copyright header to match D1X-Rebirth 2013-02-24 02:40:43 +00:00
Kp 93a23298ff Rename D2XMAJORi/D2XMINORi/D2XMICROi to DXX_VERSION_MAJORi/DXX_VERSION_MINORi/DXX_VERSION_MICROi 2013-02-25 01:59:08 +00:00
Kp 4fa7ccbb3d Use correct array index when loading circle distance
When reading a custom robot's circle distance from a file, store into
the circle_distance[] array, rather than out beyond it.
2013-02-25 01:59:08 +00:00
Kp 5c2d180d0f Normalize comments and whitespace to match D1X 2013-02-25 01:59:08 +00:00
Kp f12f4e6737 Remove RCS embedded string to synchronize code with D1X 2013-02-22 04:32:23 +00:00
Kp 7f5d61c3ed Remove RCS comment to synchronize code with D1X 2013-02-22 04:32:14 +00:00
zicodxx 0a56099ad1 Increased ship wiggle from 20FPS- to 30FPS-base as I think this more representy the 486 play style - feels way more natural to me, too 2013-01-22 00:55:56 +01:00
zicodxx b6a906bc53 Decrease personal score when killing multi buddy and don't increment towards kill goal; Killing off some old externs on which I don't wanna waste an extra commit 2013-01-19 16:37:42 +01:00
Chris Taylor 06b1efad8f Fix click-selection in the editor for OpenGL implementations that insist on point blending 2013-01-17 13:14:44 +08:00
Chris Taylor f6702eee8e Increased the maximum number of levels and secret levels per mission to 127 each, using MALLOC'd arrays; defined 'd_fname' type (mainly for my pointers to arrays of 13 character filenames, but could be convenient elsewhere) 2013-01-12 18:53:43 +08:00
zicodxx fb9518dd97 Corrected ai_fire_laser_at_player() syntax where boss should not fire when Boss_dying_start_time != 0 and boss flag is set - patch by derhass 2013-01-08 18:00:15 +01:00
zicodxx 714bebe8c3 Added option to hide mouse cursor (without disabling the mouse completely) 2013-01-08 17:47:03 +01:00
zicodxx cb2429a860 Disable fullscreen toggling via ALT+ENTER if Game_wind is on top so toggling cannot be done accidentially ingame 2013-01-08 17:29:23 +01:00
zicodxx 9f2e3dac7f Defer free of kmatrix data until window is fully gone - patch by Kp 2013-01-08 12:08:08 +01:00
zicodxx 9d16bf74d3 Fixed some minor HUD-text related issues: For team assignment messages, joining player name would appear; team color assignment in netgame info screen could be wrong due to wrong syntax handling; when rewrapping text messages to specific player, game would not add space behind colon 2013-01-08 11:42:10 +01:00
zicodxx 66668712bf Removed obsolete HUD cleaning code - patch by Kp 2013-01-03 17:33:07 +01:00
zicodxx f4ab2e63af Added dummy %s to prevent formatting untrusted literals - patch by Kp 2013-01-03 17:30:42 +01:00
zicodxx 1c261a137f Converted gr_printf to gr_string where needed - patch by Kp 2013-01-03 17:23:24 +01:00