Skip to content

Commit

Permalink
Change line ending to CRLF
Browse files Browse the repository at this point in the history
  • Loading branch information
massanoori committed Sep 23, 2017
1 parent 6716651 commit e8cb20e
Show file tree
Hide file tree
Showing 61 changed files with 12,757 additions and 12,755 deletions.
8 changes: 4 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

docs/* linguist-documentation
d3d8/d3d8/include/* linguist-vendored
d3d9/d3dx/include/* linguist-vendored

docs/* linguist-documentation
d3d8/d3d8/include/* linguist-vendored
d3d9/d3dx/include/* linguist-vendored
4 changes: 2 additions & 2 deletions .gitconfig
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[core]
autocrlf = false
[core]
autocrlf = false
Expand Down
110 changes: 55 additions & 55 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,55 +1,55 @@
# ignore all files
*

# scan all dirs
!*/

# C/C++
!*.cpp
!*.c
!*.h
!*.def
!*.lib
!*.rc

# Build
!*.cmake

# Documents
!*.html
!*.png
!*.css
!*.jpg
!*.py
!*.rst
!.nojekyll

# Internationalization
!*.rcconfig
!*.bat

# Sample config files
!/sample-config/*.throtator

!*.txt
!*.md
!Makefile

# Intermediate files
Debug/
Release/
MinSizeRel/
RelWithDebInfo/
_build/

!.gitignore
!.gitattributes

# Submodules
!/nlohmann-json
!/fmtlib
!/imgui

# Appveyor
!appveyor.yml

# ignore all files
*

# scan all dirs
!*/

# C/C++
!*.cpp
!*.c
!*.h
!*.def
!*.lib
!*.rc

# Build
!*.cmake

# Documents
!*.html
!*.png
!*.css
!*.jpg
!*.py
!*.rst
!.nojekyll

# Internationalization
!*.rcconfig
!*.bat

# Sample config files
!/sample-config/*.throtator

!*.txt
!*.md
!Makefile

# Intermediate files
Debug/
Release/
MinSizeRel/
RelWithDebInfo/
_build/

!.gitignore
!.gitattributes

# Submodules
!/nlohmann-json
!/fmtlib
!/imgui

# Appveyor
!appveyor.yml

18 changes: 9 additions & 9 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[submodule "json_hpp"]
path = nlohmann-json
url = https://github.com/nlohmann/json.git
[submodule "fmtlib"]
path = fmtlib
url = https://github.com/fmtlib/fmt.git
[submodule "imgui"]
path = imgui
url = https://github.com/ocornut/imgui.git
[submodule "json_hpp"]
path = nlohmann-json
url = https://github.com/nlohmann/json.git
[submodule "fmtlib"]
path = fmtlib
url = https://github.com/fmtlib/fmt.git
[submodule "imgui"]
path = imgui
url = https://github.com/ocornut/imgui.git
84 changes: 42 additions & 42 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
cmake_minimum_required(VERSION 3.5)

if (NOT "${CMAKE_GENERATOR}" MATCHES "Visual Studio .+")
message(FATAL_ERROR "The only supported compiler is MSVC.")
endif ()

if ("${CMAKE_GENERATOR}" MATCHES "(Win64|ARM)")
message(FATAL_ERROR "ARM and x64 are not supported.")
endif()

set (CMAKE_CXX_STANDARD 11)

foreach(flag_var
CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO)
if(${flag_var} MATCHES "/MD")
string(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}")
endif(${flag_var} MATCHES "/MD")
endforeach(flag_var)

project(THRotator)

option(USE_UNICODE "Set unicode as character set" ON)

if (USE_UNICODE)
add_definitions(-D_UNICODE -DUNICODE)
endif ()

set(BOOST_INCLUDE_DIR "" CACHE PATH "boost header file directory")
set(BOOST_LIB_DIR "" CACHE PATH "boost library directory")

set_property(GLOBAL PROPERTY USE_FOLDERS ON)

add_subdirectory(fmtlib)
add_subdirectory(d3d9)
add_subdirectory(d3d8)
add_subdirectory(localization_en-US)

install(DIRECTORY sample-config DESTINATION .)
install(FILES MANUAL.txt DESTINATION .)
install(FILES CREDITS.txt DESTINATION .)
install(FILES LICENSE.txt DESTINATION .)
cmake_minimum_required(VERSION 3.5)

if (NOT "${CMAKE_GENERATOR}" MATCHES "Visual Studio .+")
message(FATAL_ERROR "The only supported compiler is MSVC.")
endif ()

if ("${CMAKE_GENERATOR}" MATCHES "(Win64|ARM)")
message(FATAL_ERROR "ARM and x64 are not supported.")
endif()

set (CMAKE_CXX_STANDARD 11)

foreach(flag_var
CMAKE_CXX_FLAGS CMAKE_CXX_FLAGS_DEBUG CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_MINSIZEREL CMAKE_CXX_FLAGS_RELWITHDEBINFO)
if(${flag_var} MATCHES "/MD")
string(REGEX REPLACE "/MD" "/MT" ${flag_var} "${${flag_var}}")
endif(${flag_var} MATCHES "/MD")
endforeach(flag_var)

project(THRotator)

option(USE_UNICODE "Set unicode as character set" ON)

if (USE_UNICODE)
add_definitions(-D_UNICODE -DUNICODE)
endif ()

set(BOOST_INCLUDE_DIR "" CACHE PATH "boost header file directory")
set(BOOST_LIB_DIR "" CACHE PATH "boost library directory")

set_property(GLOBAL PROPERTY USE_FOLDERS ON)

add_subdirectory(fmtlib)
add_subdirectory(d3d9)
add_subdirectory(d3d8)
add_subdirectory(localization_en-US)

install(DIRECTORY sample-config DESTINATION .)
install(FILES MANUAL.txt DESTINATION .)
install(FILES CREDITS.txt DESTINATION .)
install(FILES LICENSE.txt DESTINATION .)
78 changes: 39 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,39 @@
THRotator
=====

[![Build status](https://ci.appveyor.com/api/projects/status/hh62maoopv602fm5?svg=true)](https://ci.appveyor.com/project/massanoori/throtator)
[![Coverity Scan Build Status](https://scan.coverity.com/projects/13679/badge.svg)](https://scan.coverity.com/projects/massanoori-throtator)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

THRotator allows screen rotation of Touhou Project.
The user can customize the positions of HUD elements by following GUI.

![Screenshot on Hidden Star in Four Seasons](http://throtator-manual.readthedocs.io/en/latest/_images/HSiFS-screenshot-en.png)

THRotator works on D3D8-based works (Touhou 6-9.5) and D3D9-based works (Touhou 10 and later).

How to install and use
=====

Instructions are given at online manual.

* English: <http://throtator-manual.readthedocs.io/en/stable/>.
* 日本語: <http://throtator-manual.readthedocs.io/ja/stable/>.

Repository of manual
=====

<https://github.com/massanoori/THRotator-manual>.

Redistribution
=====

Configuration files
-----

Public domain.

Other files
-----

Under GPL v3.
THRotator
=====

[![Build status](https://ci.appveyor.com/api/projects/status/hh62maoopv602fm5?svg=true)](https://ci.appveyor.com/project/massanoori/throtator)
[![Coverity Scan Build Status](https://scan.coverity.com/projects/13679/badge.svg)](https://scan.coverity.com/projects/massanoori-throtator)
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

THRotator allows screen rotation of Touhou Project.
The user can customize the positions of HUD elements by following GUI.

![Screenshot on Hidden Star in Four Seasons](http://throtator-manual.readthedocs.io/en/latest/_images/HSiFS-screenshot-en.png)

THRotator works on D3D8-based works (Touhou 6-9.5) and D3D9-based works (Touhou 10 and later).

How to install and use
=====

Instructions are given at online manual.

* English: <http://throtator-manual.readthedocs.io/en/stable/>.
* “ú–{Œê: <http://throtator-manual.readthedocs.io/ja/stable/>.

Repository of manual
=====

<https://github.com/massanoori/THRotator-manual>.

Redistribution
=====

Configuration files
-----

Public domain.

Other files
-----

Under GPL v3.
60 changes: 30 additions & 30 deletions appveyor-cov.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
version: '{build}'
image: Visual Studio 2017
configuration: Debug
platform: x86
build_script:
- cmd: >-
git submodule init
git submodule update
mkdir build
cd build
set THR_CMAKE_BOOST_CONFIG=-DBOOST_INCLUDE_DIR=C:\Libraries\boost_1_64_0 -DBOOST_LIB_DIR=C:\Libraries\boost_1_64_0\lib32-msvc-14.1
set THR_CMAKE_CONFIG=-DCMAKE_INSTALL_PREFIX=../install-2017 -G "Visual Studio 15 2017" -DCMAKE_BUILD_TYPE=Debug
"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvars32.bat"
cmake ../ %THR_CMAKE_BOOST_CONFIG% %THR_CMAKE_CONFIG%
mkdir cov-int
cov-build --dir cov-int/cov-int msbuild INSTALL.vcxproj /maxcpucount
artifacts:
- path: .\build\cov-int
version: '{build}'
image: Visual Studio 2017
configuration: Debug
platform: x86
build_script:
- cmd: >-
git submodule init
git submodule update
mkdir build
cd build
set THR_CMAKE_BOOST_CONFIG=-DBOOST_INCLUDE_DIR=C:\Libraries\boost_1_64_0 -DBOOST_LIB_DIR=C:\Libraries\boost_1_64_0\lib32-msvc-14.1
set THR_CMAKE_CONFIG=-DCMAKE_INSTALL_PREFIX=../install-2017 -G "Visual Studio 15 2017" -DCMAKE_BUILD_TYPE=Debug
"C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Auxiliary/Build/vcvars32.bat"
cmake ../ %THR_CMAKE_BOOST_CONFIG% %THR_CMAKE_CONFIG%
mkdir cov-int
cov-build --dir cov-int/cov-int msbuild INSTALL.vcxproj /maxcpucount
artifacts:
- path: .\build\cov-int
name: cov-int
Loading

0 comments on commit e8cb20e

Please sign in to comment.