Comments (10)
matthijs wrote:
Can somebody check this on Windows and MacOS, since I don't have access to that.
Looks like a well written (and documented :-D) patch. It will probably be committed after our next release, since we will only perform the most critical fixes before the release.
This comment was imported from FlySpray: https://bugs.openttd.org/task/34#comment64
from openttd.
egladil wrote:
It seems to be working on OS X. It gave some warnings about missing function declarations, so I made cocoa_v.m include textmessagebox.h which solved the problem.
Attachments
- fps2.diff (15.90 KiB)
This comment was imported from FlySpray: https://bugs.openttd.org/task/34#comment65
from openttd.
webfreakz.nl wrote:
It doesn't compile on WinXP Pro + MSVC6, see the atteched compile-log.
Attachments
- Output - Build3.txt (6.63 KiB)
This comment was imported from FlySpray: https://bugs.openttd.org/task/34#comment77
from openttd.
oteek wrote:
fps3.diff
---------
against r3396
included textmessagebox.h in cocoa_v.m (thanks egladil)
included textmessagebox.h in win32_v.c
added few CDECLs to textmessagebox.c
updated openttd.vcproj
updated openttd.dsp
fixed typoplease test it ronald, i hope that it compiles now.
Attachments
- fps3.diff (40.91 KiB)
This comment was imported from FlySpray: https://bugs.openttd.org/task/34#comment78
from openttd.
webfreakz.nl wrote:
Still doesn't compile.
Attachments
- Output - Build4.txt (7.67 KiB)
This comment was imported from FlySpray: https://bugs.openttd.org/task/34#comment79
from openttd.
oteek wrote:
this looks weird:
C:$gamesbllaattextmessagebox.c(1122) : error C2084: function 'void __fastcall __fastcall ChatDailyLoop(void )' already has a body
textmessagebox.c has only 608 lines, so you might have applied patch twice (or not reverted fps2.diff), try using clean svn version + fps3.diff, textmessagebox.c can't be that long.
This comment was imported from FlySpray: https://bugs.openttd.org/task/34#comment80
from openttd.
webfreakz.nl wrote:
Well I did you what you said above but I thought it would not work as I reverted the patch fps(2).diff and did for both a compile, but didn't work (it showed though as green marker on the directory name which means it's a clean SVN source). But after deleting the whole directory and a new SVN-checkout + applying the patch it said:
openttd.exe - 0 error(s), 1 warning(s)
This comment was imported from FlySpray: https://bugs.openttd.org/task/34#comment81
from openttd.
oteek wrote:
i believe that the warning was only this (from Build4.txt):
langswedish.txt:2703: Warning: STR_REPLACE_VEHICLES_WHITE: Param idx # 0 '' doesn't match with template command 'STRING'
which has nothing to do with this patch, so it compiles after all :)
i hope that it works too. (one part (fps counter - really useful only with fast forward) is enabled by _DEBUG and has to be enabled by 'display_info 1' in console, second (network chat) is enabled always)
This comment was imported from FlySpray: https://bugs.openttd.org/task/34#comment82
from openttd.
TrueBrain wrote:
Can someone clean up this patch and give a patch that ONLY does the fps? (so without the moving and stuff)
This comment was imported from FlySpray: https://bugs.openttd.org/task/34#comment1440
from openttd.
Rubidium closed the ticket.
Reason for closing: Duplicate
Of #1065.
This comment was imported from FlySpray: https://bugs.openttd.org/task/34
from openttd.
Related Issues (20)
- [Bug]: Using disconnect button in main menu opens multiplayer lobby HOT 2
- [Bug]: The description for "minutes per year" could improved HOT 3
- [Bug]: GSText broken by 14.0 (Invalid parameter) HOT 2
- [Bug]: Vehicle::motion_counter for articulated train engine parts no longer updated due to #12229
- [Bug]: Desync errors since 14.0 HOT 11
- [Bug]: Station/industry nearby industry lists can become incorrect after BuildOilRig is called
- [Bug]: Timer period modifications may violate invariants of TimerManager::base_timer_sorter std::set sorting
- [Bug]: ``screenshot minimap`` is stored incorrect place in dedicated server HOT 2
- [Crash]: Assertion failed at line 114 of D:\\a\\OpenTTD\\OpenTTD\\src\\core\\pool_type.hpp: index < this->first_unused HOT 4
- [Bug]: Passengers are not accepted by all industrial factories HOT 7
- [Bug] Avatar skin color should be a dropdown menu instead of racial selectors HOT 8
- [Crash]: "id": 3221225477, "reason": "EXCEPTION_ACCESS_VIOLATION" - OpenTTD_crash20240423150954 HOT 1
- [Bug]: Unbunch breaks CargoDist HOT 1
- [Bug]: Possible race condition in WinHTTP backend
- [Bug]: Updates on admin port are unreliable
- [Bug]: GSText maximum params HOT 1
- [Crash]: Unhandled exception in ottd:game thread: invalid stoul argument HOT 2
- [Bug]: No descriptive error message when building incorrect station layout using drag-and-drop
- Help for translating Basque (i18n issues) HOT 13
- [Bug]: No descriptive error when hostile takeover fails due to vehicle limit HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openttd.