Compare commits
129 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
50c2db100e | ||
![]() |
d5d5e507af | ||
![]() |
311bc220a8 | ||
![]() |
992acd8873 | ||
![]() |
1674575dc0 | ||
![]() |
3f882d9e6c | ||
![]() |
c7ff744dcd | ||
![]() |
a2ddb472f5 | ||
![]() |
caf86a9fc6 | ||
![]() |
27d5506262 | ||
![]() |
ca4caf7991 | ||
![]() |
dabc7548fe | ||
![]() |
fa8971498f | ||
![]() |
e900a7679a | ||
![]() |
01e48fbcc8 | ||
![]() |
f470cba09e | ||
![]() |
5a278ef4ec | ||
![]() |
befe480ec3 | ||
![]() |
71cccac3da | ||
![]() |
0729e35b50 | ||
![]() |
2a2214991c | ||
![]() |
ae731ddefc | ||
![]() |
18a37393c5 | ||
![]() |
8c6d5a0f5c | ||
![]() |
c28596292f | ||
![]() |
84dfd4f7f3 | ||
![]() |
9907e9e5c7 | ||
![]() |
62bb91b5a6 | ||
![]() |
e8d0996817 | ||
![]() |
f389c3b3fe | ||
![]() |
2fcaf2cc40 | ||
![]() |
0f9cacdde5 | ||
![]() |
8e9d137608 | ||
![]() |
36e95b2f48 | ||
![]() |
4f6c987d77 | ||
![]() |
28b5fc1d5a | ||
![]() |
20d9176d10 | ||
![]() |
806f543302 | ||
![]() |
ddaff8a46a | ||
![]() |
1500c1d2f2 | ||
![]() |
6ad7269e5a | ||
![]() |
7e52c4e449 | ||
![]() |
ada2c9efe9 | ||
![]() |
b68df8336a | ||
![]() |
cf77c2baf3 | ||
![]() |
74ebd7f903 | ||
![]() |
95593964bb | ||
![]() |
2fd8d4e580 | ||
![]() |
8b14a91ed9 | ||
![]() |
67c5b31225 | ||
![]() |
20231c1fc5 | ||
![]() |
773d093e68 | ||
![]() |
62cd3d04e1 | ||
![]() |
52ede065fc | ||
![]() |
a80e758e32 | ||
![]() |
2e75380218 | ||
![]() |
a3fcf2e8e7 | ||
![]() |
d2712fa218 | ||
![]() |
4305b9e8f4 | ||
![]() |
47d5e1d5e6 | ||
![]() |
709fdb9e38 | ||
![]() |
913cc801b6 | ||
![]() |
1b6be92cad | ||
![]() |
914b4bd5f3 | ||
![]() |
adba4b0da9 | ||
![]() |
00a574fe10 | ||
![]() |
57dc7d20b6 | ||
![]() |
d70b835464 | ||
![]() |
c43a97395a | ||
![]() |
c6ab6bc484 | ||
![]() |
8de7873635 | ||
![]() |
b72c1d2921 | ||
![]() |
74d3214f74 | ||
![]() |
59594b4ac2 | ||
![]() |
1784bd9f26 | ||
![]() |
cce2976156 | ||
![]() |
aeb31f0669 | ||
![]() |
a8c9adb052 | ||
![]() |
607a6a13bc | ||
![]() |
0120b7554c | ||
![]() |
fdcad184f9 | ||
![]() |
b52c52cd36 | ||
![]() |
5344a179a4 | ||
![]() |
a8d3bb97ea | ||
![]() |
9d5abb0243 | ||
![]() |
122577a916 | ||
![]() |
8d07f8eaf6 | ||
![]() |
a1a8d28f5c | ||
![]() |
493202afcf | ||
![]() |
52f0b21ea6 | ||
![]() |
a1f5a88fe7 | ||
![]() |
9610106088 | ||
![]() |
702fce0be8 | ||
![]() |
5921c8e420 | ||
![]() |
4c0c6e635e | ||
![]() |
3ed2eeb104 | ||
![]() |
bb139955dc | ||
![]() |
fddbafebd3 | ||
![]() |
3fa5993177 | ||
![]() |
ca46b5033e | ||
![]() |
c47641d7e1 | ||
![]() |
fc55c6b524 | ||
![]() |
2aeec22ef8 | ||
![]() |
644241badb | ||
![]() |
8cdab5c814 | ||
![]() |
fcdf2286b6 | ||
![]() |
abf0ee4303 | ||
![]() |
1782de7336 | ||
![]() |
8961f4dfd4 | ||
![]() |
034c768994 | ||
![]() |
44e428bccb | ||
![]() |
619285069c | ||
![]() |
a86449dea9 | ||
![]() |
ec8d50497b | ||
![]() |
7c48a98b67 | ||
![]() |
5de031fb8b | ||
![]() |
f5b3bfda11 | ||
![]() |
dc6d2bb078 | ||
![]() |
617e6b302b | ||
![]() |
b806b57628 | ||
![]() |
6d6f600c44 | ||
![]() |
ce6423320e | ||
![]() |
5fed08b17e | ||
![]() |
f851bb7777 | ||
![]() |
6e154f6b2c | ||
![]() |
d7a45311ed | ||
![]() |
81068f820d | ||
![]() |
eb979ef7cd | ||
![]() |
bce8e90ede |
2
.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
/modules/.project
|
||||
build*
|
||||
CMakeCache.txt
|
||||
CMakeFiles
|
||||
@@ -35,3 +36,4 @@ otclient.map
|
||||
otclient.layout
|
||||
LOCALTODO
|
||||
tags
|
||||
Thumbs.db
|
||||
|
@@ -2,7 +2,7 @@ language: cpp
|
||||
compiler:
|
||||
- gcc
|
||||
before_script:
|
||||
- sudo apt-get install libboost-all-dev libphysfs-dev libssl-dev liblua5.1-dev libglew1.6-dev libvorbis-dev libopenal-dev libz-dev
|
||||
- sudo apt-get install libboost1.48-all-dev libphysfs-dev libssl-dev liblua5.1-dev libglew1.6-dev libvorbis-dev libopenal-dev libz-dev -y
|
||||
script: |
|
||||
cmake . -DCMAKE_BUILD_TYPE=Release
|
||||
make
|
||||
|
@@ -1,18 +1,17 @@
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
project(otclient)
|
||||
|
||||
set(VERSION "0.5.5")
|
||||
set(VERSION "0.6.0")
|
||||
|
||||
set(FRAMEWORK_SOUND ON)
|
||||
set(FRAMEWORK_GRAPHICS ON)
|
||||
set(FRAMEWORK_XML ON)
|
||||
set(FRAMEWORK_NET ON)
|
||||
#set(FRAMEWORK_GIT ON)
|
||||
include(src/framework/CMakeLists.txt)
|
||||
include(src/otclient/CMakeLists.txt)
|
||||
include(src/client/CMakeLists.txt)
|
||||
|
||||
# functions map for reading backtraces
|
||||
set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -Wl,-Map=otclient.map")
|
||||
set(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -Wl,-Map=${PROJECT_NAME}.map")
|
||||
|
||||
option(USE_PCH "Use precompiled header (speed up compile)" OFF)
|
||||
|
||||
@@ -32,25 +31,25 @@ endif()
|
||||
|
||||
add_definitions(-D"VERSION=\\"${VERSION}\\"")
|
||||
|
||||
# add otclient executable
|
||||
add_executable(otclient ${framework_SOURCES} ${otclient_SOURCES} ${executable_SOURCES})
|
||||
# add client executable
|
||||
add_executable(${PROJECT_NAME} ${framework_SOURCES} ${client_SOURCES} ${executable_SOURCES})
|
||||
|
||||
# target link libraries
|
||||
target_link_libraries(otclient ${framework_LIBRARIES})
|
||||
target_link_libraries(${PROJECT_NAME} ${framework_LIBRARIES})
|
||||
|
||||
if(USE_PCH)
|
||||
include(cotire)
|
||||
cotire(otclient)
|
||||
cotire(${PROJECT_NAME})
|
||||
message(STATUS "Use precompiled header: ON")
|
||||
else()
|
||||
message(STATUS "Use precompiled header: OFF")
|
||||
endif()
|
||||
|
||||
# installation
|
||||
set(DATA_INSTALL_DIR share/otclient)
|
||||
install(TARGETS otclient RUNTIME DESTINATION bin)
|
||||
install(FILES README.md BUGS LICENSE AUTHORS init.lua otclientrc.lua DESTINATION ${DATA_INSTALL_DIR})
|
||||
install(DIRECTORY modules DESTINATION ${DATA_INSTALL_DIR} PATTERN ".git" EXCLUDE)
|
||||
set(DATA_INSTALL_DIR share/${PROJECT_NAME})
|
||||
install(TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin)
|
||||
install(FILES README.md BUGS LICENSE AUTHORS init.lua ${PROJECT_NAME}rc.lua DESTINATION ${DATA_INSTALL_DIR})
|
||||
install(DIRECTORY data modules DESTINATION ${DATA_INSTALL_DIR} PATTERN ".git" EXCLUDE)
|
||||
|
||||
# add "make run"
|
||||
add_custom_target(run COMMAND otclient DEPENDS otclient WORKING_DIRECTORY ${CMAKE_PROJECT_DIR})
|
||||
add_custom_target(run COMMAND ${PROJECT_NAME} DEPENDS ${PROJECT_NAME} WORKING_DIRECTORY ${CMAKE_PROJECT_DIR})
|
||||
|
6
data/fonts/sans-bold-16px.otfont
Normal file
@@ -0,0 +1,6 @@
|
||||
Font
|
||||
name: sans-bold-16px
|
||||
texture: sans-bold-16px_cp1252
|
||||
height: 20
|
||||
glyph-size: 24 24
|
||||
space-width: 3
|
BIN
data/fonts/sans-bold-16px_cp1252.png
Normal file
After Width: | Height: | Size: 17 KiB |
@@ -1,6 +1,6 @@
|
||||
Font
|
||||
name: terminus-14px-bold
|
||||
texture: terminus-14px-bold.png
|
||||
texture: terminus-14px-bold
|
||||
height: 16
|
||||
y-offset: 2
|
||||
glyph-size: 16 16
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
@@ -1,6 +1,7 @@
|
||||
Font
|
||||
name: verdana-11px-antialised
|
||||
texture: verdana-11px-antialised_cp1252.png
|
||||
texture: verdana-11px-antialised_cp1252
|
||||
height: 14
|
||||
glyph-size: 16 16
|
||||
space-width: 4
|
||||
default: true
|
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 9.8 KiB After Width: | Height: | Size: 9.8 KiB |
@@ -1,6 +1,6 @@
|
||||
Font
|
||||
name: verdana-11px-monochrome
|
||||
texture: verdana-11px-monochrome_cp1252.png
|
||||
texture: verdana-11px-monochrome_cp1252
|
||||
height: 14
|
||||
glyph-size: 16 16
|
||||
space-width: 3
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
@@ -1,6 +1,6 @@
|
||||
Font
|
||||
name: verdana-11px-rounded
|
||||
texture: verdana-11px-rounded_cp1252.png
|
||||
texture: verdana-11px-rounded_cp1252
|
||||
height: 16
|
||||
glyph-size: 16 16
|
||||
y-offset: -2
|
Before Width: | Height: | Size: 6.0 KiB After Width: | Height: | Size: 6.0 KiB |
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.7 KiB |
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.3 MiB |
Before Width: | Height: | Size: 518 B After Width: | Height: | Size: 518 B |
Before Width: | Height: | Size: 230 B After Width: | Height: | Size: 230 B |
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 198 B After Width: | Height: | Size: 198 B |
Before Width: | Height: | Size: 238 B After Width: | Height: | Size: 238 B |
BIN
data/images/flags/de.png
Normal file
After Width: | Height: | Size: 35 KiB |
BIN
data/images/flags/en.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
data/images/flags/es.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
data/images/flags/pl.png
Normal file
After Width: | Height: | Size: 32 KiB |
BIN
data/images/flags/pt.png
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
data/images/flags/sv.png
Normal file
After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 245 B After Width: | Height: | Size: 245 B |
Before Width: | Height: | Size: 669 B After Width: | Height: | Size: 669 B |
Before Width: | Height: | Size: 300 B After Width: | Height: | Size: 300 B |
BIN
data/images/game/console/ignore.png
Normal file
After Width: | Height: | Size: 474 B |
Before Width: | Height: | Size: 271 B After Width: | Height: | Size: 271 B |
Before Width: | Height: | Size: 285 B After Width: | Height: | Size: 285 B |
Before Width: | Height: | Size: 255 B After Width: | Height: | Size: 255 B |
Before Width: | Height: | Size: 255 B After Width: | Height: | Size: 255 B |
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 385 B After Width: | Height: | Size: 385 B |
Before Width: | Height: | Size: 381 B After Width: | Height: | Size: 381 B |
Before Width: | Height: | Size: 386 B After Width: | Height: | Size: 386 B |
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 349 B |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
Before Width: | Height: | Size: 836 B After Width: | Height: | Size: 836 B |
Before Width: | Height: | Size: 819 B After Width: | Height: | Size: 819 B |
Before Width: | Height: | Size: 352 B After Width: | Height: | Size: 352 B |
Before Width: | Height: | Size: 522 B After Width: | Height: | Size: 522 B |
Before Width: | Height: | Size: 516 B After Width: | Height: | Size: 516 B |
Before Width: | Height: | Size: 404 B After Width: | Height: | Size: 404 B |
Before Width: | Height: | Size: 377 B After Width: | Height: | Size: 377 B |
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 512 B |
Before Width: | Height: | Size: 494 B After Width: | Height: | Size: 494 B |
Before Width: | Height: | Size: 407 B After Width: | Height: | Size: 407 B |
Before Width: | Height: | Size: 482 B After Width: | Height: | Size: 482 B |
Before Width: | Height: | Size: 438 B After Width: | Height: | Size: 438 B |
Before Width: | Height: | Size: 445 B After Width: | Height: | Size: 445 B |
Before Width: | Height: | Size: 421 B After Width: | Height: | Size: 421 B |
Before Width: | Height: | Size: 437 B After Width: | Height: | Size: 437 B |
Before Width: | Height: | Size: 437 B After Width: | Height: | Size: 437 B |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.7 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.9 KiB |
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 4.8 KiB After Width: | Height: | Size: 4.8 KiB |
Before Width: | Height: | Size: 8.8 KiB After Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 340 KiB After Width: | Height: | Size: 340 KiB |
Before Width: | Height: | Size: 905 B After Width: | Height: | Size: 905 B |
Before Width: | Height: | Size: 933 B After Width: | Height: | Size: 933 B |
Before Width: | Height: | Size: 445 B After Width: | Height: | Size: 445 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 894 B |
Before Width: | Height: | Size: 912 B After Width: | Height: | Size: 912 B |
Before Width: | Height: | Size: 957 B After Width: | Height: | Size: 957 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 905 B After Width: | Height: | Size: 905 B |
Before Width: | Height: | Size: 570 B After Width: | Height: | Size: 570 B |
Before Width: | Height: | Size: 898 B After Width: | Height: | Size: 898 B |
Before Width: | Height: | Size: 909 B After Width: | Height: | Size: 909 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 628 B After Width: | Height: | Size: 628 B |
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
BIN
data/images/optionstab/audio.png
Normal file
After Width: | Height: | Size: 1.0 KiB |