Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - RickJ

#361
Quote from: Monsieur OUXX on Thu 03/11/2011 12:00:48
Quote from: Corby on Thu 03/11/2011 08:19:49
Doesn't Amazon have higher standards, or can anything be sold there?

As long as it's legal.
And it IS legal to re-package stuff from Wikipedia.
However it's not clear if the book contains license-protected stuff from AGs or AGS-based games.
AGS Wiki - "Content is available under a Creative Commons Attribution Non-commercial No Derivatives"

I don't think a $17.95 book on sale through a retailer such as Amazon qualifies as non-commercial. 
#362
Since your resources may live a long time in one or more place in cyberspace may I humbly suggest you include a readme file in your rar that contains the license, AGS version and other relevant info.

With regard to license terms, you may want to consider a Creative Commons Attribution License
#363
Also, what version of AGS is required?
#364
General Discussion / Re: 20th, 21th & 22th May
Thu 27/10/2011 21:11:22
Hhehe, Snake ...

What a colossal display of either arrogance or cowardice! ;)

Either you are so arrogant to think you are destined to become so famous that people will remember you after 4.5 billion years or you are so cowardly that you don't want to be held accountable for you prediction and so put it 4.5 billions years from now when nobody will remember or care.  If you had even a minute bit of courage of your convictions you might have at least shortened it to say a billion years ... but noooooo, you're a big chicken  :=

Besides everyone knows that the earth is destined to be devoured by the giant celestial goat sometime in 2012.  That's why the Mayan calendar ends; why go to all the trouble (i.e. complicated math without a computer) to make a calendar for a pile of goat poop?

LoL  ;D
#365
Generally speaking Single words, plots, and ideas are not copyrightable.  However, movie, book, cartoon characters and single words can also be registered trademarks.   My guess is that you are not on solid ground.

http://www.teachingcopyright.org/
#366
SMOP

Code: ags

*** Script Header ***
import int GameOption;

*** Global Script ***
int GameOption;
export Game Option;

*** Any Script ***
function PlayerChooseSomeAction() {
   GameOption = 1;
}
function PlayerChooseSomeOtherAction() {
   GameOption = 2;
}

function AnyFunction() {
   if (option==0) {
      // Do Something
   }
   else if (option==1) {
      // Do Something else
   }
   else if (option==2) {
      // Do Another Something else
   }
   else {
      // Opps, shouldn't ever be here
   }
}
#367
I'm not much of a poet but here is my version of Johnny Nash's "I Can See Clearly Now".  

For Dennis ...  


I Can C Clearly Now

I can C clearly now, Fortran is gone,
I can C all procedures in my way
Gone are the gotos and spaghetti code
It's gonna be a bright (bright), bright (bright)
Sun-Shiny day.

I think I can code it now, the pain is gone
All of the bad feelings have disappeared
Here is the function I've been prayin?for
It's gonna be a bright (bright), bright (bright)
Sun-Shiny day.

Look all around, there's nothin?but easy codes
Look straight ahead, nothin?but easy codes

I can C clearly now, Fortran is gone,
I can C all procedures in my way
Gone are the gotos and spaghetti code
It's gonna be a bright (bright), bright (bright)
Sun-Shiny day.

#369
Engine Development / library for Android Port?
Sun 02/10/2011 15:03:06
LibGDX seems like it may be a possible basis for an Android port (and other platforms as well).  It's Java, likely because that's the Android programming language. 

"LibGDX is a cross-platform 2D and 3D game development framework written in Java/C/C++. It's free for commercial and non-commercial use, pretty powerful and lots of fun to work with! Or at least no-one complained yet. Write your game once, deploy to Windows, Linux, Mac OSX and Android! Be brave, click the links to the right to learn more. "

http://libgdx.badlogicgames.com/
http://code.google.com/p/libgdx/
#370
Quote
You are somewhat missing the point of my post. A generic type (called a template in c) cannot be onstantiated without know the type parameter at design time.
Templates are not necessary or even useful for what you are trying to do.   The type is "Preference"  and is known at design time.   It contains a list of preference values (strings) and a list of preference types (also strings).  The preference type defines what the preference value is used for, it's data type (int, string, bool, etc), how it's displayed on the dialog, and other characteristics.   

A preference type class could be used to define the above characteristics.   It would then be a simple matter to create an array of preference types populated with whatever properties are desired or appropriate for each specific preference type.   

CJ's suggestion is a little different, more OO, and simpler.  It assumes each preference has a single value and a single data type.  If I understand correctly, there would be a base "Preference"  class and each preference type would be a subclass.  (i.e. Preference, PreferenceInt, PreferenceMytype, ...).  So if the XML looked something like "<Preference name="", type="Mytype">42</Preference>" then an instance of PreferenceMytype would be created and the value "42" stored in it.  Presumably there would be a list of preferences containing all instances.





#371
CJ gave you clear guidance when he said "I'd prefer some sort of Preference<T> class that could be strongly typed to the type of data the preference was storing.  Something like:...".   His advice seems sound and straight forward to me.   A base preference class that knows how to read and write itself to an XML file,  info about how to display itself on a dialog.   Extend value to be a list of values and corresponding value types.  Store values as strings and use type define how values are used, accessed, and dialog display/interaction. 
#372
Advanced Technical Forum / Windows-8 & AGS
Sat 17/09/2011 00:58:29
Quote from: pcmag.com
http://www.pcmag.com/article2/0,2817,2393123,00.asp

Microsoft executives said this week that Windows 8 tablets using an ARM chip will not be able to run legacy Windows 7 applications, with the possible exception of Office. ... This week, Microsoft held an analyst meeting in conjunction with BUILD, its developer conference in Anaheim, where the company talked more about Windows 8 and provided the first code to developers. (For more, see PCMag.com's hands-on of the Windows 8 preview http://www.pcmag.com/article2/0,2817,2392886,00.asp.) ...

Been reading a lot about M$ new directions lately (i.e. abandoning .net in favor of HTML5 & JS and now Win8).  Just wondering what other ppl think and what affect it will (or should) have on AGS.
#373
Quote
So in the very sense all of the children in the US were also responsible of dropping the bomb and all the people in Germany who hated the Nazis (yes, believe me, there were some), were all responsible of the genosides?
The Nazis were responsible for the dropping of bombs on Germany ...

Quote from: http://en.wikipedia.org
...The Blitz (from German, "lightning") was the sustained strategic bombing of Britain by Nazi Germany between 7 September 1940 and 10 May 1941, during the Second World War. The city of London was bombed by the Luftwaffe for 76 consecutive nights and many towns and cities across the country followed. More than one million London houses were destroyed or damaged, and more than 40,000 civilians were killed, half of them in London...

...The first V-1 was launched at London on 13 June 1944, one week after (and prompted by) the successful Allied landing in Europe. At its peak, more than one hundred V-1s a day were fired at southeast England, 9,521 in total, decreasing in number as sites were overrun until October 1944, when the last V-1 site in range of Britain was overrun by Allied forces. This caused the remaining V-1s to be directed at the port of Antwerp and other targets in Belgium, with 2,448 V-1s being launched. The attacks stopped when the last site was overrun on 29 March 1945. In total, the V-1 attacks caused 22,892 casualties (almost entirely civilians)...

...Over 3,000 V-2s were launched as military rockets by the German Wehrmacht against Allied targets during the war, mostly London and later Antwerp. The attacks resulted in the death of an estimated 7,250 military personnel and civilians, while 12,000 forced laborers were killed producing the weapons...

#374
Quote
You're telling me an German infant in a cot was an active and morally culpable participant in the war effort?
Yes, because his daddy was enthusiastically off to war knowing that wife and baby were safe and secure at home.   
#375
Yes they were; the country of Japan and the country off Germany were aggressor nations.  The women and children of those countries were participants and would have been the benefactors of victory.    They were  important to the Japanese and German soldiers and knowing that they were putting their families and homeland at risk would necessarily have a negative impact their enthusiasm for war.

Yes, I do think it's foolish and naive to believe that any country would not do anything it could to survive.  You may wish it wasn't so but that won't change reality. 
#376
Quote
We can be objective and look at the victims of Allied attacks, such as Dresden or Hiroshima.
So what your saying is that even though someone is try to kill you, you should not be allowed to fight back in unfair ways?   Bah, foolish and naive notion;  aggressors got what they deserve IMHO.

Quote
Maybe so-called "superpowers" should be dismantled like Germany was after war, because all of them continously do crazy inhumane shit, like cropdusting fields of Vietnam with Agent Orange or using gas shells in Grozny or poisoning drinking water in Afghanistan (USSR 1980's). Big countries = evil, no matter what's the leading ideology.
Except that the US and USSR kept those evil Europeans in line for the past 60 years.  I think that's the longest they went without causing wars.   

Btw,  Agent orange was dumped on jungle areas to make the leaves fall off trees so that they could see where the enemy was hiding.
#377
If you look at the demo game's header file you will find a line "#define crmMenu 1" (don't rememebr the exact number).  The compiler substitutes "1" (or whatever text comes after crmMenu) for "crmMenu" before compilation.   

The #define lines in the header demonstrate how to give names to the room numbers.  You will either have to use the room number or put your own #define lines in the header file.  It's your choice to work with numbers or names.
#378
@Snarky:  Ability to enforce a copyright can be lost via ca concept called Estoppel.  If through your actions/inactions or words leads people to believe they can use your stuff, you can't then later sue them for doing so.

Here is recent copyright case decided by this concept in favor of an accused infringer.
http://senlawoffice.com/exclusiverights/2009/02/the-difference-between-equitable-estoppel-and-implied-license-in-a-defense-against-infringement/

I believe that this is why it's so impossible to get permission to do any kind of fan project -- there is great fear of losing the right to enforce copyright.
#379
QuoteOr does it make just the Template and its creators liable for it?
It would make anyone who distributed it potentially liable. 

Roger Sprite - As folks have said it's not a literal copy of the original.  Another interesting point is that it is such low resolution how would anyone prove resemblance?   Given the low number of pixels and colors, there are only so many was to draw a human figure.   One would perhaps get as far as "he's wearing the same color of clothes."  Expression is copyrightable not function or utility. 

Fonts - The above points about resolution, expression, utility apply more so to the fonts.  There are fewer ways of designing a font given the even lower resolution and lack of color content.   Distribution of literal copies of a font in the form of a font library of single font file would be considered copyright infringement.  However, I don't think it is as clear when then font is used in a document or other work;  I'm not a lawyer but I don't think using a font in a document or other work infringes copyright.

It should also be mentioned that lack of enforcement action by the copyright holders for many years can hinder or prevent future enforcement.     




#380
For any who dislike telemarketers  as much as I do, I thought I would share a website I stumbled upon.  you can rat them out so to speak on a discussion board.
http://800notes.com/

But even more cool are these videos where folks pranked the telemarketer.  Enjoy
http://800notes.com/videos/i-rickroll%27d-a-telemarketer
http://800notes.com/videos/chris-pirillo-telemarketer-rickroll-prank-call
SMF spam blocked by CleanTalk