Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Otowa Kotori
Tales of MajEyal
Commits
874d7c0f
Commit
874d7c0f
authored
12 years ago
by
dg
Browse files
Options
Downloads
Patches
Plain Diff
hum
git-svn-id:
http://svn.net-core.org/repos/t-engine4@5826
51575b47-30f0-44d4-a5cc-537603b46e54
parent
6640371b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
build/options.lua
+5
-0
5 additions, 0 deletions
build/options.lua
build/te4core.lua
+4
-1
4 additions, 1 deletion
build/te4core.lua
premake4.lua
+1
-1
1 addition, 1 deletion
premake4.lua
src/physfs/physfsrwops.c
+2
-0
2 additions, 0 deletions
src/physfs/physfsrwops.c
with
12 additions
and
2 deletions
build/options.lua
+
5
−
0
View file @
874d7c0f
...
...
@@ -52,4 +52,9 @@ newoption {
description
=
"Doesnt remove jit2 build files"
,
}
newoption
{
trigger
=
"no_rwops_size"
,
description
=
"Compat for old SDL2 dev verions"
}
_OPTIONS
.
lua
=
_OPTIONS
.
lua
or
"jit2"
This diff is collapsed.
Click to expand it.
build/te4core.lua
+
4
−
1
View file @
874d7c0f
...
...
@@ -28,6 +28,8 @@ project "TEngine"
links
{
"m"
}
if
_OPTIONS
.
no_rwops_size
then
defines
{
"NO_RWOPS_SIZE"
}
end
configuration
"macosx"
files
{
"../src/mac/SDL*"
}
includedirs
{
...
...
@@ -57,7 +59,7 @@ project "TEngine"
configuration
"linux"
libdirs
{
"/
home/nicolas/local
/lib/"
}
libdirs
{
"/
opt/SDL-2.0
/lib/"
}
links
{
"dl"
,
"SDL2"
,
"SDL2_ttf"
,
"SDL2_image"
,
"png"
,
"openal"
,
"vorbisfile"
,
"GL"
,
"GLU"
,
"m"
,
"pthread"
}
defines
{
[[TENGINE_HOME_PATH='".t-engine"']]
,
'SELFEXE_LINUX'
}
...
...
@@ -78,6 +80,7 @@ project "physfs"
targetname
"physfs"
defines
{
"PHYSFS_SUPPORTS_ZIP"
}
if
_OPTIONS
.
no_rwops_size
then
defines
{
"NO_RWOPS_SIZE"
}
end
files
{
"../src/physfs/*.c"
,
"../src/physfs/zlib123/*.c"
,
"../src/physfs/archivers/*.c"
,
}
...
...
This diff is collapsed.
Click to expand it.
premake4.lua
+
1
−
1
View file @
874d7c0f
...
...
@@ -18,7 +18,7 @@ solution "TEngine"
"src/physfs"
,
"src/physfs/zlib123"
,
"src/bzip2"
,
"/
home/nicolas/local
/include/SDL2
/
"
,
"/
opt/SDL-2.0
/include/SDL2"
,
"/usr/include/GL"
,
}
if
_OPTIONS
.
lua
==
"default"
then
includedirs
{
"src/lua"
}
...
...
This diff is collapsed.
Click to expand it.
src/physfs/physfsrwops.c
+
2
−
0
View file @
874d7c0f
...
...
@@ -156,7 +156,9 @@ static SDL_RWops *create_rwops(PHYSFS_File *handle)
retval
->
read
=
physfsrwops_read
;
retval
->
write
=
physfsrwops_write
;
retval
->
close
=
physfsrwops_close
;
#ifndef NO_RWOPS_SIZE
retval
->
size
=
physfsrwops_size
;
#endif
retval
->
hidden
.
unknown
.
data1
=
handle
;
}
/* if */
}
/* else */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment