Jonathan G Rennison
|
838b166726
|
Merge branch 'master' into jgrpp
# Conflicts:
# src/cheat_gui.cpp
# src/command.cpp
# src/command_func.h
# src/company_base.h
# src/debug.cpp
# src/debug.h
# src/economy.cpp
# src/engine_type.h
# src/graph_gui.cpp
# src/misc_cmd.cpp
# src/misc_cmd.h
# src/network/core/os_abstraction.cpp
# src/openttd.cpp
# src/saveload/saveload.cpp
# src/saveload/saveload.h
# src/settings_type.h
# src/ship_cmd.cpp
# src/stdafx.h
# src/tests/bitmath_func.cpp
# src/town_cmd.cpp
# src/town_gui.cpp
|
4 months ago |
Loïc Guilloux
|
4e26e33805
|
Change: Improve ScriptSettings windows (#11958)
|
4 months ago |
Patric Stout
|
e28edf6945
|
Remove: [Script] CONFIG_RANDOM from AddSetting flags (#11942)
It had a very weird interaction, and was only ever used by a single
AI.
|
4 months ago |
Jonathan G Rennison
|
c8817d7f4e
|
Merge branch 'master' into jgrpp
# Conflicts:
# os/macosx/notarize.sh
# src/3rdparty/CMakeLists.txt
# src/3rdparty/squirrel/squirrel/sqcompiler.cpp
# src/3rdparty/squirrel/squirrel/sqdebug.cpp
# src/3rdparty/squirrel/squirrel/sqvm.cpp
# src/console_cmds.cpp
# src/core/span_type.hpp
# src/crashlog.cpp
# src/currency.h
# src/date_gui.cpp
# src/driver.cpp
# src/fios.cpp
# src/genworld_gui.cpp
# src/hotkeys.cpp
# src/misc_gui.cpp
# src/music/os2_m.cpp
# src/network/core/os_abstraction.h
# src/network/network_server.cpp
# src/newgrf.cpp
# src/newgrf_config.h
# src/newgrf_text.cpp
# src/openttd.cpp
# src/os/macosx/font_osx.cpp
# src/os/macosx/misc_osx.cpp
# src/os/os2/CMakeLists.txt
# src/os/os2/os2.cpp
# src/os/unix/CMakeLists.txt
# src/os/windows/font_win32.cpp
# src/os/windows/win32_main.cpp
# src/saveload/saveload.cpp
# src/script/api/script_text.cpp
# src/settings.cpp
# src/settings_gui.cpp
# src/stdafx.h
# src/strings.cpp
# src/timetable_gui.cpp
# src/town_gui.cpp
# src/train_cmd.cpp
# src/video/dedicated_v.cpp
# src/video/video_driver.cpp
# src/video/win32_v.cpp
# src/viewport.cpp
# src/waypoint_gui.cpp
# src/widgets/dropdown_type.h
# src/window.cpp
# src/window_gui.h
|
9 months ago |
Jonathan G Rennison
|
508f871c5f
|
Use core/format.hpp for fmt includes
|
11 months ago |
Rubidium
|
2ae7367024
|
Codechange: replace StrMakeValidInPlace with StrValid
|
12 months ago |
Rubidium
|
62fda0f505
|
Codechange: remove manual allocation/free for SQ_instance
|
1 year ago |
Rubidium
|
ab51175db2
|
Codechange: use std::string for script config
|
1 year ago |
Rubidium
|
48825e1a8e
|
Codechange: rewrite script string-to-settings conversion to C++
|
1 year ago |
Rubidium
|
e035705239
|
Codechange: introduce and use std::string variant of sq_throwerror
|
1 year ago |
Rubidium
|
1ae7eb1594
|
Codechange: use std::map over SmallMap and std::string of stredup(char*)
|
1 year ago |
Rubidium
|
19ec4e8beb
|
Codechange: replace ClampToI32/U16 with ClampTo<int32_t/uint16_t>
|
1 year ago |
SamuXarick
|
8351b97f52
|
Add: [Script] Labels for negative values of a setting
|
1 year ago |
SamuXarick
|
7b1fd3e37f
|
Fix #10059: [Script] Clamp config item values to int32
Also prevent random_deviation to be below 0.
|
1 year ago |
Patric Stout
|
7713c3e3cc
|
Codechange: move casting a "const char *" to "char *" to the caller
It is not nice to have your definition say you won't change a value
while in fact the whole reason for your existance is to change it.
|
3 years ago |
Patric Stout
|
ca9a7df752
|
Codechange: rename str_validate to StrMakeValid(InPlace) (#9304)
This to be more explicit the function changes the value, and not
returns yes/no.
|
3 years ago |
Michael Lutz
|
b408fe77f7
|
Codechange: Use std::string in file scanners.
|
3 years ago |
Patric Stout
|
f66baa444f
|
Codechange: use C++11 constructs for for-each loops (#8432)
|
3 years ago |
S. D. Cloudt
|
13cc8a0cee
|
Cleanup: Removed SVN headers
|
5 years ago |
Henry Wilson
|
7c8e7c6b6e
|
Codechange: Use null pointer literal instead of the NULL macro
|
5 years ago |
Henry Wilson
|
ab711e6942
|
Codechange: Replaced SmallVector::[Begin|End]() with std alternatives
|
5 years ago |
rubidium
|
7c4e9dd71d
|
(svn r26771) -Cleanup: remove OTTD2SQ and SQ2OTTD
|
10 years ago |
rubidium
|
9ed12b0f07
|
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
|
10 years ago |
rubidium
|
5b82822c12
|
(svn r26486) -Codechange: replace a number of snprintfs with seprintf
|
10 years ago |
rubidium
|
0463dbdc9e
|
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
|
10 years ago |
rubidium
|
4c443bce5c
|
(svn r25555) -Fix [FS#5632]: [Script] Texts from scripts were not validated before they were shown, causing an assertion to trigger
|
11 years ago |
frosch
|
812ae4140a
|
(svn r24789) -Add: Separate setting to control the default settings of newly added scripts and random AIs.
|
12 years ago |
frosch
|
a499435351
|
(svn r24786) -Codechange: Add SettingsProfile enum for difficulty profiles and highscore tables.
|
12 years ago |
frosch
|
be0b94400d
|
(svn r24317) -Feature: Add dropdowns to AI configurations, if all values have labels.
|
12 years ago |
truebrain
|
4505edbd47
|
(svn r23365) -Codechange: move constants to a single place, to avoid duplication (and in time, different values)
|
13 years ago |
truebrain
|
34d7f01ccc
|
(svn r23364) -Codechange: refactor AIConfig, moving it mostly to Scriptconfig
|
13 years ago |
truebrain
|
e37149a1de
|
(svn r23362) -Codechange: refactor AIScanner, splitting it in AIScannerInfo and AIScannerLibrary
|
13 years ago |
truebrain
|
b927ae5be9
|
(svn r23263) -Documentation: stop naming AI in comments in script/ files; it makes no sense
|
13 years ago |
rubidium
|
7fd1e1df81
|
(svn r23198) -Codechange: introduce a free that takes const pointers so we don't need to cast to void/non-const before being able to free
|
13 years ago |
rubidium
|
62777dbd84
|
(svn r22905) -Fix [FS#4753] (r22836): the name of the tar was removed from the AI filenames, so record it differently. Also removes some of the hackery to get the tar's filename
|
13 years ago |
rubidium
|
090d6fb8b7
|
(svn r21311) -Fix [FS#4260]: AIs in an infinite loop in e.g. autosave, but also getting settings and such from info.nut, would not be interrupted after a while causing OpenTTD to seem to not respond
|
14 years ago |
rubidium
|
30f2afac9b
|
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
|
14 years ago |
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
yexo
|
a91ff2d5e8
|
(svn r16093) -Feature [FS#2808]: Add GetURL() as possible function to info.nut. If AIs implement it, that url is shown when the AI crashes and also in the AI selection window.
|
15 years ago |
yexo
|
ce4744e1d6
|
(svn r15736) -Codechange: Split AIScanner/AIFileInfo to the more generic classes ScriptScanner/ScriptFileInfo.
|
15 years ago |