mirror of
https://github.com/cxong/cdogs-sdl.git
synced 2025-07-23 07:23:01 +02:00
WIP MSVC post-build package
Remove outdated docs
This commit is contained in:
@@ -12,6 +12,7 @@ SDL-Port:
|
||||
|
||||
Jeremy Chin (rekless@fastmail.fm)
|
||||
Lucas Martin-King (lmartinking@gmail.com)
|
||||
Cong Xu (congusbongus@gmail.com)
|
||||
|
||||
|
||||
Additional thanks:
|
||||
|
11
doc/COPYING.BSD
Normal file
11
doc/COPYING.BSD
Normal file
@@ -0,0 +1,11 @@
|
||||
Copyright © 2013 Cong Xu. 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. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY [LICENSOR] "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 AUTHOR 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.
|
@@ -1,31 +0,0 @@
|
||||
C-Dogs SDL ChangeLog
|
||||
===============================================================================
|
||||
|
||||
Version 0.4.1
|
||||
-------------
|
||||
|
||||
* The usual bug-fixes and cleanups
|
||||
|
||||
Version 0.4
|
||||
-----------
|
||||
|
||||
* Windows build *gasp* (only tested on XP)
|
||||
* cdogs-editor can now be built (needs testing, however)
|
||||
* Sound panning implemented (when using SDL mixer)
|
||||
* Fast scaling (to a factor of 2, 3 or 4)
|
||||
* User interface placement smarter
|
||||
* More bug-fixes and cleanups
|
||||
|
||||
Version 0.3
|
||||
-----------
|
||||
|
||||
* Joystick support
|
||||
* SDL mixer support (and thus music as well)
|
||||
* Data/Config dirs changeable via environment variables
|
||||
* Handles quitting more gracefully
|
||||
* XCode Project (Mac OS X)
|
||||
* Loads of bug-fixes and code cleanups
|
||||
|
||||
|
||||
===============================================================================
|
||||
ID: $Id$
|
44
doc/TODO
44
doc/TODO
@@ -1,44 +0,0 @@
|
||||
C-Dogs SDL TODO
|
||||
===============
|
||||
|
||||
STILL TODO:
|
||||
* Optimise stuff :D [mod]
|
||||
* Clean up the general code, so there's fewer warnings [mod]
|
||||
* Put all the input event handling together [mod]
|
||||
|
||||
THE _VERY_ DISTANT FUTURE (if at all):
|
||||
|
||||
* Network multiplayer... *whahahah* :)
|
||||
# More than 2 players?
|
||||
# Larger maps?
|
||||
|
||||
DONE (so we feel good):
|
||||
* Binary packages (for lazy people) [add/mod]
|
||||
- MacOSX (ppc and intel?)
|
||||
- Win32
|
||||
- Linux
|
||||
- Windows
|
||||
|
||||
* Make data directories changeable via environment variables [add/mod]
|
||||
|
||||
* Get joystick stuff working [port]
|
||||
|
||||
* Get sound working better [add/mod]
|
||||
|
||||
* Got running on Mac OS X
|
||||
(and hopefully other non-intel machines) [port]
|
||||
|
||||
* Graphics [port]
|
||||
* Video Output [port]
|
||||
* Keyboard Input [port]
|
||||
* Get sound working [port]
|
||||
|
||||
* Get external missions working [port]
|
||||
* Get game to use different directories for data and config [mod]
|
||||
|
||||
* Made the screen shake when there's an explosion :D [add/mod]
|
||||
* Have nicer startup messages :D [mod]
|
||||
|
||||
* Makefile [admin]
|
||||
|
||||
* Get the mission editor working [port]
|
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
project(cdogs-sdl C)
|
||||
|
||||
set(DEBUG 0) #set to 1 to enable debug build
|
||||
@@ -133,6 +133,49 @@ SET(CDOGS_SDL_HEADERS
|
||||
sys_specifics.h)
|
||||
add_executable(cdogs-sdl ${CDOGS_SDL_SOURCES} ${CDOGS_SDL_HEADERS})
|
||||
target_link_libraries(cdogs-sdl cdogs ${SDL_LIBRARY} ${SDLMIXER_LIBRARY})
|
||||
IF(MSVC)
|
||||
# Stage for packaging
|
||||
|
||||
# DLLs
|
||||
FILE(GLOB DLLS "${CMAKE_BINARY_DIR}/*.dll")
|
||||
FOREACH(DLL ${DLLS})
|
||||
ADD_CUSTOM_COMMAND(TARGET cdogs-sdl POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy
|
||||
"${DLL}"
|
||||
"cdogs-sdl/")
|
||||
ENDFOREACH()
|
||||
|
||||
# exes
|
||||
SET(EXES
|
||||
Release/cdogs-sdl.exe
|
||||
#Release/cdogs-sdl-editor.exe
|
||||
)
|
||||
FOREACH(EXE ${EXES})
|
||||
ADD_CUSTOM_COMMAND(TARGET cdogs-sdl POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy
|
||||
"${EXE}"
|
||||
"cdogs-sdl/")
|
||||
ENDFOREACH()
|
||||
|
||||
# docs
|
||||
FILE(GLOB DOCS "${CMAKE_BINARY_DIR}/doc/*")
|
||||
FOREACH(DOC ${DOCS})
|
||||
ADD_CUSTOM_COMMAND(TARGET cdogs-sdl POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy
|
||||
"${DOC}"
|
||||
"cdogs-sdl/")
|
||||
ENDFOREACH()
|
||||
|
||||
# missions/dogfights
|
||||
ADD_CUSTOM_COMMAND(TARGET cdogs-sdl POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||
"${CMAKE_BINARY_DIR}/dogfights"
|
||||
"cdogs-sdl/dogfights")
|
||||
ADD_CUSTOM_COMMAND(TARGET cdogs-sdl POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy
|
||||
"${CMAKE_BINARY_DIR}/missions"
|
||||
"cdogs-sdl/missions")
|
||||
ENDIF()
|
||||
|
||||
SET(CDOGS_SDL_EDITOR_SOURCES
|
||||
cdogsed.c
|
||||
|
Reference in New Issue
Block a user