Ivan Savenko
|
3847e3e2b4
|
Better comments, remove dead code
|
2024-05-28 13:43:16 +00:00 |
|
Ivan Savenko
|
ef29c47408
|
Added GUARDED state to distinguish from blocked visitable
|
2024-05-23 19:01:30 +00:00 |
|
Alexander Wilms
|
2ea78a5883
|
Fix float comparisons
Replace this "==" with a more tolerant comparison operation.
Floating point numbers should not be tested for equality cpp:S1244
|
2024-02-14 23:30:29 +01:00 |
|
Alexander Wilms
|
522cb571b3
|
Remove redundant virtual specifiers
`grep -nr virtual | grep -v googletest | grep override > ../redundant_virtual.txt`
```python
import os
with open("../redundant_virtual.txt") as f:
for line in f:
print()
line: str = line.strip()
print(line)
tmp = line.split(":")
file = tmp[0].strip()
code = tmp[-1].strip()
print(file)
print(code)
new_code = code.replace("virtual ", "", 1)
# https://superuser.com/a/802490/578501
command = f"export FIND='{code}' && export REPLACE='{new_code}' && ruby -p -i -e \"gsub(ENV['FIND'], ENV['REPLACE'])\" {file}"
os.system(command)
```
|
2024-02-10 20:46:13 +01:00 |
|
Ivan Savenko
|
885dce0c27
|
Replace static_cast's of Identifiers with getNum call
|
2023-11-03 16:03:29 +02:00 |
|
Ivan Savenko
|
c8e6a7cd27
|
Fixed most common cases of movement actions
|
2023-09-16 20:07:26 +03:00 |
|
Ivan Savenko
|
62cd8b12d4
|
Converted several namespace enums to enum class
|
2023-08-25 13:38:02 +03:00 |
|
Ivan Savenko
|
03c3797945
|
Fixed pathfinding with free ship boarding (Admiral's Hat)
|
2023-06-25 17:42:36 +03:00 |
|
Ivan Savenko
|
ebc7a82c2e
|
Converted pathfinder enum's to enum class
|
2023-06-21 15:38:57 +03:00 |
|
Ivan Savenko
|
bd4d2788ed
|
Split pathfinder into multiple smaller files
|
2023-06-21 13:46:09 +03:00 |
|