-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduces a very early debugger feature for quaesar (#25)
* Introduces a very early debugger feature for quaesar + EASTL lib + added some not very functional debugger windows + CMake flags for VC Windows development * removed old cpp files & format fixed make clang & gcc happy gcc compile errors fixed * Fix ImGui cmake file for SDL include path
- Loading branch information
Showing
347 changed files
with
122,408 additions
and
742 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"[m68k]": { | ||
"editor.rulers": [] | ||
}, | ||
"C_Cpp.formatting": "clangFormat", | ||
"C_Cpp.clang_format_style": "file", | ||
"C_Cpp.clang_format_fallbackStyle": "Google" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
[Window][Quaesar debugger] | ||
Pos=0,17 | ||
Size=1280,703 | ||
Collapsed=0 | ||
|
||
[Window][Debug##Default] | ||
Pos=60,60 | ||
Size=400,400 | ||
Collapsed=0 | ||
|
||
[Window][Disassembly] | ||
Pos=8,42 | ||
Size=320,670 | ||
Collapsed=0 | ||
DockId=0x00000001,0 | ||
|
||
[Window][Registers] | ||
Pos=1011,42 | ||
Size=261,495 | ||
Collapsed=0 | ||
DockId=0x0000000A,0 | ||
|
||
[Window][Console] | ||
Pos=330,539 | ||
Size=942,173 | ||
Collapsed=0 | ||
DockId=0x00000003,1 | ||
|
||
[Window][Screen] | ||
Pos=330,42 | ||
Size=679,495 | ||
Collapsed=0 | ||
DockId=0x00000009,0 | ||
|
||
[Window][Palette] | ||
Pos=1011,42 | ||
Size=261,495 | ||
Collapsed=0 | ||
DockId=0x0000000A,1 | ||
|
||
[Window][Memory graph] | ||
Pos=330,42 | ||
Size=679,495 | ||
Collapsed=0 | ||
DockId=0x00000009,1 | ||
|
||
[Window][Memory] | ||
Pos=330,539 | ||
Size=942,173 | ||
Collapsed=0 | ||
DockId=0x00000003,0 | ||
|
||
[Table][0x6038E043,3] | ||
RefScale=13 | ||
Column 0 Width=70 | ||
Column 1 Width=84 | ||
Column 2 Width=175 | ||
|
||
[Table][0xF68F8465,4] | ||
RefScale=13 | ||
Column 0 Width=14 | ||
Column 1 Width=70 | ||
Column 2 Width=14 | ||
Column 3 Width=70 | ||
|
||
[Docking][Data] | ||
DockSpace ID=0x7A095824 Window=0xBB552D6F Pos=8,42 Size=1264,670 Split=X | ||
DockNode ID=0x00000001 Parent=0x7A095824 SizeRef=320,670 Selected=0x19EDEE42 | ||
DockNode ID=0x00000004 Parent=0x7A095824 SizeRef=942,670 Split=Y | ||
DockNode ID=0x00000002 Parent=0x00000004 SizeRef=1264,495 Split=X Selected=0x5B855092 | ||
DockNode ID=0x00000009 Parent=0x00000002 SizeRef=679,262 Selected=0x5B855092 | ||
DockNode ID=0x0000000A Parent=0x00000002 SizeRef=261,262 Selected=0xEAEE9E08 | ||
DockNode ID=0x00000003 Parent=0x00000004 SizeRef=1264,173 CentralNode=1 Selected=0xB2805FDB | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
#------------------------------------------------------------------------------------------- | ||
# Copyright (C) Electronic Arts Inc. All rights reserved. | ||
#------------------------------------------------------------------------------------------- | ||
cmake_minimum_required(VERSION 3.15) | ||
#include(FetchContent) | ||
project(EASTL CXX) | ||
|
||
#------------------------------------------------------------------------------------------- | ||
# Options | ||
#------------------------------------------------------------------------------------------- | ||
option(EASTL_BUILD_BENCHMARK "Enable generation of build files for benchmark" OFF) | ||
option(EASTL_BUILD_TESTS "Enable generation of build files for tests" OFF) | ||
option(EASTL_STD_ITERATOR_CATEGORY_ENABLED "Enable compatibility with std:: iterator categories" OFF) | ||
|
||
|
||
option(EASTL_DISABLE_APRIL_2024_DEPRECATIONS "Enable use of API marked for removal in April 2024." OFF) | ||
option(EASTL_DISABLE_SEPT_2024_DEPRECATIONS "Enable use of API marked for removal in September 2024." OFF) | ||
option(EASTL_DISABLE_APRIL_2025_DEPRECATIONS "Enable use of API marked for removal in April 2025." OFF) | ||
|
||
#------------------------------------------------------------------------------------------- | ||
# Compiler Flags | ||
#------------------------------------------------------------------------------------------- | ||
set (CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH};${CMAKE_CURRENT_SOURCE_DIR}/scripts/CMake") | ||
#include(CommonCppFlags) | ||
|
||
#------------------------------------------------------------------------------------------- | ||
# Library definition | ||
#------------------------------------------------------------------------------------------- | ||
file(GLOB EASTL_SOURCES "source/*.cpp") | ||
file(GLOB_RECURSE EASTL_HEADERS "include/EASTL/**.h") | ||
add_library(EASTL ${EASTL_SOURCES} ${EASTL_HEADERS}) | ||
target_compile_features(EASTL PUBLIC cxx_std_14) | ||
|
||
# include both source and headers in the files tab in Visual Studio | ||
source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} PREFIX "Header Files" FILES ${EASTL_HEADERS}) | ||
|
||
if (MSVC) | ||
set(EASTL_NATVIS_DIR "doc") | ||
set(EASTL_NATVIS_FILE "${EASTL_NATVIS_DIR}/EASTL.natvis") | ||
target_sources(EASTL INTERFACE | ||
$<INSTALL_INTERFACE:${EASTL_NATVIS_FILE}> | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/${EASTL_NATVIS_FILE}> | ||
) | ||
endif() | ||
|
||
if(EASTL_BUILD_BENCHMARK) | ||
add_subdirectory(benchmark) | ||
endif() | ||
|
||
if(EASTL_BUILD_TESTS) | ||
add_subdirectory(test) | ||
endif() | ||
|
||
#------------------------------------------------------------------------------------------- | ||
# Defines | ||
#------------------------------------------------------------------------------------------- | ||
add_definitions(-D_CHAR16T) | ||
add_definitions(-D_CRT_SECURE_NO_WARNINGS) | ||
add_definitions(-D_SCL_SECURE_NO_WARNINGS) | ||
add_definitions(-DEASTL_OPENSOURCE=1) | ||
if (EASTL_STD_ITERATOR_CATEGORY_ENABLED) | ||
add_definitions(-DEASTL_STD_ITERATOR_CATEGORY_ENABLED=1) | ||
endif() | ||
|
||
#------------------------------------------------------------------------------------------- | ||
# Include dirs | ||
#------------------------------------------------------------------------------------------- | ||
target_include_directories(EASTL PUBLIC include) | ||
|
||
#------------------------------------------------------------------------------------------- | ||
# Dependencies | ||
#------------------------------------------------------------------------------------------- | ||
#FetchContent_Declare( | ||
# EABase | ||
# GIT_REPOSITORY https://github.com/electronicarts/EABase.git | ||
# GIT_TAG 123363eb82e132c0181ac53e43226d8ee76dea12 | ||
# GIT_SUBMODULES "" # This should be temporary until we update the cyclic submodule dependencies in EABase. | ||
#) | ||
|
||
#FetchContent_MakeAvailable(EABase) | ||
|
||
#target_link_libraries(EASTL EABase) | ||
|
||
#------------------------------------------------------------------------------------------- | ||
# Deprecations | ||
#------------------------------------------------------------------------------------------- | ||
if(EASTL_DISABLE_APRIL_2024_DEPRECATIONS) | ||
target_compile_definitions(EASTL PUBLIC EA_DEPRECATIONS_FOR_2024_APRIL=EA_DISABLED) | ||
endif() | ||
if(EASTL_DISABLE_SEPT_2024_DEPRECATIONS) | ||
target_compile_definitions(EASTL PUBLIC EA_DEPRECATIONS_FOR_2024_SEPT=EA_DISABLED) | ||
endif() | ||
if(EASTL_DISABLE_APRIL_2025_DEPRECATIONS) | ||
target_compile_definitions(EASTL PUBLIC EA_DEPRECATIONS_FOR_2025_APRIL=EA_DISABLED) | ||
endif() | ||
|
||
|
||
#------------------------------------------------------------------------------------------- | ||
# Installation | ||
#------------------------------------------------------------------------------------------- | ||
install(TARGETS EASTL DESTINATION lib) | ||
install(DIRECTORY include/EASTL DESTINATION include) | ||
|
||
if (MSVC) | ||
install(FILES ${EASTL_NATVIS_FILE} DESTINATION ${EASTL_NATVIS_DIR}) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
BSD 3-Clause License | ||
|
||
Copyright (c) 2019, Electronic Arts | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
1. Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
|
||
2. Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
3. Neither the name of the copyright holder nor the names of its | ||
contributors may be used to endorse or promote products derived from | ||
this software without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE | ||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Oops, something went wrong.