Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kumir2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kumir
kumir2
Commits
033b7751
Commit
033b7751
authored
Aug 29, 2016
by
Denis Khachko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
b3c2a1a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/actors/robot/robotmodule.cpp
src/actors/robot/robotmodule.cpp
+1
-1
src/actors/robot/robotmodule.h
src/actors/robot/robotmodule.h
+2
-2
No files found.
src/actors/robot/robotmodule.cpp
View file @
033b7751
...
...
@@ -4937,7 +4937,7 @@ bool RobotModule::runIsColor()
QChar
RobotModule
::
runDownChar
(
const
int
row
,
const
int
col
)
{
qDebug
()
<<
"Get DC R:"
<<
row
<<
" C:"
<<
col
;
qDebug
()
<<
"Get DC R:"
<<
row
<<
" C:"
<<
col
<<
" ROWS"
<<
curConsoleField
->
Rows
()
;
if
(
!
DISPLAY
)
{
if
(
row
-
1
>=
curConsoleField
->
Rows
()
||
col
-
1
>=
curConsoleField
->
Columns
()
...
...
src/actors/robot/robotmodule.h
View file @
033b7751
...
...
@@ -102,8 +102,8 @@ namespace ActorRobot {
bool
goRight
();
bool
goUp
();
bool
goDown
();
int
Columns
(){
return
ro
boCol
;}
int
Rows
(){
return
ro
boRow
;}
int
Columns
(){
return
ro
ws
.
at
(
0
).
count
()
;}
int
Rows
(){
return
ro
ws
.
count
()
;}
int
robotRow
(){
return
roboRow
;}
int
robotCol
(){
return
roboCol
;}
int
loadFromFile
(
QString
filename
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment