Commit graph

5574 commits

Author SHA1 Message Date
Kp 07176ece8b Add Valgrind poison stubs 2014-09-07 19:39:18 +00:00
Kp a02f78a171 Move saving window pointer into helper 2014-09-07 19:04:07 +00:00
Kp fdef9fd04f Use C++ allocation for window-specific data 2014-09-07 19:04:07 +00:00
Kp ff052c4fa1 Wrap pause window message in structure 2014-09-07 19:04:07 +00:00
Kp ff31905181 Use unique_ptr for grs_subcanvas 2014-09-07 19:04:06 +00:00
Kp 8321b90a9a Use C++ inheritance for UI gadgets 2014-09-07 19:04:06 +00:00
Kp 73a0aee004 Use accessor for side::type 2014-09-06 22:36:58 +00:00
Kp 02e2e77ee6 Tighten processing of WALL_IS_DOORWAY flags 2014-09-06 22:26:11 +00:00
Kp 3573d680ef Optimize set_ambient_sound_flags 2014-09-06 04:08:44 +00:00
Kp f5e7516448 Overwrite oldest earthshaker even if not done
Otherwise the newest earthshaker will be lost.
2014-09-06 04:07:45 +00:00
Kp d312248d45 Return int_fast32_t from find_connect_side 2014-09-06 04:06:18 +00:00
Kp 36183e1388 Optimize render compare_children 2014-09-06 04:01:32 +00:00
Kp 5576a65dac Check length of g3 tmap inputs 2014-09-04 03:02:21 +00:00
Kp 6af1b910df Short circuit ambient_mark_bfs test for child segments 2014-09-04 02:24:54 +00:00
Kp 8c527c8e0a Name serial unaligned_storage union 2014-09-04 01:57:04 +00:00
Kp e503a64e31 Support other endian serialization 2014-09-04 01:53:11 +00:00
Kp 5f4342fb01 Short circuit build_segment_list CC_BEHIND check 2014-09-04 01:51:03 +00:00
Kp c773ef560e Inline disabled render features 2014-09-03 01:56:54 +00:00
Kp 21a4cd3f5f Inline migrate_objects 2014-09-03 01:38:00 +00:00
Kp 9558abf7d3 Inline no_migrate_segs 2014-09-03 01:35:06 +00:00
Kp 697e34cdb7 Inline new_seg_sorting 2014-09-03 01:34:05 +00:00
Kp 31088e180e Inline behind_check 2014-09-03 01:33:52 +00:00
Kp 6069c3db71 Inline window_check 2014-09-03 01:33:46 +00:00
Kp 215c66595b Copy morphing g3s_uvl onto stack 2014-09-03 01:32:34 +00:00
Kp c057ee57ed Cache calls of WALL_IS_DOORWAY 2014-09-02 22:15:07 +00:00
Kp df3f2fe2fe Simplify ogl/sdl texture mapping 2014-09-02 22:13:15 +00:00
Kp efbd624f61 Disallow implicitly copying bytebuffer_t 2014-09-02 22:11:31 +00:00
Kp d41883c771 Remove unused variables to calm clang 2014-09-02 22:11:22 +00:00
Kp 7f6299aaa7 Use built-in __linux__ instead of custom __LINUX__ 2014-09-02 22:10:34 +00:00
Kp 56e7fa5f37 Add special case for escaped newline 2014-09-02 22:09:44 +00:00
Kp 4a0d0b3800 Move '-o $TARGET' to end of command line 2014-09-02 22:09:07 +00:00
Kp e00224d44d Fix signature of sort predicate 2014-08-30 22:38:26 +00:00
Kp 88a7ddc286 Make cycle corruption check stricter 2014-08-29 02:38:02 +00:00
Matt Vandermeulen bd353a176a Merge pull request #8 from adam2104/fix-register-len
fix incorrect tracker_register length
2014-08-27 14:04:18 -05:00
Adam Gensler e718103da6 fix incorrect tracker_register length 2014-08-27 14:08:09 -04:00
Kp cdaa4a8329 Make g3_check_and_draw_* inline 2014-08-27 03:16:51 +00:00
Kp f9e9f0faa9 Use RAIIdmem for gadgets 2014-08-27 03:15:06 +00:00
Kp e77f02700a Use unique_ptr for current_music 2014-08-27 02:52:21 +00:00
Kp 4fb1c7236d Remove bogus PHYSFS_readSBE32 return test
PHYSFS_readSBE32 returns 0 or 1, never EOF.
2014-08-26 03:21:55 +00:00
Kp 12ba6d7c1e Use new/delete for credits 2014-08-26 03:21:39 +00:00
Kp 5f5bd4e01d Throw runtime_error on bad HMP decode
Returning 0 writes a zero into the length field, which will likely break
things later.  Throw an exception to make bad HMPs obvious.
2014-08-26 03:19:59 +00:00
Kp c371559007 Move mission get_parm_value::buf onto caller stack 2014-08-26 03:19:29 +00:00
Kp 3da454fd43 Validate cycle order on load 2014-08-26 02:59:17 +00:00
Kp 3e8ec8932f Use array<> for player_config 2014-08-26 02:59:01 +00:00
Kp 1f0bf71c5e Fix off-by-one in PHYSFSX_puts_literal 2014-08-26 02:41:33 +00:00
Kp 3d5ff5239a Fix writing D2 savegames
Escort_goal_index is an object number, but must occupy 4 bytes in the
save file for compatibility with older versions.
2014-08-24 20:59:03 +00:00
Kp 765b8fc0b1 Relax assert that fails for D1 v1.0 POF
Zico reports that D1 v1.0 game data fails Assert(id < r->n_guns).  Relax
the assertion to avoid the failure.
2014-08-24 18:30:25 +00:00
Kp 94550355a8 Use make_unique instead of bare new 2014-08-24 18:28:09 +00:00
Kp fea751bc62 Use std::string for mission path 2014-08-24 17:45:30 +00:00
Kp 0e211ebe32 Use vector<> for mle[] 2014-08-24 17:41:02 +00:00