Commit graph

595 commits

Author SHA1 Message Date
zico 4f56e3d9ca Removed ancient multiplayer message header handling of D2X that broke communication between players. 2013-12-09 14:51:13 +01:00
zico dae83f9edc Set PPS limits from 5 to 40 2013-12-09 14:25:32 +01:00
zico 3e2fd4f74b Improved pdata update sync when firing and not limiting general use of the force flag 2013-12-09 14:05:24 +01:00
zico 2e407fa5a8 Removed short packets and added segment number to quaternion structure 2013-12-09 14:00:23 +01:00
Kp 04fdf83298 Use helper to copy default key settings 2013-12-08 21:43:53 +00:00
Kp 322c61ef01 Remove use of heap-based splitword 2013-12-08 21:43:53 +00:00
Kp 0c712921b7 Simplify string search in playsave.cpp 2013-12-08 21:43:52 +00:00
Kp b7fe431979 Use RAII for playsave strings 2013-12-08 21:02:10 +00:00
Kp 3b9b5ebfb0 Use RAII to manage function-local heap objects 2013-12-08 19:04:52 +00:00
Kp 60ecc60971 Move abspath onto read_m3u stack 2013-12-08 19:01:55 +00:00
Kp dd6a89221b Move demo file mount paths onto PHYSFSX_removeArchiveContent stack 2013-12-08 18:26:20 +00:00
Kp 11dc06b462 Move file search paths onto PHYSFSX_removeArchiveContent stack 2013-12-08 18:26:20 +00:00
Kp 04fb0c721c Move demo file mount paths onto PHYSFSX_addArchiveContent stack 2013-12-08 18:26:20 +00:00
Kp 0b99c6abf6 Move file search paths onto PHYSFSX_addArchiveContent stack 2013-12-08 18:26:20 +00:00
Kp 9bb36c002a Move object_rw onto state_restore_all_sub stack 2013-12-08 18:26:20 +00:00
Kp 938b9e4427 Move object_rw onto state_save_all_sub stack 2013-12-08 18:26:20 +00:00
Kp f4ac8b34fe Move grs_bitmap BBM onto piggy_new_pigfile stack 2013-12-08 18:26:20 +00:00
Kp 3b75f65359 Move callsign buf onto change_playernum_to stack 2013-12-08 18:26:20 +00:00
Kp 50d14ea3b0 Move ending tmp buffer onto load_mission stack 2013-12-08 18:26:20 +00:00
Kp cebd52442b Move briefing tmp buffer onto load_mission stack 2013-12-08 18:26:20 +00:00
Kp af5ff85286 Move drive letter newmenu_item onto select_file_handler stack 2013-12-08 18:26:19 +00:00
Kp fddcfc8e99 Fix technical buffer overrun in drive letter selection
Padding makes this safe, but moving onto the stack is cleaner.
2013-12-08 18:26:19 +00:00
Kp d16dff3a16 Move kmatrix_screen onto kmatrix_view stack 2013-12-08 18:26:19 +00:00
Kp 4d877c5d67 Move ai_save_state *_rw onto stack 2013-12-08 18:26:19 +00:00
Kp 8e0e19cd27 Move medkey_init LispCommand onto stack 2013-12-08 18:26:19 +00:00
Kp 769c5bc837 Move autosave_mine savename onto stack 2013-12-08 18:26:19 +00:00
Kp 3a1d646dc8 Move close_autosave delname onto stack 2013-12-08 18:26:19 +00:00
Kp 4d261232c6 Remove useless allocation when saving screenshot 2013-12-08 18:26:19 +00:00
Kp 953a1888d7 Combine state pointer and count pointer 2013-12-08 00:12:45 +00:00
Kp a4f3c93247 Separate mutable and const kconfig data 2013-12-08 00:10:29 +00:00
Kp 3e4884f499 Consolidate ramped keyboard input
This also fixes a copy-paste bug in bank handling.
2013-12-07 21:34:53 +00:00
Kp 65ef441f20 Fix copy-paste bug from 98bf17c0 change of keyboard sensitivity
Using different sensitivities for left-slide versus right-slide looks
like a bug.  Fix it.
2013-12-07 21:32:03 +00:00
Kp 141ead1830 Move ramped controls into template structure 2013-12-07 21:13:37 +00:00
Kp 75c229c6bf Normalize con_printf newline usage 2013-12-07 21:13:37 +00:00
Kp 76765624a0 Simplify calculation of buddy ouch_str 2013-12-07 20:37:24 +00:00
Kp 61d8fe7cc8 Remove unused return value of gr_*printf / gr_*string 2013-12-07 18:44:07 +00:00
Kp 60727dd7d5 Add missing va_end calls 2013-12-07 18:42:50 +00:00
Kp f6125b5f2d Fix array overstep on invalid PCX error number 2013-12-07 18:41:40 +00:00
Kp c3dd634cce Remove unused flag OF_HARMLESS 2013-12-07 18:41:35 +00:00
Kp a2cec5d71f Switch PHYSFSX_fgets to auto-sized variant where possible 2013-12-07 18:39:19 +00:00
Kp 7f5410cc8b Use lengthof instead of sizeof(A)/sizeof(A[0])
The latter form can accept pointers, but the template lengthof cannot.
2013-12-07 18:38:10 +00:00
Kp da70171db2 Mark various newmenu strings as const 2013-12-06 04:44:55 +00:00
Kp 70149044c1 Switch gr_printf(x,y,s) to gr_string(x,y,s) 2013-12-06 04:02:13 +00:00
Kp ff35f946a9 Move char_bm into gr_internal_color_string 2013-12-06 03:58:38 +00:00
Kp 70caa4e7b6 Fix array understep in guidebot flare code 2013-12-06 03:36:07 +00:00
Kp a899b9b945 Restrict ini arguments to 1024 char per line 2013-12-06 03:28:59 +00:00
Kp 320d22aae1 Move similar/main/collide.c -> similar/main/collide.cpp 2013-12-06 03:27:30 +00:00
Kp fcf216474b Move */main/collide.c -> similar/main/collide.c 2013-12-06 03:27:30 +00:00
Kp 517a8c1e37 Move similar/main/fireball.c -> similar/main/fireball.cpp 2013-12-06 03:27:30 +00:00
Kp 3620392f56 Remove unused nm_messagebox_fixedfont 2013-12-06 00:24:07 +00:00