Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tales of MajEyal
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
tome
Tales of MajEyal
Commits
e2049647
Commit
e2049647
authored
12 years ago
by
dg
Browse files
Options
Downloads
Patches
Plain Diff
oups!
git-svn-id:
http://svn.net-core.org/repos/t-engine4@5740
51575b47-30f0-44d4-a5cc-537603b46e54
parent
f41efec5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
game/modules/tome/data/damage_types.lua
+1
-1
1 addition, 1 deletion
game/modules/tome/data/damage_types.lua
src/main.c
+1
-1
1 addition, 1 deletion
src/main.c
with
2 additions
and
2 deletions
game/modules/tome/data/damage_types.lua
+
1
−
1
View file @
e2049647
...
...
@@ -21,7 +21,7 @@
setDefaultProjector
(
function
(
src
,
x
,
y
,
type
,
dam
,
tmp
,
no_martyr
)
if
not
game
.
level
.
map
:
isBound
(
x
,
y
)
then
return
0
end
local
terrain
=
game
.
level
.
map
(
x
,
y
,
Map
.
TERRAIN
)
if
terrain
then
terrain
:
check
(
"da"
,
src
,
x
,
y
,
type
,
dam
)
end
if
terrain
then
terrain
:
check
(
"da
mage_project
"
,
src
,
x
,
y
,
type
,
dam
)
end
local
target
=
game
.
level
.
map
(
x
,
y
,
Map
.
ACTOR
)
if
target
then
...
...
This diff is collapsed.
Click to expand it.
src/main.c
+
1
−
1
View file @
e2049647
...
...
@@ -736,7 +736,7 @@ void do_resize(int w, int h, bool fullscreen)
{
if
(
!
window
)
{
window
=
SDL_CreateWindow
(
"TE4"
,
0
,
0
,
w
,
h
,
SDL_WINDOW_SHOWN
|
SDL_WINDOW_OPENGL
|
SDL_WINDOW_RESIZABLE
|
(
fullscreen
?
SDL_WINDOW_FULLSCREEN
:
0
));
window
=
SDL_CreateWindow
(
"TE4"
,
SDL_WINDOWPOS_UNDEFINED
,
SDL_WINDOWPOS_UNDEFINED
,
w
,
h
,
SDL_WINDOW_SHOWN
|
SDL_WINDOW_OPENGL
|
SDL_WINDOW_RESIZABLE
|
(
fullscreen
?
SDL_WINDOW_FULLSCREEN
:
0
));
if
(
window
==
NULL
)
{
printf
(
"error opening screen: %s
\n
"
,
SDL_GetError
());
exit
(
1
);
...
...
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