Commit graph

3021 commits

Author SHA1 Message Date
Kp c282e0b852 Use pkg-config to get libSDL settings 2013-03-03 01:52:59 +00:00
Kp 39bbc74872 Copy source lists into individual program objects
This is required once unification begins.
2013-03-02 22:41:05 +00:00
Kp 5d1e19423b Remove DPMI support and BITMAP_SELECTOR 2013-02-23 22:54:28 +00:00
Kp f9397bdfc5 Generate resource file at build time 2013-03-02 21:25:47 +00:00
Kp ed33108ae7 Move SCons rules into wrapper classes 2013-02-25 01:59:08 +00:00
Kp 96bf0f5bee Remove ineffective LINKFLAGS assignment 2013-02-25 01:59:08 +00:00
Kp dbf90c43db Move platform-specific settings into specialized settings classes 2013-02-25 01:59:08 +00:00
Kp e14d2ad601 Collapse ogldefines handling
ogldefines is always set to ['OGL'], so remove the definitions of it and
just set that value explicitly when OpenGL is used
2013-02-25 01:59:08 +00:00
Kp 857c8d30ac Simplify copying in compiler environment variables 2013-02-25 01:59:08 +00:00
Kp 87ac6ea221 Move command line settable values into class Settings 2013-02-25 01:59:08 +00:00
Kp f702d92c5a Overload argument lookup to allow version-specific names 2013-02-25 01:59:08 +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 5e7db3626a Rename D2XMAJOR/D2XMINOR/D2XMICRO to VERSION_MAJOR/VERSION_MINOR/VERSION_MICRO 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 2c5ecf0829 Revert "Move main/bmread.c to be sorted in SConstruct"
This reverts commit e3dd328e66.

Folding hid that this move migrated bmread.c from common_sources to
editor_sources.
2013-02-25 01:59:05 +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
Kp 01cb338618 Normalize comments and whitespace to match D1X 2013-02-22 04:32:03 +00:00
Kp 839c8d3c43 Normalize comments and whitespace to match D1X 2013-02-21 00:25:12 +00:00
Kp e3dd328e66 Move main/bmread.c to be sorted in SConstruct 2013-02-21 00:25:12 +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 125fbb0ab8 Support for Raspberry Pi - patch by derhass 2013-01-22 00:34:06 +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 efe9992ee3 If there's a messagebox to show on exit, and we *were* in fullscreen, don't try to toggle fullscreen and crash 2013-01-12 19:09:23 +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
Chris Taylor e4c0b69031 Use new D1XMAJORi / D1XMINORi / D1XMICROi version constants for Mac 2013-01-12 12:35:23 +08:00
zicodxx bf9cdcb04f Changed additive color blending func to GL_ONE, GL_ONE - patch by derhass 2013-01-08 19:12:36 +01: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 fa3a0c60fc Patch by A Future Pilot to hopefully fix bug which prevented building source within MinGW if Visual Studio installed 2013-01-08 17:53:12 +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 a43f76e7ac Use proper width in format specifier - patch by Kp 2013-01-03 17:34:15 +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
zicodxx d6f96ff0e1 Moved screenshot message formating to HUD_init_message - patch by Kp (and me for non-OGL code ;)) 2013-01-03 17:10:56 +01:00
zicodxx 9e9476e89f Fixed argument specifier mismatches flagged by -Wformat - patch by Kp 2013-01-03 17:05:10 +01:00
zicodxx b0393f5ef3 medrobot: avoid needless name copy - patch by Kp 2013-01-03 17:02:22 +01:00
zicodxx a6dead2a51 Avoid -Wformat-nonliteral for trigger message; Reflect plurality in light trigger messages - patches by Kp 2013-01-03 17:00:40 +01:00
zicodxx c9bb823af6 Moved large control_info arrays to end - patch by Kp 2013-01-03 16:57:24 +01:00
zicodxx 8d5d61ef53 Removed redundant/obsolete declarations - patch by Kp 2013-01-03 16:55:14 +01:00
zicodxx dc3ce05e1a Declared wall_close_door_num in wall.h; Declared validate_segment_side in gameseg.h - patches by Kp 2013-01-03 16:46:36 +01:00
zicodxx d850c5d65e Moved joy_*_handler declarations to joy.h - patch by Kp 2013-01-03 16:37:52 +01:00
zicodxx dc883eaf5a Included maths.h in rand.c to get d_rand prototype - patch by Kp 2013-01-03 16:35:37 +01:00
zicodxx 0a03ea3adc Moved multi_* declarations to multi.h - patch by Kp 2013-01-03 16:33:57 +01:00
zicodxx 653b964849 Moved remove_char declaration to piggy.h - patch by Kp 2013-01-03 16:28:53 +01:00