mirror of
https://github.com/electronicarts/CNC_TS_and_RA2_Mission_Editor.git
synced 2025-10-15 07:03:44 -04:00
support x64
This commit is contained in:
parent
99f9d7eb83
commit
3e334ca731
16 changed files with 549 additions and 16 deletions
1
3rdParty/xcc/misc/blowfish.h
vendored
1
3rdParty/xcc/misc/blowfish.h
vendored
|
@ -19,6 +19,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <vartypes.h>
|
||||
#include <xcc/data_ref.h>
|
||||
|
||||
class Cblowfish
|
||||
{
|
||||
|
|
2
3rdParty/xcc/misc/tmp_ts_file.h
vendored
2
3rdParty/xcc/misc/tmp_ts_file.h
vendored
|
@ -34,7 +34,7 @@ public:
|
|||
bool is_valid() const
|
||||
{
|
||||
const t_tmp_ts_header& h = header();
|
||||
int size = get_size();
|
||||
auto const size = get_size();
|
||||
if (sizeof(t_tmp_ts_header) > size ||
|
||||
!h.cblocks_x || !h.cblocks_y ||
|
||||
h.cx != 48 && h.cx != 60 ||
|
||||
|
|
1
3rdParty/xcc/misc/vartypes.h
vendored
1
3rdParty/xcc/misc/vartypes.h
vendored
|
@ -1,3 +1,4 @@
|
|||
#pragma once
|
||||
/*
|
||||
XCC Utilities and Library
|
||||
Copyright (C) 2000 Olaf van der Spek <olafvdspek@gmail.com>
|
||||
|
|
2
3rdParty/xcc/misc/vxl_file.h
vendored
2
3rdParty/xcc/misc/vxl_file.h
vendored
|
@ -45,7 +45,7 @@ public:
|
|||
|
||||
int get_c_spans(int i) const
|
||||
{
|
||||
return get_section_tailer(i)->span_end_ofs - get_section_tailer(i)->span_start_ofs >> 2;
|
||||
return (get_section_tailer(i)->span_end_ofs - get_section_tailer(i)->span_start_ofs) >> 2;
|
||||
}
|
||||
|
||||
int get_c_section_tailers() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue