Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (M_D, AndrewAMD), 1,222 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 5 of 22 1 2 3 4 5 6 7 21 22
Re: 100 lines contest [Re: Quad] #199967
04/01/08 22:41
04/01/08 22:41
Joined: Jan 2007
Posts: 651
Germany
R
RedPhoenix Offline
User
RedPhoenix  Offline
User
R

Joined: Jan 2007
Posts: 651
Germany
well but thats no real argument, is it?

my.x = temp.x;
my.y = temp.y;
my.z = temp.z; //three semicolons

is also the same as:

vec_set(my.x,temp); //one semicolon


Two semicolons got lost ;). We could also say: They are hidden!
Now the question is: Where is the difference between these hidden semicolons, and those, when I would transform commands into a picture and some short lines, that rebuild the code.

I think the idea of a 100 lines prohgram is a very good one for a contest, but it stays unclear what is allowed and what is not, or let's say, what would be fair, and what wouldn't. Obviously one idea behind this contest is, to find ways to shorten code and use optimised commandments, but I couldn't judge for myself where the border between this goal and making unfair tricks is located.

Re: 100 lines contest [Re: RedPhoenix] #199970
04/01/08 22:59
04/01/08 22:59
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
I assume the default commands of 3dgs count as one, so make use of them and save 2 lines ;). I can't speak for JCL, but for what I read it's about making a lite-c code as compact as possible while performing big or complex things.


Click and join the 3dgs irc community!
Room: #3dgs
Re: 100 lines contest [Re: Joozey] #200016
04/02/08 08:19
04/02/08 08:19
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
Apparently the 100 lines rule is still not clear for some reason. When you send your source, we'll run a semicolon counter over your source files and when it counts 100 or less, the entry is accepted. That's it.

Included files from the Gamestudio include folder and code folder don't count, so you can use acknex.h, default.c or the shaders from the code folder if you want.

Re: 100 lines contest [Re: jcl] #200040
04/02/08 11:13
04/02/08 11:13

M
mercuryus
Unregistered
mercuryus
Unregistered
M



hihihi (semicolon counter ):

#define eol ;

my.x = temp.x eol
my.y = temp.y eol
my.z = temp.z eol
...


Re: 100 lines contest [Re: ] #200043
04/02/08 11:20
04/02/08 11:20
Joined: Jul 2000
Posts: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
Frankfurt
"#define eol ;" counts as 101 semicolons. ;\)

Re: 100 lines contest [Re: ] #200044
04/02/08 11:23
04/02/08 11:23
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
 Originally Posted By: mercuryus
hihihi (semicolon counter ):

#define eol ;

my.x = temp.x eol
my.y = temp.y eol
my.z = temp.z eol
...


don't you know, semicolon counter has ability to understand defines ;\) hehe


3333333333
Re: 100 lines contest [Re: ] #200045
04/02/08 11:23
04/02/08 11:23
Joined: Mar 2006
Posts: 3,538
WA, Australia
J
JibbSmart Offline
Expert
JibbSmart  Offline
Expert
J

Joined: Mar 2006
Posts: 3,538
WA, Australia
 Quote:
#define :semicolon: ;
(from Joozey)
but, mercuryus, since you actually bothered to write your version i'll trust you thought it up independently ;\)

i'd love to see someone try to get away with that ;\)

here's a hint to all: try not to put any "wink" emoticons -- ie: ; ) (minus the space) -- in your comments in your code. that could be terribly wasteful.

jibb


Formerly known as JulzMighty.
I made KarBOOM!
Re: 100 lines contest [Re: JibbSmart] #200050
04/02/08 11:39
04/02/08 11:39

M
mercuryus
Unregistered
mercuryus
Unregistered
M



 Quote:
#define :semicolon: ;


ooops! Glory goes to Joozey... ;\)

Re: 100 lines contest [Re: ] #200053
04/02/08 11:56
04/02/08 11:56
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
I want a cookie! \:\)


Click and join the 3dgs irc community!
Room: #3dgs
Re: 100 lines contest [Re: Joozey] #200055
04/02/08 12:06
04/02/08 12:06

M
mercuryus
Unregistered
mercuryus
Unregistered
M





Page 5 of 22 1 2 3 4 5 6 7 21 22

Moderated by  George 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1