Skip to content
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
30 changes: 13 additions & 17 deletions code/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -333,16 +333,6 @@ if(BuildSPEngine OR BuildJK2SPEngine)
source_group("cgame" FILES ${SPEngineCGameFiles})
set(SPEngineFiles ${SPEngineFiles} ${SPEngineCGameFiles})

if(WIN32)
set(SPEngineWin32Files
"${SPDir}/win32/resource.h"
"${SPDir}/win32/winquake.rc"
"${SharedDir}/sys/win_manifest.manifest"
)
source_group("win32" FILES ${SPEngineWin32Files})
set(SPEngineFiles ${SPEngineFiles} ${SPEngineWin32Files})
endif()

set(SPEngineSysFiles
"${SharedDir}/sys/sys_main.cpp"
"${SharedDir}/sys/sys_event.cpp"
Expand Down Expand Up @@ -385,14 +375,15 @@ if(BuildSPEngine OR BuildJK2SPEngine)

# project macro so we can invoke it twice: for jk2 and for ja
function(add_sp_project ProjectName Label SPDirName InstallDir Component)
if(MakeApplicationBundles)
set_source_files_properties(${SPDirName}/macosx/OpenJK.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
set(SPEngineFiles ${SPEngineFiles} ${SPDirName}/macosx/OpenJK.icns)
set_source_files_properties(${SPDirName}/macosx/English.lproj/InfoPlist.strings PROPERTIES MACOSX_PACKAGE_LOCATION Resources/English.lproj)
set(SPEngineFiles ${SPEngineFiles} ${SPDirName}/macosx/English.lproj/InfoPlist.strings)
endif(MakeApplicationBundles)

if(WIN32)
set(SPEngineWin32Files
"${SPDirName}/win32/resource.h"
"${SPDirName}/win32/winquake.rc"
"${SharedDir}/sys/win_manifest.manifest"
)
source_group("win32" FILES ${SPEngineWin32Files})
set(SPEngineFiles ${SPEngineFiles} ${SPEngineWin32Files})

add_executable(${ProjectName} WIN32 ${SPEngineFiles})
if(UseInternalSDL2)
if(CMAKE_SIZEOF_VOID_P EQUAL 4)
Expand All @@ -407,6 +398,11 @@ if(BuildSPEngine OR BuildJK2SPEngine)
endif()
else(WIN32)
if(MakeApplicationBundles)
set_source_files_properties(${SPDirName}/macosx/OpenJK.icns PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
set(SPEngineFiles ${SPEngineFiles} ${SPDirName}/macosx/OpenJK.icns)
set_source_files_properties(${SPDirName}/macosx/English.lproj/InfoPlist.strings PROPERTIES MACOSX_PACKAGE_LOCATION Resources/English.lproj)
set(SPEngineFiles ${SPEngineFiles} ${SPDirName}/macosx/English.lproj/InfoPlist.strings)

add_executable(${ProjectName} MACOSX_BUNDLE ${SPEngineFiles})
set_target_properties(${ProjectName} PROPERTIES MACOSX_BUNDLE_INFO_PLIST "${SPDirName}/macosx/OpenJKInfo.plist")
else(MakeApplicationBundles)
Expand Down
Binary file modified code/macosx/OpenJK.icns
Binary file not shown.
Binary file removed code/win32/starwars.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion code/win32/winquake.rc
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ END

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1 ICON "starwars.ico"
IDI_ICON1 ICON "../../shared/icons/OpenJK_SP.ico"

/////////////////////////////////////////////////////////////////////////////
//
Expand Down
Binary file modified codeJK2/macosx/OpenJK.icns
Binary file not shown.
Binary file removed codeJK2/win32/starwars.ico
Binary file not shown.
101 changes: 101 additions & 0 deletions codeJK2/win32/winquake.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include <windows.h>

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE
BEGIN
"resource.h\0"
END

2 TEXTINCLUDE
BEGIN
"#include ""winres.h""\r\n"
"\0"
END

3 TEXTINCLUDE
BEGIN
"\0"
END

#endif // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1 ICON "../../shared/icons/OpenJO.ico"

/////////////////////////////////////////////////////////////////////////////
//
// Version
//
#include "../../code/qcommon/game_version.h"

VS_VERSION_INFO VERSIONINFO
FILEVERSION VERSION_MAJOR_RELEASE,VERSION_MINOR_RELEASE,VERSION_EXTERNAL_BUILD,VERSION_INTERNAL_BUILD
PRODUCTVERSION VERSION_MAJOR_RELEASE,VERSION_MINOR_RELEASE,VERSION_EXTERNAL_BUILD,VERSION_INTERNAL_BUILD
FILEFLAGSMASK 0x17L
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "Comments", "Raven Software"
VALUE "CompanyName", "Activision Inc"
VALUE "FileDescription", "OpenJO"
VALUE "FileVersion", VERSION_STRING
VALUE "InternalName", "JASP"
VALUE "LegalCopyright", "Copyright (C) 2013"
VALUE "OriginalFilename", "jasp.exe"
VALUE "ProductName", "OpenJO"
VALUE "ProductVersion", VERSION_STRING
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END

#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////


1 change: 0 additions & 1 deletion codemp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,6 @@ if(BuildMPEngine)

if(WIN32)
set(MPEngineWin32Files
"${MPDir}/win32/icon.ico"
"${MPDir}/win32/resource.h"
"${MPDir}/win32/openjk.rc"
"${SharedDir}/sys/win_manifest.manifest"
Expand Down
Binary file modified codemp/macosx/OpenJK.icns
Binary file not shown.
Binary file removed codemp/win32/icon.ico
Binary file not shown.
2 changes: 1 addition & 1 deletion codemp/win32/openjk.rc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ END

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1 ICON "icon.ico"
IDI_ICON1 ICON "../../shared/icons/OpenJK.ico"

/////////////////////////////////////////////////////////////////////////////
//
Expand Down
2 changes: 1 addition & 1 deletion codemp/win32/openjkded.rc
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ END

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1 ICON "icon.ico"
IDI_ICON1 ICON "../../shared/icons/openjkcmd.ico"

/////////////////////////////////////////////////////////////////////////////
//
Expand Down
Binary file added shared/icons/OpenJK.ico
Binary file not shown.
Binary file removed shared/icons/OpenJK_IconPSD.psd
Binary file not shown.
Binary file removed shared/icons/OpenJK_Icon_1024.png
Binary file not shown.
Binary file removed shared/icons/OpenJK_Icon_128.png
Binary file not shown.
Binary file removed shared/icons/OpenJK_Icon_16.png
Binary file not shown.
Binary file removed shared/icons/OpenJK_Icon_32.png
Binary file not shown.
Binary file removed shared/icons/OpenJK_Icon_64.png
Binary file not shown.
Binary file added shared/icons/OpenJK_SP.ico
Binary file not shown.
Binary file added shared/icons/OpenJO.ico
Binary file not shown.
Binary file added shared/icons/PNG/jo128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/jo16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/jo256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/jo32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/jo48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/jo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/jo64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/mp128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/mp16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/mp256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/mp32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/mp48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/mp512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/mp64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/sp128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/sp16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/sp256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/sp32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/sp48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added shared/icons/PNG/sp512.png
Binary file added shared/icons/PNG/sp64.png
Binary file added shared/icons/Source/JO_bg.jpg
Binary file added shared/icons/Source/MP_bg.jpg
Binary file added shared/icons/Source/SP_bg.jpg
Binary file added shared/icons/Source/openjk.blend
Binary file not shown.
Binary file removed shared/icons/icon.ico
Binary file not shown.
7 changes: 5 additions & 2 deletions shared/icons/license.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
The OpenJK icon was made by Antonio Aiello and is released under
the MIT/X11 license, as quoted here.

code*/macosx/OpenJK.icns, code/win32/starwars.ico,
codemp/win32/icon.ico and shared/sdl/sdl_icon.h are derived works
Rework was made by SomaZ, no change of the license.

openjkcmd.ico was contributed by SirYodaJedi

code*/macosx/OpenJK.icns and shared/sdl/sdl_icon.h are derived works
under the same terms.

----
Expand Down
Binary file removed shared/icons/ocgDGfu.png
Diff not rendered.
Binary file added shared/icons/openjkcmd.ico
Binary file not shown.
Loading
Loading