Renamed .ent to .rem - Reflex Entity Mapping file to avoid confusion

This commit is contained in:
surkeh 2017-08-28 18:24:00 -07:00
parent fc711448d8
commit f88a4710f0
6 changed files with 8 additions and 8 deletions

View File

@ -17,10 +17,10 @@ Converts Reflex maps (Version 8 and below) into id Tech map files. A pre-compil
####Convert map geometry and entities:
```bash
./reflex2q3 [input].map [output].map -e [entity file].ent
./reflex2q3 [input].map [output].map -e [entity file].rem
```
We've provided Quake 3 and Xonotic entity conversion files (r2q3.ent and r2xonotic.ent). To create entity files for other games built on the [id Tech 3](https://en.wikipedia.org/wiki/Id_Tech_3) engine or previous [id Tech](https://en.wikipedia.org/wiki/Id_Tech) engines, refer to our [Reflex entity documentation](https://git.teknik.io/scuti/reflex2q3/src/f2b0341da38b82ad4f0a0cf258b0f6e6d8335fda/docs/doc-entities.txt), our sample .ent files, and relevant documentation for your game.
We've provided Quake 3 and Xonotic entity conversion files (r2q3.rem and r2xonotic.rem). To create entity files for other games built on the [id Tech 3](https://en.wikipedia.org/wiki/Id_Tech_3) engine or previous [id Tech](https://en.wikipedia.org/wiki/Id_Tech) engines, refer to our [Reflex entity documentation](https://git.teknik.io/scuti/reflex2q3/src/f2b0341da38b82ad4f0a0cf258b0f6e6d8335fda/docs/doc-entities.txt), our sample .rem files, and relevant documentation for your game.
####List all command line arguments:
```bash

View File

@ -57,8 +57,8 @@ class EntityConverter
* Method: Constructor
* Description: Creates entity format mapping
* CAUTION: Requires extractMapInfo method to be called after this
* Requires: .ent filename for mapping entities from reflex format to xonotic format
* THROWS: runtime_error on .ent format error
* Requires: Reflex Entity Mapping filename
* THROWS: runtime_error on Reflex Entity Mapping file format error
* THROWS: std::ios::failure on IO failure
*--------------------------------------------------------------------------------------
*/
@ -69,7 +69,7 @@ class EntityConverter
* Description: Creates entity format mapping and pre-scans for map info
* Parameter: string entityMapFile, file maps source to target entity formats
* Parameter: string reflexMapFile, for pre-scan
* THROWS: runtime_error on .ent format error
* THROWS: runtime_error on Reflex Entity Mapping file format error
* THROWS: std::ios::failure on IO failure
*--------------------------------------------------------------------------------------
*/

View File

View File

@ -684,7 +684,7 @@ EntityConverter::mapEntities (const std::string &mapFile)
fin.open (mapFile);
if (fin.is_open()) {
//Read .ent contents into pickup map
//Read Reflex Entity Mapping file contents into pickup map
std::string line;
while (std::getline (fin, line)) {
std::istringstream iss (line);
@ -698,7 +698,7 @@ EntityConverter::mapEntities (const std::string &mapFile)
}
}
else {
throw std::ios::failure ("Error: EntityConverter failed to open .ent file");
throw std::ios::failure ("Error: EntityConverter failed to open Reflex Entity Mapping file");
}
fin.close();

View File

@ -21,7 +21,7 @@
#include "EntityConverter.hpp"
#define ENTITY_FILENAME "r2xonotic.ent"
#define ENTITY_FILENAME "r2xonotic.rem"
#define DELTA 0.00001