Changeset 17:5f90774ea1ef
- Timestamp:
- 03/15/08 11:14:25
(10 months ago)
- Author:
- Diggory Hardy <diggory.hardy@gmail.com>
- branch:
- default
- convert_revision:
- 2aacda05d942e74cdeefe952e701be7b5d3342d6
- Message:
Applied the GNU GPL v2 to mde.
committer: Diggory Hardy <diggory.hardy@gmail.com>
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r15 |
r17 |
|
| | 1 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 2 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 3 | |
|---|
| | 4 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 5 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 6 | |
|---|
| | 7 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 8 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 9 | See the GNU General Public License for more details. |
|---|
| | 10 | |
|---|
| | 11 | You should have received a copy of the GNU General Public License along |
|---|
| | 12 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 13 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 14 | |
|---|
| | 15 | |
|---|
| 1 | 16 | Event input status and callbacks are differentiated via IDs of type Input.inputID (currently uint). |
|---|
| 2 | 17 | |
|---|
| r16 |
r17 |
|
| | 1 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 2 | License: GNU General Public License version 2 (see doc/License.txt) |
|---|
| | 3 | |
|---|
| | 4 | |
|---|
| 1 | 5 | In progress: |
|---|
| | 6 | |
|---|
| 2 | 7 | |
|---|
| 3 | 8 | To do: |
|---|
| … | … | |
| 36 | 41 | +/ |
|---|
| 37 | 42 | |
|---|
| | 43 | |
|---|
| 38 | 44 | Done (for git log message): |
|---|
| 39 | | Revamped Options with sections and auto saving/loading. |
|---|
| 40 | | Moved some of init's functions outside the module. |
|---|
| r15 |
r17 |
|
| | 1 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 2 | License: GNU General Public License version 2 (see doc/License.txt) |
|---|
| | 3 | |
|---|
| | 4 | |
|---|
| 1 | 5 | This is the file format for mergetag binary files. The unit size is a byte. Most numbers to do with the layout (i.e. not stored data) should be stored as a 32-bit uint. |
|---|
| 2 | 6 | |
|---|
| r15 |
r17 |
|
| | 1 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 2 | License: GNU General Public License version 2 (see doc/License.txt) |
|---|
| | 3 | |
|---|
| | 4 | |
|---|
| 1 | 5 | Requirements: |
|---|
| 2 | 6 | |
|---|
| r15 |
r17 |
|
| | 1 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 2 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 3 | |
|---|
| | 4 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 5 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 6 | |
|---|
| | 7 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 8 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 9 | See the GNU General Public License for more details. |
|---|
| | 10 | |
|---|
| | 11 | You should have received a copy of the GNU General Public License along |
|---|
| | 12 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 13 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 14 | |
|---|
| | 15 | |
|---|
| 1 | 16 | This is the file format for mergetag text files. |
|---|
| 2 | 17 | Version: 0.1 unfinalised |
|---|
| r15 |
r17 |
|
| | 1 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 2 | License: GNU General Public License version 2 (see doc/License.txt) |
|---|
| | 3 | |
|---|
| | 4 | |
|---|
| 1 | 5 | This is mostly just a list of potential minor issues noticed while coding but not seen worth throwing an error about. |
|---|
| 2 | 6 | |
|---|
| … | … | |
| 13 | 17 | There is currently no way to specify the base in which numbers are written (in text form). |
|---|
| 14 | 18 | |
|---|
| 15 | | parse.d: |
|---|
| 16 | | Doesn't support cent/ucent. |
|---|
| 17 | | |
|---|
| 18 | 19 | format.d: |
|---|
| 19 | | No support for cent/ucent or ulong where val > long.max. |
|---|
| | 20 | No support for ulong where val > long.max. |
|---|
| r16 |
r17 |
|
| | 1 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 2 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 3 | |
|---|
| | 4 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 5 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 6 | |
|---|
| | 7 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 8 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 9 | See the GNU General Public License for more details. |
|---|
| | 10 | |
|---|
| | 11 | You should have received a copy of the GNU General Public License along |
|---|
| | 12 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 13 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 14 | |
|---|
| | 15 | |
|---|
| 1 | 16 | Ideas for extending options to track user-changed options separately from system options so as not to override unchanged system options. |
|---|
| 2 | 17 | |
|---|
| r15 |
r17 |
|
| | 1 | --- License --- |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| | 16 | |
|---|
| | 17 | |
|---|
| 1 | 18 | --- Introduction --- |
|---|
| 2 | 19 | This is a collection of all coding policies for the mde engine as a whole. Policies for individual packages should be put in the individual package directory or elsewhere. |
|---|
| r15 |
r17 |
|
| | 1 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 2 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 3 | |
|---|
| | 4 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 5 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 6 | |
|---|
| | 7 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 8 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 9 | See the GNU General Public License for more details. |
|---|
| | 10 | |
|---|
| | 11 | You should have received a copy of the GNU General Public License along |
|---|
| | 12 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 13 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 14 | |
|---|
| | 15 | |
|---|
| 1 | 16 | ### mde paths ### |
|---|
| 2 | 17 | |
|---|
| r16 |
r17 |
|
| | 1 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 2 | License: GNU General Public License version 2 (see doc/License.txt) |
|---|
| | 3 | |
|---|
| | 4 | |
|---|
| 1 | 5 | GUI: |
|---|
| 2 | 6 | -> Basic OpenGL code to: |
|---|
| r15 |
r17 |
|
| | 1 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 2 | License: GNU General Public License version 2 (see doc/License.txt) |
|---|
| | 3 | |
|---|
| | 4 | |
|---|
| 1 | 5 | There is no proper readme for mde yet. |
|---|
| 2 | 6 | |
|---|
| r14 |
r17 |
|
| | 1 | # Copyright © 2007-2008 Diggory Hardy |
|---|
| | 2 | # License: GNU General Public License version 2 (see doc/License.txt) |
|---|
| | 3 | |
|---|
| 1 | 4 | version (Posix) { |
|---|
| 2 | 5 | defaulttargets = mde/mde.d |
|---|
| r16 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /************************************************************************************************** |
|---|
| 2 | 17 | * Initialisation setup and exit cleanup module. |
|---|
| r16 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /** Just a temporary place to put SDL Init and Video stuff. |
|---|
| 2 | 17 | */ |
|---|
| r10 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /// Handles all events from SDL_PollEvent. |
|---|
| 2 | 17 | module mde.events; |
|---|
| r15 |
r17 |
|
| 1 | | /// Contains a base class for all mde exceptions. |
|---|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| | 16 | /// Contains the base class for all mde exceptions plus some exception classes. |
|---|
| 2 | 17 | module mde.exception; |
|---|
| 3 | 18 | |
|---|
| … | … | |
| 39 | 54 | } |
|---|
| 40 | 55 | } |
|---|
| | 56 | |
|---|
| | 57 | /* LICENSE BLOCK |
|---|
| | 58 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 59 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 60 | |
|---|
| | 61 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 62 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 63 | |
|---|
| | 64 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 65 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 66 | See the GNU General Public License for more details. |
|---|
| | 67 | |
|---|
| | 68 | You should have received a copy of the GNU General Public License along |
|---|
| | 69 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 70 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| 41 | 71 | |
|---|
| 42 | 72 | /// Thrown when loading options fails. |
|---|
| r10 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /** This module is for global objects. |
|---|
| 2 | 17 | * |
|---|
| r16 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /** I18nTranslation â internationalization module for translating strings |
|---|
| 2 | 17 | * |
|---|
| r15 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /// This module contains a class for holding configs and handles saving, loading and editing. |
|---|
| 2 | 17 | module mde.input.config; |
|---|
| r10 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | module mde.input.exception; |
|---|
| 2 | 17 | |
|---|
| r15 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /** |
|---|
| 2 | 17 | * This module contains the interface to the input system; it should be the only module of the |
|---|
| r10 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /** Opens SDL joysticks ready for use. |
|---|
| 2 | 17 | * May be extended later to include other input devices and remap devices as per config. |
|---|
| r16 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /** Modular D Engine |
|---|
| 2 | 17 | * |
|---|
| r14 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /** This module contains the mergetag DataSet class, used for all reading and writing operations. |
|---|
| 2 | 17 | */ |
|---|
| r14 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /** This module contains the DefaultData class, and some notes possibly useful for implementing |
|---|
| 2 | 17 | * other types of DataSection. |
|---|
| r15 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /************************************************************************************************** |
|---|
| 2 | 17 | * This module contains all reading functions, for both binary and text MergeTag files. |
|---|
| r15 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /************************************************************************************************** |
|---|
| 2 | 17 | * This module contains all writing functions, for both binary and text MergeTag files. |
|---|
| r15 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /******************************************* |
|---|
| 2 | 17 | * Contains exception classes for MergeTag. |
|---|
| r16 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /** This module contains the interface IDataSection used by DataSet. |
|---|
| 2 | 17 | * |
|---|
| r15 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /** |
|---|
| 2 | 17 | * Interface for readers. |
|---|
| r14 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /** |
|---|
| 2 | 17 | * Interface for writers. |
|---|
| r14 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /// Contains functions/data structures used internally by mergetag. |
|---|
| 2 | 17 | module mde.mergetag.internal; |
|---|
| r14 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /// This module provides a unittest for mergetag. |
|---|
| 2 | 17 | module mde.mergetag.mtunittest; |
|---|
| r16 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /** This module handles stored options, currently all except input maps. |
|---|
| 2 | 17 | * |
|---|
| r15 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /** Resource paths module. |
|---|
| 2 | 17 | * |
|---|
| r14 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /** Scheduler |
|---|
| 2 | 17 | */ |
|---|
| r15 |
r17 |
|
| | 1 | /* LICENSE BLOCK |
|---|
| | 2 | Part of mde: a Modular D game-oriented Engine |
|---|
| | 3 | Copyright © 2007-2008 Diggory Hardy |
|---|
| | 4 | |
|---|
| | 5 | This program is free software; you can redistribute it and/or modify it under the terms of |
|---|
| | 6 | the GNU General Public License, version 2, as published by the Free Software Foundation. |
|---|
| | 7 | |
|---|
| | 8 | This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
|---|
| | 9 | without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
|---|
| | 10 | See the GNU General Public License for more details. |
|---|
| | 11 | |
|---|
| | 12 | You should have received a copy of the GNU General Public License along |
|---|
| | 13 | with this program; if not, write to the Free Software Foundation, Inc., |
|---|
| | 14 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ |
|---|
| | 15 | |
|---|
| 1 | 16 | /** A module to run all mde unittests and potentially to perform other tests. |
|---|
| 2 | 17 | */ |
|---|