Began work on changing license notifications to GPL.
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@782 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
7e1774fd09
commit
6b7c660d79
@ -1,32 +1,31 @@
|
||||
//
|
||||
// Groolite.h
|
||||
//
|
||||
// Growl integration module for Oolite
|
||||
/*
|
||||
|
||||
Copyright © 2005 Jens Ayton
|
||||
All rights reserved.
|
||||
Groolite.h
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
Growl integration class. The singleton Groolite object listens for Growl
|
||||
notifications and reports them by printing to the game communication log. For
|
||||
more about Growl, see <http://growl.info>.
|
||||
|
||||
You are free:
|
||||
To do: reimplement using delegate pattern, remove dependency on Growl
|
||||
framework headers (the framework is not needed at run time).
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
For Oolite
|
||||
Copyright (C) 2005 Jens Ayton and Giles C Williams
|
||||
|
||||
Under the following conditions:
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
@ -44,4 +43,4 @@ Your fair use and other rights are in no way affected by the above.
|
||||
|
||||
+ (NSString*) priorityDescription: (int) min_priority;
|
||||
|
||||
@end
|
||||
@end
|
||||
|
@ -1,31 +1,24 @@
|
||||
//
|
||||
// Groolite.m
|
||||
// Oolite
|
||||
/*
|
||||
|
||||
Copyright © 2005 Jens Ayton and Giles Williams
|
||||
All rights reserved.
|
||||
Groolite.m
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
For Oolite
|
||||
Copyright (C) 2005 Jens Ayton and Giles C Williams
|
||||
|
||||
You are free:
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
Under the following conditions:
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,39 +1,27 @@
|
||||
//
|
||||
// AI.h
|
||||
/*
|
||||
*
|
||||
* Oolite
|
||||
*
|
||||
* Created by Giles Williams on Sat Apr 03 2004.
|
||||
* Copyright (c) 2004 for aegidian.org. All rights reserved.
|
||||
*
|
||||
|
||||
Copyright (c) 2004, Giles C Williams
|
||||
All rights reserved.
|
||||
AI.h
|
||||
Created by Giles Williams on 2004-04-03.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
Core NPC behaviour/artificial intelligence class.
|
||||
|
||||
You are free:
|
||||
For Oolite
|
||||
Copyright (C) 2004 Giles C Williams
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
Under the following conditions:
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
|
||||
• Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,39 +1,25 @@
|
||||
//
|
||||
// AI.m
|
||||
/*
|
||||
*
|
||||
* Oolite
|
||||
*
|
||||
* Created by Giles Williams on Sat Apr 03 2004.
|
||||
* Copyright (c) 2004 for aegidian.org. All rights reserved.
|
||||
*
|
||||
|
||||
Copyright (c) 2004, Giles C Williams
|
||||
All rights reserved.
|
||||
AI.m
|
||||
Created by Giles Williams on 2004-04-03.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
For Oolite
|
||||
Copyright (C) 2004 Giles C Williams
|
||||
|
||||
You are free:
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
Under the following conditions:
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
|
||||
• Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,38 +1,28 @@
|
||||
/*
|
||||
|
||||
Oolite
|
||||
CollisionRegion.h
|
||||
Created by Giles Williams on 2006-03-01.
|
||||
|
||||
CollisionRegion.h
|
||||
|
||||
Created by Giles Williams on 01/03/2006.
|
||||
Collision regions are used to group entities which may potentially collide, to
|
||||
reduce the number of collision checks required.
|
||||
|
||||
For Oolite
|
||||
Copyright (C) 2006 Giles C Williams
|
||||
|
||||
Copyright (c) 2005, Giles C Williams
|
||||
All rights reserved.
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You are free:
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
|
||||
Under the following conditions:
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
|
||||
• Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,38 +1,25 @@
|
||||
/*
|
||||
|
||||
Oolite
|
||||
CollisionRegion.m
|
||||
Created by Giles Williams on 2006-03-01.
|
||||
|
||||
CollisionRegion.m
|
||||
|
||||
Created by Giles Williams on 01/03/2006.
|
||||
For Oolite
|
||||
Copyright (C) 2006 Giles C Williams
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
Copyright (c) 2005, Giles C Williams
|
||||
All rights reserved.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
|
||||
You are free:
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
|
||||
Under the following conditions:
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
|
||||
• Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,39 +1,27 @@
|
||||
//
|
||||
// DustEntity.h
|
||||
/*
|
||||
*
|
||||
* Oolite
|
||||
*
|
||||
* Created by Giles Williams on Sat Apr 03 2004.
|
||||
* Copyright (c) 2004 for aegidian.org. All rights reserved.
|
||||
*
|
||||
|
||||
Copyright (c) 2004, Giles C Williams
|
||||
All rights reserved.
|
||||
DustEntity.h
|
||||
Created by Giles Williams on 2004-04-03.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
Entity representing a number of dust particles.
|
||||
|
||||
You are free:
|
||||
For Oolite
|
||||
Copyright (C) 2004 Giles C Williams
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
Under the following conditions:
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
|
||||
• Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,39 +1,25 @@
|
||||
//
|
||||
// DustEntity.m
|
||||
/*
|
||||
*
|
||||
* Oolite
|
||||
*
|
||||
* Created by Giles Williams on Sat Apr 03 2004.
|
||||
* Copyright (c) 2004 for aegidian.org. All rights reserved.
|
||||
*
|
||||
|
||||
Copyright (c) 2004, Giles C Williams
|
||||
All rights reserved.
|
||||
DustEntity.m
|
||||
Created by Giles Williams on 2004-04-03.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
For Oolite
|
||||
Copyright (C) 2004 Giles C Williams
|
||||
|
||||
You are free:
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
Under the following conditions:
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
|
||||
• Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,39 +1,27 @@
|
||||
//
|
||||
// Entity.h
|
||||
/*
|
||||
*
|
||||
* Oolite
|
||||
*
|
||||
* Created by Giles Williams on Sat Apr 03 2004.
|
||||
* Copyright (c) 2004 for aegidian.org. All rights reserved.
|
||||
*
|
||||
|
||||
Copyright (c) 2004, Giles C Williams
|
||||
All rights reserved.
|
||||
Entity.h
|
||||
Created by Giles Williams on 2004-04-03.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
For Oolite
|
||||
Copyright (C) 2004 Giles C Williams
|
||||
|
||||
You are free:
|
||||
Base class for entities, i.e. drawable world objects.
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
Under the following conditions:
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
|
||||
• Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,41 +1,28 @@
|
||||
//
|
||||
// Entity.m
|
||||
/*
|
||||
*
|
||||
* Oolite
|
||||
*
|
||||
* Created by Giles Williams on Sat Apr 03 2004.
|
||||
* Copyright (c) 2004 for aegidian.org. All rights reserved.
|
||||
*
|
||||
|
||||
Copyright (c) 2004, Giles C Williams
|
||||
All rights reserved.
|
||||
Entity.m
|
||||
Created by Giles Williams on 2004-04-03.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
For Oolite
|
||||
Copyright (C) 2004 Giles C Williams
|
||||
|
||||
You are free:
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
Under the following conditions:
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
|
||||
• Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
#import "Entity.h"
|
||||
|
||||
#import "vector.h"
|
||||
|
@ -1,37 +1,27 @@
|
||||
/* GameController
|
||||
*
|
||||
* Oolite
|
||||
*
|
||||
* Created by Giles Williams on Sat Apr 03 2004.
|
||||
* Copyright (c) 2004 for aegidian.org. All rights reserved.
|
||||
*
|
||||
/*
|
||||
|
||||
Copyright (c) 2004, Giles C Williams
|
||||
All rights reserved.
|
||||
GameController.h
|
||||
Created by Giles Williams on 2004-04-03.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
Main application controller class.
|
||||
|
||||
You are free:
|
||||
For Oolite
|
||||
Copyright (C) 2004 Giles C Williams
|
||||
|
||||
¥ to copy, distribute, display, and perform the work
|
||||
¥ to make derivative works
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
Under the following conditions:
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
¥ Attribution. You must give the original author credit.
|
||||
|
||||
¥ Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
¥ Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,41 +1,28 @@
|
||||
/*
|
||||
*
|
||||
* Oolite
|
||||
*
|
||||
* Created by Giles Williams on Sat Apr 03 2004.
|
||||
* Copyright (c) 2004 for aegidian.org. All rights reserved.
|
||||
*
|
||||
|
||||
Copyright (c) 2004, Giles C Williams
|
||||
All rights reserved.
|
||||
GameController.m
|
||||
Created by Giles Williams on 2004-04-03.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
For Oolite
|
||||
Copyright (C) 2004 Giles C Williams
|
||||
|
||||
You are free:
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
Under the following conditions:
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
|
||||
• Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
||||
#import "GameController.h"
|
||||
#import "Universe.h"
|
||||
#import "ResourceManager.h"
|
||||
|
@ -1,38 +1,28 @@
|
||||
/*
|
||||
|
||||
Oolite
|
||||
Geometry.h
|
||||
Created by Giles Williams on 2006-01-30.
|
||||
|
||||
Geometry.h
|
||||
|
||||
Created by Giles Williams on 30/01/2006.
|
||||
Class for reasoning about triangle meshes, in particular for the creation of
|
||||
octtrees for collision-detection purposes.
|
||||
|
||||
For Oolite
|
||||
Copyright (C) 2006 Giles C Williams
|
||||
|
||||
Copyright (c) 2005, Giles C Williams
|
||||
All rights reserved.
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You are free:
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
|
||||
Under the following conditions:
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
|
||||
• Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,38 +1,25 @@
|
||||
/*
|
||||
|
||||
Oolite
|
||||
Geometry.m
|
||||
Created by Giles Williams on 2006-01-30.
|
||||
|
||||
Geometry.m
|
||||
|
||||
Created by Giles Williams on 30/01/2006.
|
||||
For Oolite
|
||||
Copyright (C) 2006 Giles C Williams
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
Copyright (c) 2005, Giles C Williams
|
||||
All rights reserved.
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
|
||||
You are free:
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
|
||||
Under the following conditions:
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
|
||||
• Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,39 +1,28 @@
|
||||
//
|
||||
// GuiDisplayGen.h
|
||||
/*
|
||||
*
|
||||
* Oolite
|
||||
*
|
||||
* Created by Giles Williams on Sat Apr 03 2004.
|
||||
* Copyright (c) 2004 for aegidian.org. All rights reserved.
|
||||
*
|
||||
|
||||
Copyright (c) 2004, Giles C Williams
|
||||
All rights reserved.
|
||||
GuiDisplayGen.h
|
||||
Created by Giles Williams on 2004-04-03.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
Class handling interface elements, primarily text, that are not part of the 3D
|
||||
game world, together with GuiDisplayGen.
|
||||
|
||||
You are free:
|
||||
For Oolite
|
||||
Copyright (C) 2004 Giles C Williams
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
Under the following conditions:
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
|
||||
• Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,39 +1,25 @@
|
||||
//
|
||||
// GuiDisplayGen.m
|
||||
/*
|
||||
*
|
||||
* Oolite
|
||||
*
|
||||
* Created by Giles Williams on Sat Apr 03 2004.
|
||||
* Copyright (c) 2004 for aegidian.org. All rights reserved.
|
||||
*
|
||||
|
||||
Copyright (c) 2004, Giles C Williams
|
||||
All rights reserved.
|
||||
GuiDisplayGen.m
|
||||
Created by Giles Williams on 2004-04-03.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
For Oolite
|
||||
Copyright (C) 2004 Giles C Williams
|
||||
|
||||
You are free:
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
Under the following conditions:
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
|
||||
• Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,41 +1,27 @@
|
||||
//
|
||||
// HeadUpDisplay.h
|
||||
// Oolite
|
||||
//
|
||||
/*
|
||||
*
|
||||
* Oolite
|
||||
*
|
||||
* Created by Giles Williams on Fri Jul 30 2004.
|
||||
* Copyright (c) 2004 for aegidian.org. All rights reserved.
|
||||
*
|
||||
|
||||
Copyright (c) 2004, Giles C Williams
|
||||
All rights reserved.
|
||||
HeadUpDisplay.h
|
||||
Created by Giles Williams on 2004-07-30.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
Class handling the player ship’s heads-up display, and 2D drawing functions.
|
||||
|
||||
You are free:
|
||||
For Oolite
|
||||
Copyright (C) 2004 Giles C Williams
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
Under the following conditions:
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
|
||||
• Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,44 +1,27 @@
|
||||
//
|
||||
// HeadUpDisplay.m
|
||||
// Oolite
|
||||
//
|
||||
/*
|
||||
*
|
||||
* Oolite
|
||||
*
|
||||
* Created by Giles Williams on Fri Jul 30 2004.
|
||||
* Copyright (c) 2004 for aegidian.org. All rights reserved.
|
||||
*
|
||||
|
||||
Copyright (c) 2004, Giles C Williams
|
||||
All rights reserved.
|
||||
HeadUpDisplay.m
|
||||
Created by Giles Williams on 2004-07-30.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
For Oolite
|
||||
Copyright (C) 2004 Giles C Williams
|
||||
|
||||
You are free:
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
Under the following conditions:
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
|
||||
• Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
//
|
||||
|
||||
#import "HeadUpDisplay.h"
|
||||
#import "ResourceManager.h"
|
||||
|
@ -1,19 +1,34 @@
|
||||
/*
|
||||
|
||||
PlayerEntityLoadSave.h
|
||||
Created by Dylan Smith on 2005-06-21.
|
||||
|
||||
Created for the Oolite-Linux project (but is portable)
|
||||
|
||||
LoadSave has been separated out into a separate category because
|
||||
PlayerEntity.m has gotten far too big and is in danger of becoming
|
||||
the whole general mish mash.
|
||||
|
||||
For Oolite
|
||||
Copyright (C) 2005 Giles C Williams and Dylan Smith
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
//
|
||||
// LoadSave.h
|
||||
//
|
||||
// Created for the Oolite-Linux project (but is portable)
|
||||
//
|
||||
// Dylan Smith, 2005-06-21
|
||||
//
|
||||
// LoadSave has been separated out into a separate category because
|
||||
// PlayerEntity.m has gotten far too big and is in danger of becoming
|
||||
// the whole general mish mash.
|
||||
//
|
||||
// oolite: (c) 2004 Giles C Williams.
|
||||
// This work is licensed under the Creative Commons Attribution NonCommercial
|
||||
// ShareAlike license.
|
||||
//
|
||||
#import "PlayerEntity.h"
|
||||
#import "GuiDisplayGen.h"
|
||||
#import "MyOpenGLView.h"
|
||||
|
@ -1,19 +1,27 @@
|
||||
/* */
|
||||
//
|
||||
// LoadSave.m
|
||||
//
|
||||
// Created for the Oolite-Linux project (but is portable)
|
||||
//
|
||||
// Dylan Smith, 2005-06-21
|
||||
//
|
||||
// LoadSave has been separated out into a separate category because
|
||||
// PlayerEntity.m has gotten far too big and is in danger of becoming
|
||||
// the whole general mish mash.
|
||||
//
|
||||
// oolite: (c) 2004 Giles C Williams.
|
||||
// This work is licensed under the Creative Commons Attribution NonCommercial
|
||||
// ShareAlike license.
|
||||
//
|
||||
/*
|
||||
|
||||
PlayerEntityLoadSave.m
|
||||
Created by Dylan Smith on 2005-06-21.
|
||||
|
||||
For Oolite
|
||||
Copyright (C) 2005 Giles C Williams and Dylan Smith
|
||||
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
#import "LoadSave.h"
|
||||
#import "OOFileManager.h"
|
||||
|
@ -1,38 +1,28 @@
|
||||
/*
|
||||
* legacy_random.c
|
||||
*
|
||||
* Oolite
|
||||
*
|
||||
* Created by Giles Williams on Sat Apr 03 2004.
|
||||
* Copyright (c) 2004 for aegidian.org. All rights reserved.
|
||||
*
|
||||
|
||||
Copyright (c) 2004, Giles C Williams
|
||||
All rights reserved.
|
||||
legacy_random.c
|
||||
Created by Giles Williams on 2004-04-03.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
Class handling interface elements, primarily text, that are not part of the 3D
|
||||
game world, together with GuiDisplayGen.
|
||||
|
||||
You are free:
|
||||
For Oolite
|
||||
Copyright (C) 2004 Giles C Williams
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
Under the following conditions:
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
|
||||
• Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
|
@ -1,43 +1,34 @@
|
||||
#ifndef LEGACY_RANDOM_H
|
||||
#define LEGACY_RANDOM_H
|
||||
/*
|
||||
* legacy_random.h
|
||||
*
|
||||
* Oolite
|
||||
*
|
||||
* Created by Giles Williams on Sat Apr 03 2004.
|
||||
* Copyright (c) 2004 for aegidian.org. All rights reserved.
|
||||
*
|
||||
|
||||
Copyright (c) 2004, Giles C Williams
|
||||
All rights reserved.
|
||||
legacy_random.h
|
||||
Created by Giles Williams on 2004-04-03.
|
||||
|
||||
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License.
|
||||
To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/2.0/
|
||||
or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.
|
||||
Pseudo-random number generator designed to produce identical results to that
|
||||
used in BBC Elite (for dynamic world generation), and related functions.
|
||||
|
||||
You are free:
|
||||
For Oolite
|
||||
Copyright (C) 2004 Giles C Williams
|
||||
|
||||
• to copy, distribute, display, and perform the work
|
||||
• to make derivative works
|
||||
This program is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU General Public License
|
||||
as published by the Free Software Foundation; either version 2
|
||||
of the License, or (at your option) any later version.
|
||||
|
||||
Under the following conditions:
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
• Attribution. You must give the original author credit.
|
||||
|
||||
• Noncommercial. You may not use this work for commercial purposes.
|
||||
|
||||
• Share Alike. If you alter, transform, or build upon this work,
|
||||
you may distribute the resulting work only under a license identical to this one.
|
||||
|
||||
For any reuse or distribution, you must make clear to others the license terms of this work.
|
||||
|
||||
Any of these conditions can be waived if you get permission from the copyright holder.
|
||||
|
||||
Your fair use and other rights are in no way affected by the above.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||
MA 02110-1301, USA.
|
||||
|
||||
*/
|
||||
|
||||
#ifndef LEGACY_RANDOM_H
|
||||
#define LEGACY_RANDOM_H
|
||||
|
||||
|
||||
struct rand_seed_6uc
|
||||
{
|
||||
@ -99,4 +90,3 @@ int rotate_byte_left (int x);
|
||||
int equal_seeds (Random_Seed seed1, Random_Seed seed2);
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user