------------------------------------------------------------------------ r6215 | bjarni | 2006-08-29 17:41:13 +0000 (Tue, 29 Aug 2006) | 3 lines -Codechange: [vehicle list windows] unified Player(vehicle)WndProc into PlayerVehWndProc Those 4 unified functions were really much alike, so there was no reason to have so much dublicated code ------------------------------------------------------------------------ r6213 | bjarni | 2006-08-29 14:45:39 +0000 (Tue, 29 Aug 2006) | 2 lines -Fix: Calatan town names was only prefix OR the rest of the string, never both (nars) ------------------------------------------------------------------------ r6212 | tron | 2006-08-29 06:50:47 +0000 (Tue, 29 Aug 2006) | 1 line Remove dependency on window.h from station.h ------------------------------------------------------------------------ r6211 | tron | 2006-08-29 06:43:22 +0000 (Tue, 29 Aug 2006) | 1 line Commit file forgotten in r6210 ------------------------------------------------------------------------ r6210 | tron | 2006-08-29 06:39:00 +0000 (Tue, 29 Aug 2006) | 1 line Remove FR_NOBORDER, because it is exclusivly used in conjunction with FR_TRANSPARENT ------------------------------------------------------------------------ r6209 | tron | 2006-08-29 06:07:57 +0000 (Tue, 29 Aug 2006) | 1 line Move DrawFrameRect() out of gfx.[ch], because it uses data (_color_list) which the renderer shouldn't have know about ------------------------------------------------------------------------ r6208 | tron | 2006-08-29 06:03:26 +0000 (Tue, 29 Aug 2006) | 1 line Reduce the number of induction variables for clarity ------------------------------------------------------------------------ r6205 | belugas | 2006-08-29 00:17:47 +0000 (Tue, 29 Aug 2006) | 3 lines -CodeChange : use a switch case instead of a cascade of if -CodeChange : rename var Engine *e to Engine *eng, since we have WindowEvent *e in same fnct -CodeChange : fix a broken tabulation on a switch case. SOme breathing spaces too ------------------------------------------------------------------------ r6204 | rubidium | 2006-08-28 18:53:03 +0000 (Mon, 28 Aug 2006) | 2 lines -Cleanup: replace non-indentation with spaces; like '}else {' -> '} else {', tabs between code and comment, etc. ------------------------------------------------------------------------ r6197 | miham | 2006-08-28 12:57:33 +0000 (Mon, 28 Aug 2006) | 4 lines WebTranslator2 update to 2006-08-28 14:57:10 american - 10 fixed, 12 changed by WhiteRabbit (22) portuguese - 4 changed by izhirahider (4) ------------------------------------------------------------------------ r6195 | rubidium | 2006-08-28 10:14:37 +0000 (Mon, 28 Aug 2006) | 2 lines -Codechange: do not use '//' in '/* ... */' style comments and '/*' or '*/' in '//' style comments. ------------------------------------------------------------------------ r6186 | rubidium | 2006-08-28 09:13:33 +0000 (Mon, 28 Aug 2006) | 3 lines -Fix [FS#309]: add an override system to the dynamically determined size of steps for numeric patch settings in the 'Configure patches' GUI. The size of these steps normally about (max - min) / 50, which results in steps of 100 000 years for the start year, end year, network restart year and the year of introduction of coloured newspapers. ------------------------------------------------------------------------ r6185 | miham | 2006-08-28 08:44:13 +0000 (Mon, 28 Aug 2006) | 5 lines WebTranslator2 update to 2006-08-28 10:43:48 danish - 36 fixed, 12 changed by trenskow (48) french - 2 changed by glx (2) italian - 36 fixed, 5 changed by sidew (41) ------------------------------------------------------------------------ r6184 | tron | 2006-08-28 07:33:51 +0000 (Mon, 28 Aug 2006) | 1 line Remove the unused (because it was NULL in all callers) second parameter of FillDrawPixelInfo() and simplify some expressions ------------------------------------------------------------------------ r6183 | tron | 2006-08-28 06:21:48 +0000 (Mon, 28 Aug 2006) | 1 line Move GetDrawStringPlayerColor() out of gfx.[ch] ------------------------------------------------------------------------ r6182 | bjarni | 2006-08-28 06:18:35 +0000 (Mon, 28 Aug 2006) | 2 lines -Code cleanup: replaced one (1 << 8) with SHARE_FLAG (missed in r6167) ------------------------------------------------------------------------ r6181 | bjarni | 2006-08-28 06:13:16 +0000 (Mon, 28 Aug 2006) | 2 lines -Fix r6161: The list of vehicles using a certain station got a bit of display code mixed up with the list of vehicles with shared orders (nycom) ------------------------------------------------------------------------ r6180 | tron | 2006-08-28 06:05:04 +0000 (Mon, 28 Aug 2006) | 1 line Use a switch instead of function pointers to choose the blitter ------------------------------------------------------------------------ r6179 | glx | 2006-08-27 22:08:40 +0000 (Sun, 27 Aug 2006) | 1 line - Silence the old npf warnings ------------------------------------------------------------------------ r6178 | truelight | 2006-08-27 21:20:29 +0000 (Sun, 27 Aug 2006) | 3 lines -Fix r5886: only setting ->money64 isn't enough, as some routines still use ->player_money. Because of this, when a player went bankrupt, still not all stuff was removed. ------------------------------------------------------------------------ r6177 | miham | 2006-08-27 20:30:10 +0000 (Sun, 27 Aug 2006) | 6 lines WebTranslator2 update to 2006-08-27 22:29:43 czech - 70 fixed, 12 changed by Hadez (82) german - 4 changed by Neonox (4) italian - 56 fixed, 8 changed by sidew (64) portuguese - 2 fixed by izhirahider (2) ------------------------------------------------------------------------ r6176 | truelight | 2006-08-27 15:26:58 +0000 (Sun, 27 Aug 2006) | 3 lines -Fix r6052: I assumed an typedefd enum would be an uint8, which is a really stupid thing to assume. This caused nasty endian bugs. Thank you SO MUCH Osai for all your time in debugging this!! And tnx Rubidium for spotting :) ------------------------------------------------------------------------ r6175 | miham | 2006-08-27 15:21:10 +0000 (Sun, 27 Aug 2006) | 6 lines WebTranslator2 update to 2006-08-27 17:18:26 french - 10 fixed, 12 changed by glx (22) german - 1 fixed by Neonox (1) polish - 10 fixed, 12 changed by meush (22) portuguese - 11 fixed, 8 changed by izhirahider (19) ------------------------------------------------------------------------ r6174 | KUDr | 2006-08-27 14:28:23 +0000 (Sun, 27 Aug 2006) | 1 line -Cleanup: [YAPF] some SDT_CONDVARs replaced by SDT_VARs since they are not saved in savegame (Darkvater) ------------------------------------------------------------------------ r6173 | miham | 2006-08-27 12:09:06 +0000 (Sun, 27 Aug 2006) | 8 lines WebTranslator2 update to 2006-08-27 14:08:35 danish - 35 fixed by trenskow (35) german - 9 fixed, 8 changed by Neonox (17) hungarian - 10 fixed, 12 changed by miham (22) portuguese - 9 fixed by izhirahider (9) slovak - 2 fixed by lengyel (2) turkish - 1 fixed by jnmbk (1) ------------------------------------------------------------------------ r6170 | Darkvater | 2006-08-27 10:49:43 +0000 (Sun, 27 Aug 2006) | 1 line -Feature: save max_companies/clients/spectators in the config file. ------------------------------------------------------------------------ r6169 | Darkvater | 2006-08-27 10:04:33 +0000 (Sun, 27 Aug 2006) | 2 lines -Codechange: Use GetString() instead of GetStringWithArgs() which should be integral to strings.c ------------------------------------------------------------------------ r6168 | bjarni | 2006-08-27 10:04:02 +0000 (Sun, 27 Aug 2006) | 1 line -Code cleanup r6161: removed a newline and added a tab. Thanks TrueLight ------------------------------------------------------------------------ r6167 | bjarni | 2006-08-27 09:55:54 +0000 (Sun, 27 Aug 2006) | 2 lines -Code cleanup r6161: replaced some uint16 with OrderID and (1 << 8) with SHARE_FLAG ------------------------------------------------------------------------ r6166 | KUDr | 2006-08-27 09:50:43 +0000 (Sun, 27 Aug 2006) | 1 line -Fix: [YAPF] fixes one very improbable assert when adding startup node that already exists in the open-list (thanks Panzerfather) ------------------------------------------------------------------------ r6165 | bjarni | 2006-08-27 09:28:52 +0000 (Sun, 27 Aug 2006) | 7 lines -Feature: control click Goto Depot will now make the vehicle service at the depot and leave right away. To tell the difference the status of stopping vehicles will be in red, while servicing vehicles will be green. -Codechange: remove some dead code in CmdSendAircraftToHangar() since it is conflicting with new functionality. Now p2 means the same for all types ------------------------------------------------------------------------ r6164 | KUDr | 2006-08-27 07:23:46 +0000 (Sun, 27 Aug 2006) | 1 line -Fix [YAPF]: Road vehicles preferring bends - added yapf.road_curve_penalty setting with default value 100 (=YAPF_TILE_LENGTH) that is saved only in MP games (mart3p) ------------------------------------------------------------------------ r6163 | KUDr | 2006-08-27 07:04:14 +0000 (Sun, 27 Aug 2006) | 1 line -Codechange: distance rounded up (correction of r6162) ------------------------------------------------------------------------ r6162 | KUDr | 2006-08-27 06:52:25 +0000 (Sun, 27 Aug 2006) | 1 line -Fix: Multistop problem caused by incorrect distance returned by YapfRoadVehDistanceToTile() (by mart3p) ------------------------------------------------------------------------ r6161 | bjarni | 2006-08-26 22:28:40 +0000 (Sat, 26 Aug 2006) | 6 lines -Feature: List of vehicles with the same shared orders the list is available in the orders window and looks like the list buttons from the station windows (small vehicle) The button is disabled if the vehicle do not have any shared orders or it got shared orders, but an empty order list based on a patch by nycom, thought it ended up getting heavily modified Thanks to TrueLight for proofreading and suggestions ------------------------------------------------------------------------ r6160 | KUDr | 2006-08-26 22:24:32 +0000 (Sat, 26 Aug 2006) | 2 lines -Fix [ 1519167 ] Bus trying to service in depot of other company (mart3p) thanks Darkvater for hotfix (r5897) ------------------------------------------------------------------------ r6159 | Darkvater | 2006-08-26 21:54:04 +0000 (Sat, 26 Aug 2006) | 1 line -Fix: FindClosestTrainDepot hardly ever found a depot with NPF off due to absence of distance-normalization (Rojer) ------------------------------------------------------------------------ r6158 | Darkvater | 2006-08-26 20:54:30 +0000 (Sat, 26 Aug 2006) | 1 line -Revert r6139 as that breaks strings with cases. Thanks michi_cc ------------------------------------------------------------------------ r6157 | truelight | 2006-08-26 20:09:25 +0000 (Sat, 26 Aug 2006) | 4 lines -Codechange: DeleteVehicle removes a vehicle from the pool -Codechange: DestroyVehicle is called by DeleteVehicle to remove all things where a vehicle depends on. Last 2 changes to prepare for new pool system. Not pretty now, will be soon. ------------------------------------------------------------------------ r6156 | truelight | 2006-08-26 19:51:49 +0000 (Sat, 26 Aug 2006) | 4 lines -Codechange: DeleteIndustry removes an industry from the pool -Codechange: DestroyIndustry is called by DeleteIndustry to remove all things where a industry depends on. Last 2 changes to prepare for new pool system. Not pretty now, will be soon. ------------------------------------------------------------------------ r6155 | truelight | 2006-08-26 19:47:13 +0000 (Sat, 26 Aug 2006) | 3 lines -Codechange: split Destroy routine from SpriteGroupPoolCleanBlock Last change is to prepare for new pool system. ------------------------------------------------------------------------ r6154 | truelight | 2006-08-26 19:40:40 +0000 (Sat, 26 Aug 2006) | 2 lines -Cleanup: ordered the IDs that have to do with pools from the others ------------------------------------------------------------------------ r6153 | truelight | 2006-08-26 19:29:35 +0000 (Sat, 26 Aug 2006) | 4 lines -Codechange: DeleteSign removes a sign from the pool -Codechange: DestroySign is called by DeleteSign to remove all things where a sign depends on. Last 2 changes to prepare for new pool system. Not pretty now, will be soon. ------------------------------------------------------------------------ r6152 | truelight | 2006-08-26 19:18:50 +0000 (Sat, 26 Aug 2006) | 2 lines -Codechange: renamed GetNumRoadStops to GetNumRoadStopsInStation as it reflects its function more ------------------------------------------------------------------------ r6151 | truelight | 2006-08-26 19:14:02 +0000 (Sat, 26 Aug 2006) | 4 lines -Codechange: DeleteStation/DeleteRoadStop removes a station/RoadStop from the pool -Codechange: DestroyStation/DestroyRoadStop is called by DeleteStation/DeleteRoadStop to remove all things where a station/RoadStop depends on. Last 2 changes to prepare for new pool system. Not pretty now, will be soon. ------------------------------------------------------------------------ r6150 | truelight | 2006-08-26 18:27:15 +0000 (Sat, 26 Aug 2006) | 2 lines -Codechange: introduced and used RoadStopID where needed ------------------------------------------------------------------------ r6149 | truelight | 2006-08-26 18:05:05 +0000 (Sat, 26 Aug 2006) | 4 lines -Codechange: DeleteTown removes a town from the pool -Codechange: DestroyTown is called by DeleteTown to remove all things where a town depends on. Last 2 changes to prepare for new pool system. Not pretty now, will be soon. ------------------------------------------------------------------------ r6148 | truelight | 2006-08-26 17:34:48 +0000 (Sat, 26 Aug 2006) | 2 lines -Fix r6146: mostly it is useful to declare a variable in the function you use it (tnx Tron) ------------------------------------------------------------------------ r6147 | truelight | 2006-08-26 17:31:57 +0000 (Sat, 26 Aug 2006) | 2 lines -Fix: I don't know how to write Destination :( ------------------------------------------------------------------------ r6146 | truelight | 2006-08-26 17:31:47 +0000 (Sat, 26 Aug 2006) | 2 lines -Fix: MSVC doesn't know how to cast to an union.. so fix it via an indirect (and btw the old) way ------------------------------------------------------------------------ r6145 | truelight | 2006-08-26 17:16:51 +0000 (Sat, 26 Aug 2006) | 2 lines -Codechange: added OrderID to indicate Order indexes out of the pool ------------------------------------------------------------------------ r6144 | truelight | 2006-08-26 17:12:24 +0000 (Sat, 26 Aug 2006) | 4 lines -Codechange: renamed OrderID to VehicleOrderID, because it had nothing to do with the Order-pool, but with the place of the order within the vehicle-order (hence its name) (part of FS#13, blathijs) ------------------------------------------------------------------------ r6143 | truelight | 2006-08-26 16:46:32 +0000 (Sat, 26 Aug 2006) | 4 lines -Codechange: DeleteWaypoint removes a waypoint from the pool -Codechange: DestroyWaypoint is called by DeleteWaypoint to remove all things where a waypoint depends on. Last 2 changes to prepare for new pool system. Not pretty now, will be soon. ------------------------------------------------------------------------ r6142 | truelight | 2006-08-26 16:34:03 +0000 (Sat, 26 Aug 2006) | 5 lines -Codechange: added WaypointID (sorry DV, couldn't splits it anymore) -Codechange: introduced DestinationID, which is in fact an union of several types Used in Order struct, so no longer StationID is abused for all targets. Hangars are a big exception, as they use a station-id with GOTO_DEPOT (go figure) ------------------------------------------------------------------------ r6141 | truelight | 2006-08-26 14:44:55 +0000 (Sat, 26 Aug 2006) | 6 lines -Codechange: introduced DepotID and used it as much as possible -Codechange: DeleteDepot removes a depot from the pool -Codechange: DestroyDepot is called by DeleteDepot to remove all things where a depot depends on. Last 2 changes to prepare for new pool system. Not pretty now, will be soon. -Codechange: Removed DoDeleteDepot as it was stupid ------------------------------------------------------------------------ r6140 | Darkvater | 2006-08-26 14:41:16 +0000 (Sat, 26 Aug 2006) | 1 line -Codechange: fix the comment of _shift_pressed. It doesn't react to ALT, but to SHIFT. ------------------------------------------------------------------------ r6139 | Darkvater | 2006-08-26 14:39:05 +0000 (Sat, 26 Aug 2006) | 1 line -Codechange: strings are StringID. This should be changed in strings.h as well, but you would need to include openttd.h and that opens a whole new can of worms. ------------------------------------------------------------------------ r6138 | Darkvater | 2006-08-26 14:36:19 +0000 (Sat, 26 Aug 2006) | 1 line - Remove stdafx.c since we do not use it. ------------------------------------------------------------------------ r6137 | truelight | 2006-08-26 14:22:54 +0000 (Sat, 26 Aug 2006) | 5 lines -Codechange: some very minor cleanups: - Start using DeleteXXX for every pool item, not manually doing it - Use some wrapper to improve logic - Rewrote some pieces to improve logic ------------------------------------------------------------------------ r6136 | truelight | 2006-08-26 11:06:54 +0000 (Sat, 26 Aug 2006) | 3 lines -Fix: _cur_year wasn't converting when reading pre-31 savegames, causing nasty desyncs -Fix: _date, which is a Date, which is int32, was saved as uint32 ------------------------------------------------------------------------ r6135 | miham | 2006-08-26 07:45:18 +0000 (Sat, 26 Aug 2006) | 5 lines WebTranslator2 update to 2006-08-26 09:44:54 dutch - 28 fixed by habell (28) german - 5 changed by Neonox (5) portuguese - 2 fixed by izhirahider (2) ------------------------------------------------------------------------ r6131 | belugas | 2006-08-25 19:18:16 +0000 (Fri, 25 Aug 2006) | 6 lines -Codechange : Complete all missing _ttdpatch_flags entries -Feature : both unifiedmaglevmode are now set. Maglev and monorail are not allowed to run on each other tracks and will not be. Setting those flags will allow grfsets as the Norvegian one to be loaded -Codechange : link the TTDPatch's irregularstations with OTTD's nonuniform_stations -Codechange : Reformat the whole array (thanks Rubidium, it sure looks better now) ------------------------------------------------------------------------ r6122 | tron | 2006-08-25 12:58:52 +0000 (Fri, 25 Aug 2006) | 1 line Fix an off-by-two error in r6108: it should be the index for the last element in the array ------------------------------------------------------------------------ r6117 | truelight | 2006-08-25 12:26:34 +0000 (Fri, 25 Aug 2006) | 4 lines -Fix r6097: on mingw it is normal that both / as \ are accepted as input -Fix r6096: detect for PATHSEP on WIN32 or WIN64, not UNIX (Windows compilers define either one, while other compilers don't define a thing) ------------------------------------------------------------------------ r6114 | miham | 2006-08-25 08:49:32 +0000 (Fri, 25 Aug 2006) | 5 lines WebTranslator2 update to 2006-08-25 10:49:08 american - 84 fixed by WhiteRabbit (84) german - 3 fixed, 2 changed by chu (5) portuguese - 2 fixed by izhirahider (2) ------------------------------------------------------------------------ r6108 | belugas | 2006-08-25 00:41:10 +0000 (Fri, 25 Aug 2006) | 8 lines -NewGRF Feature: Implement currencies replacment via grf file. All properties can now be modified i.e: Introduction date for euro conversion Currency name, decimal separator, currency symbol (before or after amount) and the rate compared to the base currency, the british pound ------------------------------------------------------------------------ r6107 | belugas | 2006-08-25 00:35:11 +0000 (Fri, 25 Aug 2006) | 3 lines -Fix r6089: add STRGEN preprocessor flag and string.c to strgen vs 80 project Carbon copy of Darkvater's r6105 ------------------------------------------------------------------------ r6105 | Darkvater | 2006-08-24 22:52:58 +0000 (Thu, 24 Aug 2006) | 1 line -Fix r6089: add STRGEN preprocessor flag and string.c to strgen project ------------------------------------------------------------------------ r6104 | rubidium | 2006-08-24 22:04:24 +0000 (Thu, 24 Aug 2006) | 3 lines -Fix: make install did not create a directory for the heightmaps -Fix: make install should not copy scenario as it is an empty map ------------------------------------------------------------------------ r6098 | truelight | 2006-08-24 15:39:17 +0000 (Thu, 24 Aug 2006) | 2 lines -Fix 6097: stupid me.... CHARS! Not strings, for strrchr :( ------------------------------------------------------------------------ r6097 | truelight | 2006-08-24 15:36:25 +0000 (Thu, 24 Aug 2006) | 2 lines -Fix: mingw and cygwin get / from Makefile, where \ is expected. Make exeption code for it (tnx for debug Frostregen) ------------------------------------------------------------------------ r6096 | truelight | 2006-08-24 15:21:09 +0000 (Thu, 24 Aug 2006) | 2 lines -Fix: silence a warning on mingw (tnx Frostregen) ------------------------------------------------------------------------ r6089 | truelight | 2006-08-24 12:08:25 +0000 (Thu, 24 Aug 2006) | 2 lines -Backport r6088: added -s (source) and -d (destination) to strgen (Darkvater) ------------------------------------------------------------------------ r6086 | rubidium | 2006-08-24 10:19:59 +0000 (Thu, 24 Aug 2006) | 2 lines -Fix: InteractiveRandom was not seeded properly resulting in the dedicated server always generating the same map. Thanks to the #openttdcoop team for detecting. ------------------------------------------------------------------------ r6084 | truelight | 2006-08-24 10:11:32 +0000 (Thu, 24 Aug 2006) | 2 lines -Fix r6073: if we removed MSVC6 support, then why is unittest.dsp still around... ------------------------------------------------------------------------ r6083 | miham | 2006-08-24 08:19:30 +0000 (Thu, 24 Aug 2006) | 5 lines WebTranslator2 update to 2006-08-24 10:19:06 german - 3 fixed, 1 changed by chu (4) slovak - 82 fixed, 2 changed by lengyel (84) turkish - 3 fixed by jnmbk (3) ------------------------------------------------------------------------ r6082 | belugas | 2006-08-24 01:25:00 +0000 (Thu, 24 Aug 2006) | 3 lines -CodeChange : Remove the unneeded table/sprites.h include in newgrf_cargo.h. Set it in genworld_gui.c instead, as it is really needed ------------------------------------------------------------------------ r6081 | belugas | 2006-08-23 23:23:14 +0000 (Wed, 23 Aug 2006) | 1 line -Fix(6054) : Silenced a MSVC warning on compiling (thanks MaulinMonkey) ------------------------------------------------------------------------ r6079 | glx | 2006-08-23 20:53:53 +0000 (Wed, 23 Aug 2006) | 1 line -Change: size and alignment of random seed input box and randomise button ------------------------------------------------------------------------ r6078 | truelight | 2006-08-23 20:46:54 +0000 (Wed, 23 Aug 2006) | 2 lines -Fix: forgot one uint16 -> Date conversion. Tnx to #openttdcoop team for detecting and Rubidium for finding the cause. ------------------------------------------------------------------------ r6076 | miham | 2006-08-23 19:58:17 +0000 (Wed, 23 Aug 2006) | 4 lines WebTranslator2 update to 2006-08-23 21:57:55 french - 2 changed by glx (2) portuguese - 26 fixed, 3 changed by izhirahider (29) ------------------------------------------------------------------------ r6073 | Darkvater | 2006-08-23 18:22:11 +0000 (Wed, 23 Aug 2006) | 1 line -We have removed MSVC6 support, so remove strgen and langs project files as well. ------------------------------------------------------------------------ r6068 | matthijs | 2006-08-23 15:30:03 +0000 (Wed, 23 Aug 2006) | 2 lines -Codechange: Switch PNG and BMP priority for screenshots. This ensures PNG is used by default when available. (hylje) ------------------------------------------------------------------------ r6064 | miham | 2006-08-23 13:55:56 +0000 (Wed, 23 Aug 2006) | 5 lines WebTranslator2 update to 2006-08-23 15:55:27 french - 5 fixed by belugas (4), glx (1) german - 26 fixed, 5 changed by chu (31) turkish - 23 fixed by jnmbk (23) ------------------------------------------------------------------------ r6059 | glx | 2006-08-22 22:59:42 +0000 (Tue, 22 Aug 2006) | 1 line -Fix(r6049): FOR_ALL was not use to not skip invalid items, so really don't skip invalid items :) ------------------------------------------------------------------------ r6058 | truelight | 2006-08-22 21:17:19 +0000 (Tue, 22 Aug 2006) | 3 lines -Fix: Get(Industry|Town)ArraySize could never return 0 Note: _total_towns and _total_industries willb e removed soon, so this 'hack' is okay, for now ;) ------------------------------------------------------------------------ r6057 | truelight | 2006-08-22 21:14:45 +0000 (Tue, 22 Aug 2006) | 2 lines -Codechange: made a function GetRandomXXX, that _always_ returns a valid XXX, unless there are none to pick from. Then NULL is returned. ------------------------------------------------------------------------ r6056 | truelight | 2006-08-22 20:56:08 +0000 (Tue, 22 Aug 2006) | 2 lines -Codechange: don't use a loop what can be done with a simple wrapper ------------------------------------------------------------------------ r6055 | truelight | 2006-08-22 20:41:26 +0000 (Tue, 22 Aug 2006) | 4 lines -Codechange: added GetXXXArraySize, which returns HighestID + 1 (or, will do that). It isn't the best name, but we couldn't find any better. This unifies the pool-system even more. ------------------------------------------------------------------------ r6054 | tron | 2006-08-22 20:39:18 +0000 (Tue, 22 Aug 2006) | 3 lines Change the sign sorter in a similar way as the other sorters: Remember a list of pointers to signs instead of a list of SignIDs - This removes a layer of indirection Also make the sign list static ------------------------------------------------------------------------ r6053 | truelight | 2006-08-22 18:15:17 +0000 (Tue, 22 Aug 2006) | 5 lines -Codechange: renamed all IsXXXIndex to IsValidXXXID -Codechange: IsValidXXXID now also checks if XXX is really valid, not if the number is within range Both changes again in preperation of the new mem-pool system, which requires this. IsValidXXXID is not a bit less pretty, but that will be cleaned up after the new mem-pool system ------------------------------------------------------------------------