Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Case sensitive filesystem support #461

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Src/Orbiter/Astro.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#define __ASTRO_H

#include <time.h>
#include "vecmat.h"
#include "Vecmat.h"
#include "OrbiterAPI.h"

const double iAU = 1.0/AU;
Expand Down
4 changes: 2 additions & 2 deletions Src/Orbiter/Celbody.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifndef __CELBODY_H
#define __CELBODY_H

#include "RigidBody.h"
#include "Rigidbody.h"
#include "OrbiterAPI.h"
#include "PinesGrav.h"

Expand Down Expand Up @@ -229,4 +229,4 @@ friend class CELBODY2;
bool ephem_parentbary; // true if body calculates its state with respect to the parent barycentre, false if with respect to parent's true position
};

#endif
#endif
3 changes: 2 additions & 1 deletion Src/Orbiter/Config.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#define __CONFIG_CPP
#define STRICT 1

#include <algorithm>
#include <fstream>
#include <iomanip>
#include <string.h>
Expand Down Expand Up @@ -1592,4 +1593,4 @@ GDIResources::~GDIResources ()
DeleteObject (dlgF1r);
DeleteObject (dlgF1i);
DeleteObject (dlgF2);
}
}
2 changes: 1 addition & 1 deletion Src/Orbiter/D3dmath.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define STRICT
#include <math.h>
#include <stdio.h>
#include "D3DMath.h"
#include "D3dmath.h"

VOID VMAT_rotx (D3DMATRIX &a, double r)
{
Expand Down
2 changes: 1 addition & 1 deletion Src/Orbiter/DialogWin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "DlgMgr.h"
#include "OrbiterAPI.h"
#include "Orbiter.h"
#include "Resource.h"
#include "resource.h"
#include "Log.h"

#define DLG_CAPTIONBUTTON (DLG_CAPTIONCLOSE|DLG_CAPTIONHELP)
Expand Down
2 changes: 1 addition & 1 deletion Src/Orbiter/Dialogs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "Camera.h"
#include "Pane.h"
#include "Nav.h"
#include "Resource.h"
#include "resource.h"
#include "Dialogs.h"
#include "DlgMgr.h" // to be removed

Expand Down
6 changes: 3 additions & 3 deletions Src/Orbiter/DlgCamera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@

#include "DlgCamera.h"
#include "DlgMgr.h"
#include "Resource.h"
#include "Resource2.h"
#include "resource.h"
#include "resource2.h"
#include "Orbiter.h"
#include "Psys.h"
#include "Camera.h"
#include "Uxtheme.h"
#include <uxtheme.h>
#include "DlgCtrl.h"

using std::min;
Expand Down
5 changes: 3 additions & 2 deletions Src/Orbiter/DlgCamera.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
#ifndef __DLGCAMERA_H
#define __DLGCAMERA_H

#include <windows.h>
#include <commctrl.h>
#include "DialogWin.h"
#include "CommCtrl.h"
#include "Celbody.h"
#include "Camera.h"

Expand Down Expand Up @@ -170,4 +171,4 @@ class TabPreset: public CameraTab {
static INT_PTR CALLBACK DlgProc (HWND, UINT, WPARAM, LPARAM);
};

#endif // !__DLGCAMERA_H
#endif // !__DLGCAMERA_H
6 changes: 3 additions & 3 deletions Src/Orbiter/DlgCapture.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
#include <windows.h>
#include "DlgCapture.h"
#include "Orbiter.h"
#include "Resource.h"
#include "Resource2.h"
#include "resource.h"
#include "resource2.h"
#include <string>

extern Orbiter *g_pOrbiter;
Expand Down Expand Up @@ -187,4 +187,4 @@ bool DlgCapture::AutoIncrement (HWND hDlg)
return true;
}
return false;
}
}
6 changes: 3 additions & 3 deletions Src/Orbiter/DlgFocus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@
#define STRICT 1

#include "DlgFocus.h"
#include "Resource.h"
#include "resource.h"
#include "Orbiter.h"
#include "Psys.h"
#include "SuperVessel.h"
#include "Pane.h"
#include "Camera.h"
#include "Util.h"
#include "Uxtheme.h"
#include <uxtheme.h>
#include <iomanip>

extern Orbiter *g_pOrbiter;
Expand Down Expand Up @@ -572,4 +572,4 @@ HTREEITEM DlgFocus::FindItem (HWND hDlg, const char *str, HTREEITEM hti_first)
hti_first = (HTREEITEM)SendDlgItemMessage (hDlg, IDC_TREE1, TVM_GETNEXTITEM, TVGN_NEXT, (LPARAM)hti_first);
} while (hti_first);
return NULL;
}
}
6 changes: 4 additions & 2 deletions Src/Orbiter/DlgFocus.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
#ifndef __DLGFOCUS_H
#define __DLGFOCUS_H

#include <windows.h>
#include <commctrl.h>

#include "DialogWin.h"
#include "CommCtrl.h"

class DlgFocus: public DialogWin {
public:
Expand Down Expand Up @@ -46,4 +48,4 @@ class DlgFocus: public DialogWin {
RECT rClient, rTab, rEdit, rTree, rAppl, rPrev, rHelp, rClse, rSldr, rLabl, rChck;
};

#endif // !__DLGFOCUS_H
#endif // !__DLGFOCUS_H
4 changes: 2 additions & 2 deletions Src/Orbiter/DlgFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

#include "DlgFunction.h"
#include "Orbiter.h"
#include "Resource.h"
#include "Resource2.h"
#include "resource.h"
#include "resource2.h"

extern Orbiter *g_pOrbiter;
extern HELPCONTEXT DefHelpContext;
Expand Down
2 changes: 1 addition & 1 deletion Src/Orbiter/DlgHelp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "DlgHelp.h"
#include "DlgMgr.h"
#include "Orbiter.h"
#include "Resource.h"
#include "resource.h"
#include <htmlhelp.h>
#include <io.h>

Expand Down
4 changes: 2 additions & 2 deletions Src/Orbiter/DlgInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include <windows.h>
#include "DlgInfo.h"
#include "Dialogs.h"
#include "Resource.h"
#include "resource.h"
#include "DlgMgr.h" // to be removed
#include "Orbiter.h"
#include "Vessel.h"
Expand All @@ -21,7 +21,7 @@
#include "Celbody.h"
#include <windows.h>
#include <commctrl.h>
#include <Richedit.h>
#include <richedit.h>
#include "Element.h"

extern Orbiter *g_pOrbiter;
Expand Down
2 changes: 1 addition & 1 deletion Src/Orbiter/DlgMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "Orbiter.h"
#include "Psys.h"
#include "Planet.h"
#include "Resource.h"
#include "resource.h"
#include "DlgMgr.h" // to be removed
#include "Pane.h"
#include "Util.h"
Expand Down
4 changes: 2 additions & 2 deletions Src/Orbiter/DlgMenuCfg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#include "Pane.h"
#include "MenuInfoBar.h"
#include "DlgMenuCfg.h"
#include "Resource.h"
#include "Resource2.h"
#include "resource.h"
#include "resource2.h"
#include "DlgCtrl.h"

extern Orbiter *g_pOrbiter;
Expand Down
2 changes: 1 addition & 1 deletion Src/Orbiter/DlgMgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include <stdio.h>
#include "GraphicsAPI.h"
#include "DlgMgr.h"
#include "Resource.h"
#include "resource.h"
#include "Orbiter.h"
#include "Log.h"

Expand Down
2 changes: 1 addition & 1 deletion Src/Orbiter/DlgOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include "Camera.h"
#include "DlgCtrl.h"
#include "resource.h"
#include "Uxtheme.h"
#include <uxtheme.h>
#include <commctrl.h>

extern Orbiter* g_pOrbiter;
Expand Down
4 changes: 2 additions & 2 deletions Src/Orbiter/DlgRecorder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

#include "DlgRecorder.h"
#include "Orbiter.h"
#include "Resource.h"
#include "Resource2.h"
#include "resource.h"
#include "resource2.h"

extern Orbiter *g_pOrbiter;
extern Vessel *g_focusobj;
Expand Down
4 changes: 2 additions & 2 deletions Src/Orbiter/Launchpad.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
#include <io.h>
#include <time.h>
#include <fstream>
#include "Uxtheme.h"
#include <uxtheme.h>
#include <commctrl.h>
#include "Resource.h"
#include "resource.h"
#include "Orbiter.h"
#include "Launchpad.h"
#include "TabScenario.h"
Expand Down
4 changes: 2 additions & 2 deletions Src/Orbiter/Launchpad.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#ifndef __LAUNCHPAD_H
#define __LAUNCHPAD_H

#include <CommCtrl.h>
#include <commctrl.h>
#include "OrbiterAPI.h"
#include "Config.h"

Expand Down Expand Up @@ -153,4 +153,4 @@ namespace orbiter {

}

#endif // !__LAUNCHPAD_H
#endif // !__LAUNCHPAD_H
2 changes: 1 addition & 1 deletion Src/Orbiter/MenuInfoBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "MenuInfoBar.h"
#include "Pane.h"
#include "Camera.h"
#include "Resource.h"
#include "resource.h"
#include "Dialogs.h"
#include "DlgMgr.h"
#include "DlgMenuCfg.h"
Expand Down
2 changes: 1 addition & 1 deletion Src/Orbiter/MfdAlign.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ static const Body *last_target = 0;
// =======================================================================
// class Instrument_OPlaneAlign

struct Instrument_OPlaneAlign::SavePrm Instrument_OPlaneAlign::saveprm = {0,0,0,0.0,0.0,false};
struct Instrument_OPlaneAlign::SavePrm Instrument_OPlaneAlign::saveprm = {0,0,0,false,0.0,0.0};

Instrument_OPlaneAlign::Instrument_OPlaneAlign (Pane *_pane, INT_PTR _id, const Spec &spec, Vessel *_vessel, bool restore)
: Instrument (_pane, _id, spec, _vessel)
Expand Down
2 changes: 1 addition & 1 deletion Src/Orbiter/OptionsPages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "Psys.h"
#include "Camera.h"
#include "resource.h"
#include "Uxtheme.h"
#include <uxtheme.h>

using std::min;
using std::max;
Expand Down
4 changes: 2 additions & 2 deletions Src/Orbiter/OptionsPages.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define __OPTIONSPAGES_H

#include <windows.h>
#include <CommCtrl.h>
#include <commctrl.h>
#include "CustomControls.h"
#include "OrbiterAPI.h"

Expand Down Expand Up @@ -458,4 +458,4 @@ class OptionsPage_Axes : public OptionsPage {
BOOL OnHScroll(HWND hTab, WPARAM wParam, LPARAM lParam);
};

#endif // !__OPTIONSPAGES_H
#endif // !__OPTIONSPAGES_H
2 changes: 1 addition & 1 deletion Src/Orbiter/PlaybackEd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "DlgMgr.h" // remove
#include "Camera.h"
#include "Log.h"
#include "Resource.h"
#include "resource.h"

using namespace std;

Expand Down
2 changes: 2 additions & 0 deletions Src/Orbiter/TabModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#include "TabModule.h"
#include "resource.h"
#include <filesystem>
#include <algorithm>

namespace fs = std::filesystem;

using std::max;
Expand Down
4 changes: 2 additions & 2 deletions Src/Orbiter/TabScenario.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#ifndef __TABSCENARIO_H
#define __TABSCENARIO_H

#include <CommCtrl.h>
#include <commctrl.h>
#include "LpadTab.h"
#include "CustomControls.h"
#include <filesystem>
Expand Down Expand Up @@ -91,4 +91,4 @@ namespace orbiter {

}

#endif // !__TABSCENARIO_H
#endif // !__TABSCENARIO_H
3 changes: 2 additions & 1 deletion Src/Orbiter/TimeData.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef TIMEDATA_H
#define TIMEDATA_H

#include <cstddef>
//-----------------------------------------------------------------------------
// Name: class TimeData
// Desc: stores timing information for current time step
Expand Down Expand Up @@ -72,4 +73,4 @@ struct TimeJumpData {
int mode;
};

#endif
#endif
4 changes: 2 additions & 2 deletions Src/Orbiter/VectorMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "VectorMap.h"
#include "Psys.h"
#include "MFD.h"
#include "Mfd.h"
#include "Util.h"

#define OUTLINE_COAST 1
Expand Down Expand Up @@ -1681,4 +1681,4 @@ void Groundtrack::Update ()
vupdt = (vupdt+1) % nvtx;
}
omega_updt = fabs (omega_updt);
}
}
Loading